Malicious package scanner for npm, PyPI, crates.io & more
Read every line your dependencies ship. Before you install them.
Advisories only catch malware after someone reports it. We download every package in your lockfile and have an AI model read the actual source, looking for install-time payloads, credential theft, exfiltration and backdoors.
or upload a lockfile to scan a whole project · free file check, no account
Install script base64-decodes a URL and POSTs process.env, including NPM_TOKEN and AWS keys, to it.
Example output
How it works
Three steps, and only new code counts
-
1
Upload
Drop in a lockfile or manifest, or name a single package. We resolve the full dependency tree the way your installer would.
-
2
See what's new
Every package is downloaded and hashed. Files anyone has scanned before are free, so only new code counts toward your monthly plan.
-
3
Read the findings
Results by severity, with the package, file and line, what the code does and what to do about it.
What it looks for
The things a CVE feed won't tell you
Install-time payloads
npm lifecycle scripts, setup.py and .pth files, build.rs, Go init() and code that runs on import.
Credential theft
Reads of env vars, SSH keys, .npmrc tokens, browser profiles and crypto wallets.
Exfiltration
Suspicious network requests and data sent to external servers.
Obfuscated code
Encoded blobs, eval of decoded strings and code fetched and executed at runtime.
Backdoors
Reverse shells, spawned processes and file writes outside the package.
Wallet drainers & miners
Seed-phrase theft, address rewriting and hidden cryptocurrency mining.
- npm
- package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock, package.json
- Python
- poetry.lock, uv.lock, Pipfile.lock, requirements.txt, pyproject.toml
- Rust
- Cargo.lock
- Go
- go.mod, go.sum
- Ruby
- Gemfile.lock
- PHP
- composer.lock
Pricing
Pay for new code, not for the same lodash twice
Prepaid balance
From $20 by card
- Pay for new code scan by scan, at the quoted price
- Needs an account; API keys for CI and scripts
- The balance never expires
- Unused balance is refundable from your account page
Monthly access
Flat monthly by card
- Unlimited lockfiles within a token budget
- API keys for CI and scripts
- Files scanned before cost nothing
- Pay early to stack months
For CI and agents
One HTTP call
POST a lockfile with your API key and the findings come back as JSON, so CI or an AI agent can vet a package before it installs it. Files scanned before are free, with or without a key.
Read the API docs# from a terminal or CI: uploads only the lockfile npx togoder-scan --fail-on high # or the HTTP API curl -X POST https://security.togoder.click/api/paid-scan \ -H "Authorization: Bearer $NPM_SCANNER_KEY" \ -F "file=@package-lock.json" # or a single package and its dependency tree curl -X POST https://security.togoder.click/api/paid-scan \ -H "Authorization: Bearer $NPM_SCANNER_KEY" \ -H "Content-Type: application/json" \ -d '{"ecosystem":"pypi","packageName":"requests"}'
Public reports
Every scan becomes a free security report
Recently scanned
Browse all npm reportsRecently flagged
Flagged packages trackerLast scan Nov 13, 2026.
Learn
How supply-chain attacks work, and how to stop them
Guides and blog
- Supply chain attacks in 2026: incidents, types, defenses
- How to check if an npm package is malicious
- npm supply chain attacks: types, incidents, defenses
- npm install scripts security: postinstall risks & fixes
- npm audit vs source code scanning: what each catches
- Scan your lockfile in CI: dependency malware checks
- npm malware scanners compared: Socket, Snyk, Togoder
- Socket.dev alternatives: AI source code review
- Cheap Snyk alternative for supply chain malware detection
- How to scan package-lock.json for malware
- How to detect malicious postinstall scripts in npm
- API to check if an npm package is safe
- Shai-Hulud npm worm: how to protect your projects
- Supply chain security tools for small teams
- Prepaid dependency malware scanner, no subscription
- AI source code review for your dependencies
- VS Code extension malware scanner: scan before you install
Glossary
- What is CycloneDX?
- What is dependency confusion?
- What are install scripts?
- What is a lockfile?
- What is a maintainer account takeover?
- What is a minimum release age?
- What do npm audit and npm audit fix do?
- npm ci vs npm install: what is the difference?
- What is protestware?
- What is reachability analysis?
- SAST vs SCA: what is the difference?
- What is an SBOM?
- What is slopsquatting?
- What is SLSA?
- What is software composition analysis?
- Software supply chain attack: definition
- What is a transitive dependency?
- What is typosquatting?
FAQ
Questions people ask before they scan
How do I check if an npm package is malicious?
Enter the package name or upload your lockfile at https://security.togoder.click/scan. Togoder Security downloads every package, never runs it, and has an AI model read each source file for install-time payloads, credential theft, exfiltration, obfuscation and backdoors. Packages someone already scanned have a free public report, for example https://security.togoder.click/npm/express.
How is this different from npm audit?
npm audit only reports vulnerabilities that are already in an advisory database. Source review reads the code itself, so it can flag a malicious new release before anyone has reported it. Use both.
Which ecosystems and lockfiles are supported?
npm (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock, package.json), Python (poetry.lock, uv.lock, Pipfile.lock, requirements.txt, pyproject.toml), Rust (Cargo.lock), Go (go.mod, go.sum), Ruby (Gemfile.lock) and PHP (composer.lock). VS Code extensions from the Visual Studio Marketplace and Open VSX are scanned by id.
How much does a scan cost?
Parsing, the price quote and public reports are free, and so is a scan in which every file was reviewed before. You pay only for files nobody has scanned before: top up a prepaid balance from $20 and each scan is deducted at its quoted price, or take a monthly plan by card (from $69). Both work with API keys.
Can AI agents use it?
Yes. POST a lockfile or package name to https://security.togoder.click/api/paid-scan with an API key from an account with a prepaid balance or a monthly plan, so an agent can vet a dependency before installing it. Top-ups happen on the account page, not over the API.
See what's in your node_modules
Parsing and checking files are free. Files scanned before stay free; new code needs a monthly plan.