{"uid":"cap_3VDYj_jH2MHxcNau0rxMW","slug":"agentfeed-package-security-check-54e3d747","name":"AgentFeed Package Security Check","description":"Package check: flagged (any OSV advisory for that exact version), highest severity, advisories, release, scripts, downloads, name-squat flags. Use when you need to answer: Does OSV.dev list any advisory for this exact version of an npm or PyPI package, and what do the public registries add? 404 or 503: not charged.","url":"https://x402.ochinimus.app/api/pkg-check?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"],"type":"string"},"queryParams":{"type":"object","required":["name","ecosystem"],"properties":{"name":{"type":"string","description":"package name: an npm name (optionally @scope/name) or a PyPI project name"},"version":{"type":"string","description":"version to check, for example 4.17.21 (default: the latest published version)"},"ecosystem":{"type":"string","description":"npm or pypi"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"name":{"type":"string"},"flags":{"type":"array"},"found":{"type":"boolean"},"method":{"type":"string"},"flagged":{"type":"boolean"},"release":{"type":"object"},"sources":{"type":"array"},"version":{"type":"string"},"downloads":{"type":"object"},"ecosystem":{"type":"string"},"malicious":{"type":"boolean"},"typosquat":{"type":"object"},"advisories":{"type":"array"},"repository":{"type":"object"},"maintainers":{"type":"object"},"advisory_count":{"type":"number"},"install_scripts":{"type":"array"},"advisory_summary":{"type":"string"},"highest_severity":{"type":"string"}}},"paid":{"type":"boolean"},"tool":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q04L1wvB-uJaxq9Vt2uSE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks an npm or PyPI package version against OSV.dev advisories and public registry signals, returning vulnerability severity, advisory details, release metadata, download stats, install scripts, and name-squatting flags.","exampleAgentPrompt":"Can you check whether lodash version 4.17.20 on npm has any known security advisories on OSV.dev, and tell me the highest severity and any name-squat flags?","exampleUseCases":[{"title":"Vetting a dependency before install","prompt":"Before I add requests version 2.28.0 from PyPI to my project, can you check if OSV lists any advisories for that exact version and whether there are any install scripts or malicious flags I should worry about?"},{"title":"Auditing a suspicious npm package","prompt":"I found a package called 'coloures' on npm at version 1.0.0 — can you run a security check on it and tell me if it's a typosquat, if it has any CVEs, and what the download numbers look like?"},{"title":"CI pipeline vulnerability gate","prompt":"For our CI gate, check if the PyPI package cryptography at version 38.0.1 is flagged by OSV, and give me the advisory summary and highest severity level so I can decide whether to block the build."}],"resultDescription":"Returns a structured object with: flagged boolean, malicious boolean, highest_severity string, advisory_count number, advisories array (each with OSV IDs and details), advisory_summary string, release metadata object, install_scripts array, downloads object (weekly/monthly counts), typosquat object (name-squat signals), repository info, maintainers, sources array, and the method used. Returns 404 if the package/version is not found (not charged), 503 on upstream failure (not charged).","failureModes":["404 Not Found — package name or version does not exist in the registry (not billed)","503 Service Unavailable — upstream registry or OSV.dev is unreachable (not billed)","Invalid ecosystem value — only 'npm' or 'pypi' accepted","Version not specified defaults to latest published version, which may differ from user intent","Scoped npm packages (e.g. @scope/name) must be passed correctly or lookup will fail"],"whenToPreferThis":"Choose this endpoint when you need a single authoritative answer about whether a specific version of an npm or PyPI package has OSV advisories, combined with registry metadata (downloads, install scripts, typosquatting) in one call. Prefer it over raw OSV API calls when you also need supply-chain signals (name-squat, malicious flags, install scripts) alongside vulnerability data. Best suited for dependency vetting in CI pipelines, security audits, or agent-driven code review workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:30:51.501Z","isFirstParty":false,"canonicalSlug":"agentfeed-package-security-check-54e3d747"}