{"slug":"x402-deps-preflight-loudtzu-workers-dev-deps-check-202ccf","title":"Check one package version (npm, PyPI, Go, crates.io) against OSV advisories","host":"x402-deps-preflight.loudtzu.workers.dev","method":"GET","resource":"https://x402-deps-preflight.loudtzu.workers.dev/deps/check","category":"other","description":"Check one package version (npm, PyPI, Go, crates.io) against OSV advisories: severity, CVE aliases, fixed-in version, malicious-package flag and a clean/review/vulnerable/malicious verdict. Params ?ecosystem=&name=&version=. A bare call checks npm lodash 4.17.21. Known-advisory lookup only; sources ","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":435,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"ecosystem":"npm","name":"lodash","version":"4.17.21"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"ecosystem":{"description":"npm (default), pypi, go or crates.","enum":["npm","pypi","go","crates"],"type":"string"},"name":{"description":"Package name, e.g. lodash, requests, golang.org/x/net, serde.","type":"string"},"version":{"description":"Exact version. Without it, advisories for any version are listed and the verdict is at most review.","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"description":"Known-advisory check for one package version.","properties":{"advisories":{"description":"Advisories, most severe first.","items":{"description":"One advisory.","properties":{"aliases":{"description":"CVE and other aliases.","items":{"description":"Alias id.","type":"string"},"type":"array"},"fixedIn":{"description":"Highest fixed version listed for this package, if any.","type":["string","null"]},"id":{"description":"OSV id, e.g. GHSA-...","type":"string"},"licence":{"description":"Licence of the originating database.","type":"string"},"published":{"description":"Publication time.","type":["string","null"]},"severity":{"description":"CRITICAL, HIGH, MODERATE, LOW or UNKNOWN, as published by the source.","type":"string"},"summary":{"description":"Advisory summary, at most 200 characters.","type":["string","null"]},"url":{"description":"osv.dev page for the advisory.","type":"string"}},"type":"object"},"type":"array"},"advisoryCount":{"description":"Advisories kept for this package version.","type":"integer"},"asOf":{"description":"ISO 8601 UTC time the answer was produced.","type":"string"},"attribution":{"description":"Attribution and licence notices that must travel with the data.","items":{"description":"One notice.","type":"string"},"type":"array"},"charged":{"description":"True when this response was paid for (only successful 200 responses are charged).","type":"boolean"},"disclaimer":{"description":"Scope and limits. Not financial, legal or security advice.","type":"string"},"droppedRecords":{"description":"Matching records dropped because their source does not allow commercial reuse.","type":"integer"},"ecosystem":{"description":"npm, pypi, go or crates.","type":"string"},"highestSeverity":{"description":"Highest severity among them.","type":["string","null"]},"malicious":{"description":"True if an OpenSSF malicious-package (MAL-) record matches.","type":"boolean"},"method":{"description":"How the answer was computed, in one paragraph. Full detail at GET /methodology.","type":"string"},"name":{"description":"Package name.","type":"string"},"note":{"description":"Present when no version was given.","type":"string"},"notice":{"description":"Present when the default example was used.","type":"string"},"sources":{"description":"Where each part of the answer came from.","items":{"description":"One source.","properties":{"name":{"description":"Source name.","type":"string"},"url":{"description":"Source URL.","type":"string"},"usedFor":{"description":"What it was used for.","type":"string"}},"type":"object"},"type":"array"},"suggestedMinimumVersion":{"description":"Highest fixed-in version across the advisories (upgrade to at least this).","type":["string","null"]},"truncated":{"description":"True if more advisories exist than are shown.","type":"boolean"},"verdict":{"description":"clean, review, vulnerable or malicious.","type":"string"},"version":{"description":"Version checked, or null for any version.","type":["string","null"]}},"required":["ecosystem","name","verdict","advisories","charged"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":435,"error":null}],"description_full":"Check one package version (npm, PyPI, Go, crates.io) against OSV advisories: severity, CVE aliases, fixed-in version, malicious-package flag and a clean/review/vulnerable/malicious verdict. Params ?ecosystem=&name=&version=. A bare call checks npm lodash 4.17.21. Known-advisory lookup only; sources and licences included. Errors are never charged.","last_updated":"2026-11-26T19:20:15.85Z","schemes":["exact"]}