Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/84604?format=api",
    "purl": "pkg:pypi/mistralai@2.4.6",
    "type": "pypi",
    "namespace": "",
    "name": "mistralai",
    "version": "2.4.6",
    "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/341257?format=api",
            "vulnerability_id": "VCID-4j9j-6mxw-ebbs",
            "summary": "Malicious dropper in mistralai 2.4.6 PyPI package",
            "references": [
                {
                    "reference_url": "https://github.com/mistralai/client-python/issues/523",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mistralai/client-python/issues/523"
                },
                {
                    "reference_url": "https://safedep.io/mass-npm-supply-chain-attack-tanstack-mistral",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://safedep.io/mass-npm-supply-chain-attack-tanstack-mistral"
                },
                {
                    "reference_url": "https://socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack"
                },
                {
                    "reference_url": "https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wx9m-wx4f-4cmg",
                    "reference_id": "GHSA-wx9m-wx4f-4cmg",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wx9m-wx4f-4cmg"
                },
                {
                    "reference_url": "https://github.com/mistralai/client-python/security/advisories/GHSA-wx9m-wx4f-4cmg",
                    "reference_id": "GHSA-wx9m-wx4f-4cmg",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/mistralai/client-python/security/advisories/GHSA-wx9m-wx4f-4cmg"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GHSA-wx9m-wx4f-4cmg"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4j9j-6mxw-ebbs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistralai@2.4.6"
}