Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73222?format=api",
    "purl": "pkg:pypi/terminal-controller@0.1.7",
    "type": "pypi",
    "namespace": "",
    "name": "terminal-controller",
    "version": "0.1.7",
    "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/49603?format=api",
            "vulnerability_id": "VCID-897g-ybxh-zbda",
            "summary": "terminal-controller-mcp vulnerable to Command Injection\nA command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to execute arbitrary commands via a crafted input.",
            "references": [
                {
                    "reference_url": "https://github.com/cfdude/super-shell-mcp/issues/19",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/cfdude/super-shell-mcp/issues/19"
                },
                {
                    "reference_url": "https://github.com/GongRzhe/terminal-controller-mcp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/GongRzhe/terminal-controller-mcp"
                },
                {
                    "reference_url": "https://github.com/GongRzhe/terminal-controller-mcp/issues/7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/GongRzhe/terminal-controller-mcp/issues/7"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61492",
                    "reference_id": "CVE-2025-61492",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61492"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h4rf-624j-gj33",
                    "reference_id": "GHSA-h4rf-624j-gj33",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-h4rf-624j-gj33"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2025-61492",
                "GHSA-h4rf-624j-gj33"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-897g-ybxh-zbda"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/terminal-controller@0.1.7"
}