detecting-typosquatting-packages-in-npm-pypi
97 / 100 · Low risk
Fine to try.
Detects typosquatting attacks in npm and PyPI package registries by analyzing package name similarity using Levenshtein distance and other string metrics, examining publish date heuristics to identify recently created packages mimicking established ones, and flagging download count anomalies where suspicious packages have disproportionately low usage compared to their legitimate targets. The analyst queries the PyPI JSON API and npm registry API to gather package metadata for automated comparis…
What this skill can do
Connects to the internet
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'detecting-typosquatting-packages-in-npm-pypi' ] || [ -L ~/.agents/skills/'detecting-typosquatting-packages-in-npm-pypi' ]; then echo 'A skill folder named detecting-typosquatting-packages-in-npm-pypi already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/plurigrid/asi' "$d" && git -C "$d" checkout --quiet '293ce9f76e3abcd5ba18db284688bc0d9ac6691d' -- 'plugins/asi/skills/detecting-typosquatting-packages-in-npm-pypi' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/asi/skills/detecting-typosquatting-packages-in-npm-pypi' ~/.agents/skills/'detecting-typosquatting-packages-in-npm-pypi' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'detecting-typosquatting-packages-in-npm-pypi' ~/.claude/skills/'detecting-typosquatting-packages-in-npm-pypi' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/plurigrid/asi/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | 293ce9f | 97 |