Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53882?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53882?format=api", "purl": "pkg:npm/nodecaffe@0.0.0-alpha", "type": "npm", "namespace": "", "name": "nodecaffe", "version": "0.0.0-alpha", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38733?format=api", "vulnerability_id": "VCID-c3pt-sp2j-3ub5", "summary": "Hijacked Environment Variables\n`nodecaffe` was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.", "references": [], "fixed_packages": [], "aliases": [ "GMS-2017-151" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c3pt-sp2j-3ub5" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/nodecaffe@0.0.0-alpha" }