Dependency Typosquat Checker
Scan pasted dependencies for names one edit away from popular npm or PyPI packages — fully offline.
Dependency list
Typosquat report
Paste a dependency list to audit its names
A bundled snapshot of popular npm and PyPI names is checked locally — no registry calls.
Allow-list
0 allow-listedBundled list snapshot
2026-01-15Static name snapshot: no registry query, no telemetry, no upload.
- npm names
- 0
- PyPI names
- 0
Snapshots go stale. An UNKNOWN verdict means “not near this list”, not “safe”.
Export report
Examples
Classic transposition
"reqeusts": "^2.31.0" in package.jsonreqeusts — HIGH — nearest popular: requests (PyPI), distance 1, transpositionSwapping the e and u is a classic fat-finger typo and lands on a lookalike name that is easy to register.
Separator insertion
crossenv in a dependencies blockcrossenv — HIGH — nearest popular: cross-env (npm), distance 1, separatorThe alphabet includes -, _ and . so dropped or added separators are reachable, including the well-known crossenv incident pattern.
PEP 503 normalization
scikit_learn>=1.4 and python_dateutil~=2.8 in requirements.txtBoth rows — OK — matched canonical scikit-learn and python-dateutilPyPI names fold runs of -, _ and . to a hyphen, so canonical spellings are not misreported as unknown.
Scoped package caution
@myorg/express in an import scanUNKNOWN — note: scope @myorg is not verified; inner name matches expressPopularity of the inner name is never used as a safety signal for an unverified scope.
About this tool
Dependency Typosquat Checker looks for package names that sit one or two edits away from a bundled snapshot of popular npm and PyPI packages. Paste a package.json, requirements.txt, a block of JavaScript imports or raw names: versions, scopes, subpaths and lockfile keys are normalized before the names are checked.
The mutation engine covers deletions, insertions (including separator changes such as crossenv → cross-env), QWERTY-adjacent and non-adjacent substitutions, adjacent transpositions, doubled letters and vowel swaps. A bounded two-substitution scan runs when nothing at distance one matches. Each row shows the nearest popular name, the distance and the mutation kind so you can judge whether a flag is a realistic typo or a legitimate lookalike.
Everything happens in the browser against static name lists. No registry is queried and no dependency text is uploaded. HIGH means a one-edit or keyboard-adjacent match, LOW means a quieter distance-two substitution, OK means exact membership in the snapshot, and UNKNOWN means there was no near match — not that a package is safe.
What this tool does not do
- The bundled snapshot is static and dated on the page; a six-month-old snapshot is explicitly marked as potentially stale. Newly popular packages may be missing.
- This is an offline similarity check, not a live registry lookup: it cannot tell whether a flagged name is registered, who owns it or whether a version is malicious.
- Only npm and PyPI name lists are bundled; other ecosystems are out of scope. Scoped npm names are checked as full names, and an unverified scope sharing a popular inner name never receives an OK badge.
- PyPI names are folded under PEP 503 rules; npm names are lowercased but keep their separators. Unicode names are checked as-is with no mutation explosion.
- Distance-two scanning is limited to same-length, two-substitution candidates on names up to 20 characters to keep large pastes fast; more complex multi-edit typos can be missed.
- Scans are capped at 1000 parsed names; the input warns when the cap is reached. Allow-list choices stay in this browser's local storage and are never uploaded.
How to use this tool
Choose the input format
Use package.json for a full manifest or a dependencies block, requirements.txt for pinned Python deps, Imports for JS/TS source, or Raw names for one name per line. Switching tabs re-parses immediately.
Paste the dependencies
Copy the manifest, lockfile section, imports or names into the textarea. Versions, extras, markers and npm/PyPI specifiers are handled; non-registry entries such as file: and git+ URLs are skipped.
Read the report
Rows are sorted by severity. Look for the verdict, the nearest popular package and the mutation label — for example, reqeusts is a transposition of requests.
Open a row
Click or focus a result row to see alternate near matches and any note, such as an unverified npm scope that shares an inner name with a popular package.
Manage false positives and export
Add confirmed-legit names to the allow-list (stored locally) and copy or download the CSV/Markdown report for a review ticket.
Use cases
Pre-merge dependency review
Paste a changed package.json or lockfile section and check new names before approving a pull request.
CI supply-chain gate
Run the parser over dependency names and export a CSV with verdicts for a review ticket or pipeline artifact.
Incident triage
Check whether a suspicious import in a pasted source file is a typo of a widely used package.
Internal naming policy
Use the UNKNOWN and allow-list states to separate private package names from registry-lookalike risk.
Verdicts and input forms
| Badge | Meaning |
|---|---|
| HIGH | Distance-one mutation of a popular name, or a keyboard-adjacent / transposed match. Treat as a likely typo and verify the publisher. |
| LOW | Distance-two, non-adjacent substitution. Often a legitimate similar name — investigate before acting. |
| OK | Exact match in the bundled npm or PyPI snapshot. Names are still not endorsed as malware-free. |
| UNKNOWN | No near match in this snapshot. It is not a risk verdict. |
| ALLOW-LISTED | You confirmed the name locally; similarity evidence is kept in the row detail. |
Input rows show the parsed ecosystem (npm, pypi or unknown) and both lists are searched; the ecosystem is a display hint and tie-breaker, so a Python-style name in package.json can still be flagged.
Common mistakes
Mistake:Treating UNKNOWN as a clean bill of health.
Fix:The bundled snapshot is static and finite. Verify any new dependency against the live registry and its publisher, even when no flag fires.
Mistake:Assuming OK means the package is safe.
Fix:OK means only that the exact name appears in a popular-name snapshot; popularity says nothing about a specific version's integrity.
Mistake:Pasting an entire source tree and scanning local module names.
Fix:Use Imports mode: relative paths, URL imports and Node builtins are skipped, and npm subpaths resolve to their base package.
Mistake:Ignoring allow-listed rows forever.
Fix:Re-check allow-listed names when the snapshot is refreshed — a name that was once private can later be registered by someone else.
Mistake:Reading a LOW flag as a confirmed attack.
Fix:Distance-two matches are deliberately informational; open the row to see the mutation label and the other candidate names before deciding.
Frequently asked questions
What counts as one edit away?
One character operation: deleting a letter, inserting one, substituting one, or transposing two adjacent letters. The substitution alphabet includes -, _ and ., so crossenv is one insertion away from cross-env. Keyboard-adjacent substitutions (for example s → d) and doubled-letter changes are labelled separately because they are especially realistic typos.
Which packages are in the bundled list?
A static snapshot of widely used npm and PyPI package names is bundled with the tool; the exact date and per-ecosystem counts are displayed in the Bundled list snapshot card. npm names are lowercased and PyPI names follow PEP 503 normalization (runs of -, _ and . fold to a hyphen). The lists are factual names only and contain no registry metadata.
Does the tool check registries live?
No. It is deliberately offline: the name lists ship with the page, so no manifest text, package name or query is sent anywhere. A flag means the name resembles a popular one, not that the lookalike exists or is malicious; an UNKNOWN result means no near match in this snapshot, not that a package is safe.
Does it work for scoped packages like @types/node?
Yes. Scoped names are checked as full names, so @types/node can match the snapshot directly. If only the inner part is popular — for example @myorg/express — the row stays UNKNOWN with a note that the scope is unverified; popularity of express is never reused as an OK badge for someone else's scope.
What should I do when a flag is wrong?
Open the row to see the nearest popular name and mutation kind, verify the package publisher and version in the registry yourself, then add the name to the allow-list. Allow-listed names pass with an ALLOW-LISTED badge and are stored only in this browser; the CSV and Markdown exports include verdicts so your decision is reviewable.
Why is a legitimate name like react-native-webview not flagged?
It is either an exact member of the bundled snapshot or more than two realistic edits away from any name in it. LONG names over 40 characters are skipped as unlikely typosquats, and internal or private names generally land in UNKNOWN rather than a risk band.
Can I paste a lockfile or an entire package.json?
Yes. In package.json mode the parser walks dependencies, devDependencies, optional and peer sections, a bare dependencies block, and package-lock.json packages keys such as node_modules/express. Versions, file:, link:, workspace:* and git+ specifiers are ignored or skipped with an explanation.
What is the difference between HIGH and LOW?
HIGH is a distance-one match — a deletion, insertion, separator change, transposition or keyboard-adjacent substitution — where a fat-finger typo is the likely explanation. LOW is a distance-two, non-adjacent substitution; those names are often legitimate lookalikes, so treat LOW as a prompt for a manual check rather than an accusation.
Why are some requirements.txt lines skipped?
Options (-r, -e, --index-url), direct URLs, VCS requirements and comment lines are not package names, so the parser skips them instead of inventing garbage entries. Versions, extras and environment markers are stripped from the name; PyPI names are normalized so scikit_learn matches scikit-learn.
Is my dependency list uploaded or stored?
No. Parsing and mutation checks run entirely in this tab. Scan results are not persisted; only the allow-list you edit is saved in local storage, and you can clear it at any time. Export files are generated locally from the current report.
References & standards
Related tools
AES Encryption
Encrypt and decrypt text with AES-GCM and a passphrase, fully in your browser. Uses PBKDF2 key derivation and the Web Crypto API — your data and keys never leave your device.
Android Network Security Config Builder
Generate network_security_config.xml with cleartext rules, trust anchors, certificate pinning and debug-only CAs — plus the manifest snippet and file placement checklist.
Ansible Vault Encrypt/Decrypt
Encrypt secrets into $ANSIBLE_VAULT;1.1;AES256 format or decrypt vault content with its password — locally in your browser, drop-in compatible with ansible-vault.
Argon2 Hash Generator & Verifier
Generate Argon2id/2i/2d hashes with proper m/t/p parameters and verify PHC strings — reference algorithm in your browser, nothing uploaded.
AWS Signature V4 Builder
Build AWS Signature V4 headers and presigned URLs from a canonical request — signed curl, key chain and debug diff, computed locally in your browser.
Basic Auth Generator
Generate an HTTP Basic Authentication header from a username and password. Produces the Authorization header and ready-to-use curl and fetch snippets. Runs fully client-side.