Lookup for vulnerable packages by Package URL.

GET /api/packages/70919?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/70919?format=api",
    "purl": "pkg:npm/zapier-scripts@7.8.4",
    "type": "npm",
    "namespace": "",
    "name": "zapier-scripts",
    "version": "7.8.4",
    "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/21321?format=api",
            "vulnerability_id": "VCID-h7tq-cnb9-kkf6",
            "summary": "zapier-scripts contains malware after npm account takeover\nOn November 24th 2025, a new supply chain attack called Shai-Hulud 2.0 was launched. This package contains the malicious code that attempts to harvest credentials and infect GitHub and npm repositories. The malicious software executes during the pre-install phase and attempts to harvest credentials from popular online services. It is recommended all credentials be rotated, npm cache is cleared, .node_modules directory is removed and all dependencies be rolled back to previous versions.",
            "references": [
                {
                    "reference_url": "https://about.gitlab.com/blog/gitlab-discovers-widespread-npm-supply-chain-attack/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://about.gitlab.com/blog/gitlab-discovers-widespread-npm-supply-chain-attack/"
                },
                {
                    "reference_url": "https://socket.dev/blog/shai-hulud-strikes-again-v2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://socket.dev/blog/shai-hulud-strikes-again-v2"
                },
                {
                    "reference_url": "https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GMS-2025-686"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h7tq-cnb9-kkf6"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zapier-scripts@7.8.4"
}