Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/374500?format=api",
    "purl": "pkg:npm/%40crowdstrike/logscale-file-editor@1.205.2",
    "type": "npm",
    "namespace": "@crowdstrike",
    "name": "logscale-file-editor",
    "version": "1.205.2",
    "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/128469?format=api",
            "vulnerability_id": "VCID-a8ve-9qc4-x7de",
            "summary": "Malicious code in @crowdstrike/logscale-file-editor (npm)\nThis package was compromised by the Shai-Hulud NPM worm.\nThe malicious payload steals tokens and credentials and publishes\nthem to GitHub before propogating itself to NPM packages the user owns.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/MAL-2025-47217",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/MAL-2025-47217"
                },
                {
                    "reference_url": "https://safedep.io/npm-supply-chain-attack-targeting-maintainers/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://safedep.io/npm-supply-chain-attack-targeting-maintainers/"
                },
                {
                    "reference_url": "https://semgrep.dev/blog/2025/security-advisory-npm-packages-using-secret-scanning-tools-to-steal-credentials/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://semgrep.dev/blog/2025/security-advisory-npm-packages-using-secret-scanning-tools-to-steal-credentials/"
                },
                {
                    "reference_url": "https://socket.dev/blog/ongoing-supply-chain-attack-targets-crowdstrike-npm-packages",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://socket.dev/blog/ongoing-supply-chain-attack-targets-crowdstrike-npm-packages"
                },
                {
                    "reference_url": "https://socket.dev/blog/tinycolor-supply-chain-attack-affects-40-packages",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://socket.dev/blog/tinycolor-supply-chain-attack-affects-40-packages"
                },
                {
                    "reference_url": "https://www.aikido.dev/blog/s1ngularity-nx-attackers-strike-again",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.aikido.dev/blog/s1ngularity-nx-attackers-strike-again"
                },
                {
                    "reference_url": "https://www.stepsecurity.io/blog/ctrl-tinycolor-and-40-npm-packages-compromised",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.stepsecurity.io/blog/ctrl-tinycolor-and-40-npm-packages-compromised"
                },
                {
                    "reference_url": "https://www.wiz.io/blog/shai-hulud-npm-supply-chain-attack",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.wiz.io/blog/shai-hulud-npm-supply-chain-attack"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wjr6-7hj2-p3mj",
                    "reference_id": "GHSA-wjr6-7hj2-p3mj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wjr6-7hj2-p3mj"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GHSA-wjr6-7hj2-p3mj",
                "MAL-2025-47217"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a8ve-9qc4-x7de"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540crowdstrike/logscale-file-editor@1.205.2"
}