Scan a dependency manifest for vulnerable and malicious packages
scan_dependenciesScans package manifests, lockfiles, or package lists against OSV.dev to detect known vulnerabilities and confirmed-malicious packages, returning severity, CVSS, and fixed versions.
Instructions
Checks a package.json, lockfile, requirements.txt, go.mod, Cargo.lock, poetry.lock or composer.lock (contents or a local path) or a package list against OSV.dev for known vulnerabilities and confirmed-malicious packages. Free preview by default (verdict and counts, up to 25 packages). With PKGGUARD_X402_PRIVATE_KEY set, returns the full paid result (affected packages, advisory ids, severity, CVSS, fixed-in versions; up to 500 packages) from https://api.youraitools.co/pkgguard/v1/scan, paying $0.003 USDC on Base per scan over x402. Informational: lists published advisories from OSV.dev for the versions given. Not a security audit; a clean result does not prove a package is safe.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Or a local file path to read (e.g. ./package-lock.json) | |
| filename | No | ||
| manifest | No | File contents (package.json, package-lock.json, requirements.txt, Pipfile.lock, poetry.lock, go.mod, Cargo.lock, composer.lock) | |
| packages | No | [{ecosystem, name, version}] | |
| include_dev | No |