PkgGuard: Scan dependencies for vulnerabilities
scan_dependenciesChecks a package.json, lockfile, requirements.txt, go.mod, Cargo.lock, poetry.lock or composer.lock (or a list of packages) against OSV.dev for known vulnerabilities and confirmed-malicious packages. Returns per-package advisory ids (CVE/GHSA/MAL), severity, CVSS and fixed-in versions. Free tier: 30 calls/day per IP with full results, up to 100 packages; then $0.003 per scan (up to 500) in USDC over x402 (/v1/scan). Not for: code you wrote yourself (it checks published packages only) or secrets in files (use scan_for_leaks).
[PkgGuard via YourAITools MCP Hub] Free tier: same as PkgGuard's own MCP server (call without payment and without tier). Paid: scan $0.003 per call, with a credits key (Authorization: Bearer yatc_...) or x402 (USDC; the hub returns the payment terms). Failed tool calls aren't charged: credits are refunded automatically and x402 payments only settle on success.
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 |
|---|---|---|---|
| tier | No | Paid tier: scan $0.003. Omit tier (with no credits key or x402 payment) to use the free tier. | |
| type | No | (paid calls only) | |
| filename | No | Optional file name, helps type detection | |
| manifest | No | Manifest or lockfile contents (package.json, package-lock.json, requirements.txt, Pipfile.lock, poetry.lock, go.mod, Cargo.lock, composer.lock) | |
| packages | No | Alternative to manifest: [{ecosystem, name, version}], up to 500 | |
| include_dev | No | Include devDependencies (default true) |