MAL-2026-6733

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/epic-build-scripts/MAL-2026-6733.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6733
Published
2026-07-02T21:23:22Z
Modified
2026-07-08T17:16:54.402108673Z
Summary
Malicious code in epic-build-scripts (PyPI)
Details

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

Source: amazon-inspector (14d466b50466bb93e6e9130d18e67b680c7255beecafe16043dc5ee51bfec886)

On import epic_build_scripts, the package's top-level init spawns a background thread that POSTs a JSON payload containing socket.gethostname(), the USER/USERNAME environment variable, and os.getcwd() to the hardcoded bare-IP HTTP endpoint http://109.123.247.172/pypi. The beacon fires automatically whenever the module is loaded, with no user consent, no documented purpose, no configurability, and errors are silently swallowed. The destination is a plaintext-HTTP bare IP unrelated to any publisher infrastructure, and the collected fields are installer host-identity reconnaissance data typical of the initial-recon stage of a supply-chain attack.

Source: kam193 (93043b3f00a64c66fb0680256387471b656f222556c282c9cb1680347f14fae8)

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/epic-build-scripts",
            "source": "kam193",
            "import_time": "2026-07-02T21:29:02.620098077Z",
            "modified_time": "2026-07-02T21:23:22.814482Z",
            "sha256": "93043b3f00a64c66fb0680256387471b656f222556c282c9cb1680347f14fae8",
            "versions": [
                "99999.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-008128",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T17:01:32.79050154Z",
            "modified_time": "2026-07-08T16:28:49Z",
            "sha256": "14d466b50466bb93e6e9130d18e67b680c7255beecafe16043dc5ee51bfec886",
            "versions": [
                "99999.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / epic-build-scripts

Package

Name
epic-build-scripts
View open source insights on deps.dev
Purl
pkg:pypi/epic-build-scripts

Affected ranges

Affected versions

99999.*
99999.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "7b29694a047786777ed86573566df2c6bbf02ebfbbe93e6b56b97198f4bac90f",
            "path": "epic_build_scripts/__init__.py",
            "tlsh": "c101acd2ec385982524b314888254b742237b4172e02b8b47d8c9f3c0fcc56a42b46b8"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "blake2b_256": "dcb0713b424c5264b4769a70217be429163e4d117217c60b6b537e7db1cb0839",
                "md5": "7eca6c44365b7db92d6ed3572e8377fd",
                "sha256": "d45c9df86b8c0a4328274d2fa710dfd909aa9b52ed0abb5c0e8eee0e694e1430"
            },
            "filename": "epic_build_scripts-99999.0.0.tar.gz"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/epic-build-scripts/MAL-2026-6733.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]