{"uid":"cap_VUV_qrb0Ou-OS3Kf4w4g6","slug":"codepulse-api-cve-security-vulnerability-lookup-8c807728","name":"CodePulse API – CVE Security Vulnerability Lookup","description":"Checks package names and versions against the free open-source vulnerability database OSV.dev.","url":"https://codepulse-api.hahavoid0.workers.dev/security/cve","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["package","version"],"properties":{"package":{"type":"string","description":"Package name (e.g. lodash)"},"version":{"type":"string","description":"Package version number (e.g. 4.17.15)"},"ecosystem":{"type":"string","default":"npm","description":"Ecosystem name (npm, PyPI, Go, Crates)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"cves":["GHSA-48tx-fdd9-839e"],"vulnerable":true},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xlH5NlTcGouGCf9NHwSlf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a specific package version against known CVE/GHSA vulnerability databases and returns whether it is vulnerable along with applicable advisory IDs.","exampleAgentPrompt":"Can you check if lodash version 4.17.15 on npm has any known CVEs or security vulnerabilities?","exampleUseCases":[{"title":"Pre-release dependency security audit","prompt":"Before we ship, check whether requests version 2.28.0 in PyPI has any known CVEs or security advisories I should be worried about."},{"title":"CI pipeline vulnerability gate","prompt":"Scan axios version 1.3.4 on npm for any known CVEs — I need to know if it's vulnerable before we merge this pull request."},{"title":"Incident triage for reported dependency","prompt":"We just got a security alert — can you look up whether log4j-core version 2.14.1 is listed as vulnerable and give me the CVE IDs?"}],"resultDescription":"Returns a JSON object indicating whether the package version is vulnerable (true/false), a list of CVE/GHSA advisory IDs if vulnerable, a confidence level (e.g. 'high'), the data freshness date, and a disclaimer. Also includes warnings and a 'supported' flag indicating whether the ecosystem/package is covered.","failureModes":["Unsupported ecosystem returns supported:false with no CVE data","Unknown or misspelled package name may return no results or low confidence","Very new vulnerabilities may not appear if data_as_of date lags behind disclosure","Malformed version strings may cause lookup failures","Network or worker errors return non-200 HTTP responses"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call CVE/GHSA check for a specific package-version pair across npm, PyPI, Go, or Crates ecosystems without managing API keys. Prefer it over manual NVD queries or full SCA tools when you need a lightweight, agent-callable lookup in an automated pipeline at low cost ($0.02 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:58.197Z","isFirstParty":false}