{"partialResults":false,"resources":[{"accepts":[{"amount":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0xB1fe0fd90C16800C3D5e811c6f07972dE9d2b98E","scheme":"exact"}],"description":"Call before an agent runs npm install or pip install. Checks one npm or PyPI package against the registry, OSV advisories, install scripts, typosquat and combosquat names and repository provenance, and flags hallucinated or slopsquatted names. Answers safe, caution, block or does_not_exist; every reason is sourced and labelled fact or heuristic.","extensions":{"bazaar":{"info":{"input":{"body":{"ecosystem":"npm","name":"crossenv"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"checked_at":"2026-10-14T13:24:44Z","dist_tag":"latest","ecosystem":"npm","name":"crossenv","reasons":[{"code":"registry_security_hold","detail":"Package 'crossenv' is under an npm security hold (real versions unpublished, replaced by a '-security' placeholder), quarantined by the registry. Treat with caution.","kind":"fact","source":"npm_registry","verdict":"caution"},{"code":"malicious_package","detail":"crossenv is affected by a confirmed-malicious advisory (GHSA-c2m4-w5hm-vqjw): crossenv is malware","kind":"fact","source":"osv.dev","verdict":"block"}],"resolved_version":"0.0.2-security","sources":{"npm_downloads":"https://api.npmjs.org/downloads/point/last-week","npm_registry":"https://registry.npmjs.org","osv":"https://api.osv.dev/v1"},"verdict":"block","version":null},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"ecosystem":{"description":"The ecosystem the package belongs to: npm or pypi.","enum":["npm","pypi"],"type":"string"},"name":{"description":"Package name. ASCII only; homoglyph and Unicode-confusable names are refused before any upstream call.","type":"string"},"version":{"description":"Optional. Omit to verify the package rather than one release.","type":"string"}},"required":["ecosystem","name"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"checked_at":{"description":"When the verification ran, which is not always when it was requested: a reused result carries its original timestamp.","format":"date-time","type":"string"},"dist_tag":{"description":"The dist-tag a version-less request resolved through; null when a version was requested.","type":["string","null"]},"ecosystem":{"type":"string"},"name":{"type":"string"},"reasons":{"description":"Evidence, one entry per finding. Branch on `code`, not on `detail`.","items":{"properties":{"code":{"type":"string"},"data":{"type":"object"},"detail":{"type":"string"},"kind":{"description":"fact is established; heuristic is inference and never convicts on its own.","enum":["fact","heuristic"],"type":"string"},"source":{"type":"string"},"verdict":{"type":"string"}},"required":["verdict","code","kind","source","detail"],"type":"object"},"type":"array"},"resolved_version":{"description":"The release the checks ran against: the requested version, or the registry's latest at the time of the check.","type":["string","null"]},"sources":{"description":"The upstream each check consulted, by name.","type":"object"},"verdict":{"description":"Ordered worst-last. The overall verdict is the worst any check produced. block and does_not_exist are answers, not errors, and return 200.","enum":["safe","caution","block","does_not_exist"],"type":"string"},"version":{"type":["string","null"]}},"required":["ecosystem","name","verdict","reasons","sources","checked_at"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-12T02:19:45.509Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-12T02:19:45.062Z"},"resource":"https://x402.pkgproof.net/v1/verify","serviceName":"pkgproof","tags":["npm","pypi","security","supply-chain","package-verification"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"tv7ds6lhg7zciaa"}}
