{"uid":"cap_rwN1ecw2rTWKk07Dd-VD1","slug":"agent-tools-manifest-vulnerability-scan-npm-pypi-7fd99537","name":"Agent Tools – Manifest Vulnerability Scan (npm/PyPI)","description":"Pay-per-call utilities for AI agents over x402, USDC on Base.","url":"https://agents.crowdspark.me/v1/dev/manifest-scan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"type":{"enum":["package.json","requirements.txt"],"type":"string","description":"Optional. Auto-detected if omitted"},"manifest":{"type":"string","description":"package.json or requirements.txt contents as a string, max 200,000 chars"}}},"responseSchema":{"type":"json","example":{"sources":["OSV.dev (CC-BY 4.0)","deps.dev"],"summary":{"checked":2,"lookup_failed":0,"dependencies_found":2,"vulnerable_packages":1,"known_vulnerabilities":5,"not_checked_over_limit":0},"ecosystem":"npm","vulnerable":[{"ids":["GHSA-35jh-r3h4-6jhm"],"name":"lodash","spec":"4.17.20","vulnerable":true,"by_severity":{"high":2,"medium":3},"version_checked":"4.17.20","vulnerabilities":5,"min_fixed_version":"4.17.21"}],"manifest_type":"package.json"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_58F_WOH8LF1pzfzodyuvd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Batch scans a package.json or requirements.txt manifest against OSV.dev advisories, returning per-package vulnerability counts by severity, advisory IDs, and minimum fixed versions.","exampleAgentPrompt":"Can you scan this package.json for known vulnerabilities and tell me which packages are at risk and what the minimum fixed versions are? Here's the content: {\"dependencies\":{\"lodash\":\"4.17.20\",\"express\":\"4.17.1\"}}","exampleUseCases":[{"title":"Pre-deployment npm security audit","prompt":"Before I push this release, scan my package.json for known vulnerabilities — here's the content — and tell me which packages have high or critical issues and what versions I should upgrade to."},{"title":"Python project dependency check","prompt":"Check my requirements.txt for any known security advisories from OSV.dev. Here's the file contents: requests==2.25.0\nnumpy==1.19.0\nflask==1.1.1 — list vulnerable packages first with severity counts."},{"title":"CI pipeline vulnerability gate","prompt":"I need to validate my npm manifest before merging this PR. Scan this package.json content for CVEs and return the advisory IDs and minimum fixed versions for anything vulnerable."}],"resultDescription":"A JSON object with a summary (total packages checked, vulnerable count, total known vulnerabilities), the detected ecosystem (npm or PyPI), and per-package details listing advisory IDs, version checked, vulnerability counts broken down by severity (critical/high/medium/low), and the minimum fixed version — with vulnerable packages sorted first.","failureModes":["Manifest exceeds 200,000 character limit — request rejected","Invalid or unparseable manifest format returns a parse error","Package not found in OSV.dev returns lookup_failed count increment","More than 50 dependencies triggers not_checked_over_limit for the excess","Payment not included or insufficient returns 402 Payment Required","Unrecognized manifest type when auto-detection fails"],"whenToPreferThis":"Prefer this endpoint when you need to audit an entire dependency manifest in one call rather than checking packages one by one. It is more cost-efficient than calling package_advisories per package (described as a cheaper batch form). Ideal for CI/CD pipeline integration, pre-deployment checks, or any agent workflow that needs a holistic vulnerability picture across all project dependencies at once. Supports both npm (package.json) and PyPI (requirements.txt) ecosystems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:39.343Z","isFirstParty":false,"canonicalSlug":"agent-tools-manifest-vulnerability-scan-npm-pypi-7fd99537"}