MAL-2026-13386

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/decapod-common/MAL-2026-13386.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13386
Published
2026-08-06T07:14:52Z
Modified
2026-08-06T13:34:48.770026354Z
Summary
Malicious code in decapod-common (PyPI)
Details

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

Source: amazon-inspector (e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4)

setup.py overrides the install command to collect the installer's hostname and resolved IP address via socket.gethostname()/gethostbyname() and POST them as JSON to a hardcoded webhook.site endpoint (https://webhook.site/f79bb373-481e-4116-b3d1-35005970b62f) before completing installation. The beacon fires automatically during pip install of the sdist. The package's own metadata describes it as a POC beacon; no legitimate functionality accompanies the network callout.

Source: kam193 (335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd)

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": [
        {
            "versions": [
                "0.0.0",
                "1.2.dev1",
                "1.2.dev2"
            ],
            "import_time": "2026-08-06T07:27:41.320959329Z",
            "sha256": "335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/decapod-common",
            "modified_time": "2026-08-06T07:14:52.620018Z",
            "source": "kam193"
        },
        {
            "versions": [
                "0.0.0",
                "1.2.dev1",
                "1.2.dev2"
            ],
            "import_time": "2026-08-06T08:23:38.727531727Z",
            "sha256": "4a2befb40c79b92c5ebe20409768c0aa0da5a17e6be0cab991ef2a631aaa949f",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/decapod-common",
            "modified_time": "2026-08-06T07:14:52.620018Z",
            "source": "kam193"
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-06T13:08:35.811821571Z",
            "sha256": "1ff269b55a031b0c07059dc8664cd22e88e0015e25eec6e9252662ed3a585365",
            "id": "IN-MAL-2026-015994",
            "modified_time": "2026-08-06T12:16:05Z",
            "versions": [
                "1.2.dev1"
            ]
        },
        {
            "versions": [
                "1.2.dev2"
            ],
            "import_time": "2026-08-06T13:08:36.512341229Z",
            "sha256": "e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4",
            "id": "IN-MAL-2026-016000",
            "modified_time": "2026-08-06T12:16:55Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "0.0.0"
            ],
            "sha256": "058b86879038ce7ef09b6764fbdd9d82af912b98bd9348d067e3540c537ff9a5",
            "import_time": "2026-08-06T13:08:36.142805828Z",
            "id": "IN-MAL-2026-015997",
            "modified_time": "2026-08-06T12:16:27Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

PyPI / decapod-common

Package

Affected ranges

Affected versions

0.*
0.0.0
1.*
1.2.dev1
1.2.dev2

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "decapod_common-1.2.dev1.tar.gz",
            "hashes": {
                "sha256": "1ddb786932953be79c7493dee8f8fe777347ea68a4823afdf54ee72aa0905145",
                "md5": "9ae3adc029f6a9c57191129fc1f676ef",
                "blake2b_256": "3fa8dc37aaa89e06e4b156130347f57a8b99a3f16abb0b8d6d9e8dc8e4754777"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "5b112fd2e8b27075ea8710d0482749643653ba0f6f42ac293ccd43940fae835d821259",
            "sha256": "c0318b793ac934a0eeb48801948647792c41cb9e0c82c8d6a67a8ba4c88cdf43",
            "path": "setup.py"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/decapod-common/MAL-2026-13386.json"