{"uid":"cap_wbNJqdJ8_YEt-6vFu5Ca2","slug":"api-strale-io-547836ec","name":"Strale Dependency Audit","description":"Audit npm or Python dependencies. Checks each package against registry for latest version, deprecation, vulnerabilities. Verifiable against actual registries.","url":"https://api.strale.io/x402/dependency-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"package_json":{"type":"string","description":"package.json contents"},"requirements_txt":{"type":"string","description":"requirements.txt contents"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"package_json":"{ \"name\": \"test-project\", \"version\": \"1.0.0\", \"dependencies\": { \"express\": \"4.17.1\", \"lodash\": \"4.17.21\", \"axios\": \"0.21.1\" }, \"devDependencies\": { \"jest\": \"27.0.6\" } }"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0x07cb3fa1ddfbb97036dd56c7171b01e0c3292568487323677a65ce6ed09e7909"},"capability":"dependency-audit","latency_ms":324,"provenance":{"source":"npm-registry + osv.dev","fetched_at":"2026-06-13T04:24:13.723Z"}},"summary":{"total":4,"errors":0,"outdated":4,"deprecated":0,"up_to_date":0,"vulnerable":3},"ecosystem":"npm","dependencies":[{"name":"express","is_outdated":true,"is_deprecated":false,"latest_version":"5.2.1","current_version":"4.17.1","vulnerabilities":[{"id":"GHSA-qw6h-vgh9-j6wx","aliases":[]},{"id":"GHSA-rv95-896h-c2vc","aliases":[]}],"highest_severity":"low","is_dev_dependency":false,"vulnerability_count":2},{"name":"lodash","is_outdated":true,"is_deprecated":false,"latest_version":"4.18.1","current_version":"4.17.21","vulnerabilities":[{"id":"GHSA-f23m-r3pf-42rh","aliases":[]},{"id":"GHSA-r5fr-rjxr-66jc","aliases":[]},{"id":"GHSA-xxjr-mmjv-4gpg","aliases":[]}],"highest_severity":"low","is_dev_dependency":false,"vulnerability_count":3},{"name":"axios","is_outdated":true,"is_deprecated":false,"latest_version":"1.17.0","current_version":"0.21.1","vulnerabilities":[{"id":"GHSA-3g43-6gmg-66jw","aliases":[]},{"id":"GHSA-3p68-rc4w-qgx5","aliases":[]},{"id":"GHSA-43fc-jf86-j433","aliases":[]},{"id":"GHSA-5c9x-8gcm-mpgx","aliases":[]},{"id":"GHSA-62hf-57xw-28j9","aliases":[]},{"id":"GHSA-6chq-wfr3-2hj9","aliases":[]},{"id":"GHSA-898c-q2cr-xwhg","aliases":[]},{"id":"GHSA-cph5-m8f7-6c5x","aliases":[]},{"id":"GHSA-fvcv-3m26-pcqx","aliases":[]},{"id":"GHSA-hfxv-24rg-xrqf","aliases":[]},{"id":"GHSA-j5f8-grm9-p9fc","aliases":[]},{"id":"GHSA-jr5f-v2jv-69x6","aliases":[]},{"id":"GHSA-m7pr-hjqh-92cm","aliases":[]},{"id":"GHSA-p92q-9vqr-4j8v","aliases":[]},{"id":"GHSA-pf86-5x62-jrwf","aliases":[]},{"id":"GHSA-pjwm-pj3p-43mv","aliases":[]},{"id":"GHSA-pmwg-cvhr-8vh7","aliases":[]},{"id":"GHSA-vf2m-468p-8v99","aliases":[]},{"id":"GHSA-w9j2-pvgh-6h63","aliases":[]},{"id":"GHSA-wf5p-g6vw-rhxx","aliases":[]},{"id":"GHSA-xhjh-pmcv-23jw","aliases":[]},{"id":"GHSA-xx6v-rp6x-q39c","aliases":[]}],"highest_severity":"low","is_dev_dependency":false,"vulnerability_count":22},{"name":"jest","is_outdated":true,"is_deprecated":false,"latest_version":"30.4.2","current_version":"27.0.6","vulnerabilities":[],"highest_severity":null,"is_dev_dependency":true,"vulnerability_count":0}],"outdated_count":4,"critical_updates":["express (2 vulns)","lodash (3 vulns)","axios (22 vulns)"],"deprecated_count":0,"vulnerable_count":3,"total_dependencies":4,"total_vulnerabilities":27}},"exampleRequest":{"package_json":"{ \"name\": \"test-project\", \"version\": \"1.0.0\", \"dependencies\": { \"express\": \"4.17.1\", \"lodash\": \"4.17.21\", \"axios\": \"0.21.1\" }, \"devDependencies\": { \"jest\": \"27.0.6\" } }"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cpuvDdn_NccLdrvymA4fW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits npm (package.json) or Python (requirements.txt) dependencies by checking each package against its registry for latest version, deprecation status, and known vulnerabilities.","exampleAgentPrompt":"Can you audit my Node.js project's dependencies? Here's my package.json — check each package against the npm registry for outdated versions, deprecation warnings, and known vulnerabilities.","exampleUseCases":null,"resultDescription":"Returns a structured report for each package listing the current version declared, the latest version available on the registry, whether the package is deprecated, and any known vulnerabilities — enabling developers to identify security risks and outdated dependencies.","failureModes":["Missing both package_json and requirements_txt parameters — no input to audit","Malformed package.json or requirements.txt content causing parse errors","Package not found on registry (e.g. private or scoped package) — skipped or error per entry","Registry unavailable causing partial or failed lookups","Very large dependency lists may hit timeout or size limits"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use dependency audit without setting up a local tool like npm audit or Safety. Ideal for CI pipelines, automated agents checking project health, or one-off scans where you can pass raw package.json or requirements.txt content as a string. Results are verifiable against actual npm and PyPI registries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:25.801Z","isFirstParty":false,"canonicalSlug":"api-strale-io-547836ec"}