Open-Source Package Vulnerabilities
Is this open-source package version vulnerable? Advisories for any npm, PyPI, Maven, Go, Rust, NuGet, RubyGems or PHP package, with the versions that fix each one.
GET
/api/v1/cybersecurity/package-vulnsAlso included in Vulnerability 360 , which joins it with 3 other APIs in one call.
Query parameters
| Parameter | Description | Try value |
|---|---|---|
ecosystemstring required | npm, PyPI, Maven, Go, crates.io, NuGet, RubyGems, Packagist, Hex, Pub or SwiftURL | |
namestring required | Package name | |
versionstring | Version to check | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504. Add format= for JSON Lines, CSV, TSV, Excel, XML or YAML (how it works).