Scan a whole project's dependencies (lockfile) for known vulnerabilities and typosquats in one call
scan_dependenciesSend package-lock.json, yarn.lock, pnpm-lock.yaml, package.json, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.mod, go.sum, Cargo.lock, composer.lock or Gemfile.lock. Checks up to 1000 exact versions against OSV.dev and returns every vulnerable package with CVE, severity and the version to upgrade to, plus names that look like typosquats of popular packages. Not charged if the vulnerability database is down. Price 0.01 USDC per call; first 3 calls per day free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "scan_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The lockfile or manifest text (max 3 MB) | |
| payment | No | Optional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts. | |
| filename | No | Optional file name, e.g. package-lock.json (helps detection) | |
| include_dev | No | Include dev dependencies (default true) |