dependency_audit
Audit a whole project before an agent installs or runs it: JSON body {manifest, type, readme}. manifest is package.json (npm) or requirements.txt (PyPI) text. Checks up to 25 dependencies against OSV.dev advisories, deprecation and latest versions, and screens the optional README for prompt injection. Returns one safe, caution or avoid verdict plus a ranked fix list (upgrade to version X). Price $0.05 USDC per call via x402. Example output: {"verdict":"avoid","ecosystem":"npm","manifest_type":"package.json","summary":{"dependencies_found":2,"checked":2,"not_checked_over_limit":0,"lookup_failed":0,"avoid":1,"caution":0,"known_vulnerabilities":5},"fixes":[{"priority":"high","package":"lodash","action":"upgrade to >= 4.17.21","why":["5 kn
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": {
"manifest": "<manifest>"
},
"name": "dependency_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional. Auto-detected if omitted | |
| readme | No | Optional README or docs text to screen for prompt injection, max 50,000 chars | |
| manifest | Yes | package.json or requirements.txt contents as a string, max 200,000 chars |