MAL-2026-18045

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/asurion/MAL-2026-18045.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18045
Published
2026-10-19T21:22:38Z
Modified
2026-10-20T18:30:11Z
Summary
Malicious code in asurion (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (393ccbeed4c71a6a21a3a697f0809845dddec09ddc8884662f40e2b2257a28a9)

setup.py executes at pip install time and POSTs a JSON payload containing the full os.environ dictionary along with hostname, username, current working directory, and platform details to the hardcoded endpoint https://webhook.site/b2967b0a-1b24-4670-8ae1-e09e3cf272c4 via urllib.request. Environment variables on developer and CI hosts routinely contain credential-grade secrets (AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN, NPM_TOKEN, database passwords, cloud session tokens), so this install-time beacon is a bulk credential-sweep. The package name, implausibly high version number, and single webhook.site exfil destination are consistent with a dependency-confusion canary/exfil payload targeting an internal asurion namespace.

Source: kam193 (05820dd77e1f73d1a01797af6f10c6fa4ae22038be3fcd6a8cbd8c117cf6436c)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/asurion",
            "import_time": "2026-10-19T22:17:24.247892321Z",
            "modified_time": "2026-10-19T21:22:38.121912Z",
            "sha256": "05820dd77e1f73d1a01797af6f10c6fa4ae22038be3fcd6a8cbd8c117cf6436c",
            "source": "kam193",
            "versions": [
                "99.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021532",
            "import_time": "2026-10-20T18:22:19.614374787Z",
            "modified_time": "2026-10-20T18:16:49Z",
            "sha256": "393ccbeed4c71a6a21a3a697f0809845dddec09ddc8884662f40e2b2257a28a9",
            "source": "amazon-inspector",
            "versions": [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / asurion

Package

Affected ranges

Affected versions

99.*
99.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "setup.py",
            "sha256": "c3fd06c3766cd445d9409fc90204912137a1e390d64aa740d4de51a5185c1cb5",
            "tlsh": "6a11c0c1d6209ca3b19b72e188a5291c6372ea079d42ec5c7e4c42980fee57982b07e8"
        }
    ],
    "package_integrity": [
        {
            "filename": "asurion-99.0.0-py3-none-any.whl",
            "hashes": {
                "blake2b_256": "a26308556eac26997a5d27a0f187d7ee4a74d10c6bc5ef2307d8e92de373c8af",
                "md5": "3ccad08bc50dac3e10c397955de53758",
                "sha256": "c7312e9225ef0c84f4c60fd9f1c0f3dd18ac82fae582ceae450d0e270b1608fd"
            }
        },
        {
            "filename": "asurion-99.0.0.tar.gz",
            "hashes": {
                "blake2b_256": "6482f38d1e59bd9bf1e1409d82d95a95df1336445ef83c804a50a156696eb7a7",
                "md5": "2ac17166c37d91bc1ff1256635b3402c",
                "sha256": "db1b0210d3f7bffc8db1533f5e43d3932bc206885057964c128ba4788f8ee181"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/asurion/MAL-2026-18045.json"