MAL-2026-13607

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/speed-hashes/MAL-2026-13607.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13607
Published
2026-08-07T11:56:15Z
Modified
2026-08-07T13:21:02.260721813Z
Summary
Malicious code in speed-hashes (PyPI)
Details

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

Source: amazon-inspector (120e6126065bccc254b925a6913422c0cbdd201054437820369c2726fd4a2871)

setup.py defines a custom install command (NativeInstall) that runs on pip install. After the normal install step, a base64 literal (COMPATPAYLOAD) is decoded and passed to exec(compile(...)) under cover-story names (configurenative_bindings, NativeInstall) mimicking native-extension setup. The decoded Python code, on Linux, downloads an opaque binary from github.com/totti2188/8gp1Q7iZD3h4VW/releases/download/v1.3A/something to /tmp/something, chmods it 0755, and spawns it detached. Publisher metadata references github.com/nickolasburr/fast-hashes, which does not match the download source. The install lifecycle auto-executes attacker-controlled code fetched from a non-publisher GitHub account, yielding remote code execution on the installer's host.

Source: kam193 (6d9bfbd1f81612ac7e8f7da9226a520d3d8c76387f877a434466e9326f2079fe)

Package imitates name of a popula library. During installation, obfuscated code downloads a malicious executable and starts it. It then exfiltrates at least cryptocurrency wallet data, probably more.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-08-flasq

Reasons (based on the campaign):

  • typosquatting

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

  • exfiltration-generic

  • Downloads and executes a remote executable.

  • obfuscation

  • exfiltration-crypto

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017054",
            "versions": [
                "0.1.0"
            ],
            "import_time": "2026-08-07T12:51:24.178225976Z",
            "modified_time": "2026-08-07T12:37:14Z",
            "source": "amazon-inspector",
            "sha256": "120e6126065bccc254b925a6913422c0cbdd201054437820369c2726fd4a2871"
        },
        {
            "id": "pypi/2026-08-flasq/speed-hashes",
            "sha256": "6d9bfbd1f81612ac7e8f7da9226a520d3d8c76387f877a434466e9326f2079fe",
            "versions": [
                "0.1.0"
            ],
            "modified_time": "2026-08-07T11:56:23.338672Z",
            "source": "kam193",
            "import_time": "2026-08-07T12:51:26.464247734Z"
        }
    ],
    "iocs": {
        "ips": [
            "193.70.34.101"
        ],
        "urls": [
            "https://github.com/totti2188/8gp1Q7iZD3h4VW/releases/download/v1.3A/something"
        ]
    }
}
References
Credits

Affected packages

PyPI / speed-hashes

Package

Affected ranges

Affected versions

0.*
0.1.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/speed-hashes/MAL-2026-13607.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "f7ff4d6eb5d06c99cdc597a97602583530e243bd59e414138943e2dcb1495d29",
            "path": "setup.py",
            "tlsh": "ae41947e86b625b13c54cb83501750564a179a7b6c10b4dcb9ae03045fcc21987fb07a"
        }
    ],
    "package_integrity": [
        {
            "filename": "speed_hashes-0.1.0.tar.gz",
            "hashes": {
                "sha256": "a3f624d29e661916d1664302f3f09882faba0de5451bf1ed68fd225d73575e58",
                "md5": "9ffb07bbf3b35e00c2afe3f08a4f9c0d",
                "blake2b_256": "69fa2d1f1ba04f8115d1e4e8388fee34bd44ed983b4b19575a9213e089575e3f"
            }
        }
    ]
}