Package audit
package_auditnpm and PyPI package security and supply-chain audit: checks registry existence (catches hallucinated packages), deprecation, install scripts, age, and Google OSV.dev CVEs/GHSAs with SAFE/CAUTION/RISKY verdict. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for terms, then call again with payment.
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": {
"name": "<name>"
},
"name": "package_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name on npm or PyPI (e.g. lodash, requests). | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). | |
| version | No | Optional exact version to audit against OSV.dev. | |
| ecosystem | No | Registry: npm (default) or pypi. |