MAL-2026-17469

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/infrabench/MAL-2026-17469.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17469
Published
2026-10-03T16:21:40Z
Modified
2026-10-04T23:45:21Z
Summary
Malicious code in infrabench (PyPI)
Details

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

Source: amazon-inspector (97f8f2854fc15ef2f2a5d4c44b050aa9f3c87a7f5a832949390cf22ccd7882a6)

The package's public API harness.run(edge=) downloads two sha256-pinned gzipped native binaries ('inference-core.bin.gz' and 'edge-conn.bin.gz') from https:///files/, chmods them 0755, and spawns them on the installer's host. The caller-supplied edge argument chooses only the delivery CDN; the binary contents are fixed by the author via the pinned hashes. The surrounding Python code emits a synthetic, deterministic progress trace (fabricated step/loss/tok-s lines) rather than real benchmark data, so the advertised 'evaluation harness' purpose does not match the behavior of the fetched code. The JSON configuration passed to the 'inference-core' binary — pools:[{url,user,pass:'vox',keepalive,tls}], cpu:{enabled,threads,mem-locked}, cache-budget, log-period, autosave — matches the xmrig-family mining-pool client schema rather than any inference or benchmarking worker schema, and the second binary (~19MB) is invoked as 'access tcp --hostname --url 127.0.0.1:', the Cloudflare cloudflared access-tunnel CLI shape used to reach a pool endpoint behind a tunnel. A _hb() routine additionally POSTs run id, state, and up to 4000 characters of exception traceback to https:///hb as an operator heartbeat/control-plane check-in. Installing and invoking the harness causes the installer's machine to execute author-controlled native code and donate CPU to an operator-controlled mining pool under a fake benchmarking cover story.

Source: kam193 (4abc7154004498e9054ca8ac239acd73ab86815f6029ad5d52e4c883488f4c70)

The package imitates real activity and instead deploys a coin miner.


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

Campaign: 2026-10-voxeval

Reasons (based on the campaign):

  • cryptominer
Database specific
{
    "malicious-packages-origins": [
        {
            "id": "pypi/2026-10-voxeval/infrabench",
            "import_time": "2026-10-03T16:51:40.851501825Z",
            "modified_time": "2026-10-03T16:21:40.309872Z",
            "sha256": "4abc7154004498e9054ca8ac239acd73ab86815f6029ad5d52e4c883488f4c70",
            "source": "kam193",
            "versions": [
                "0.1.0",
                "0.1.1",
                "0.2.0"
            ]
        },
        {
            "id": "IN-MAL-2026-020939",
            "import_time": "2026-10-04T23:40:44.043292362Z",
            "modified_time": "2026-10-04T23:23:01Z",
            "sha256": "36dc0d39f8c45a9ebf4056b41ea346558e881f6fd826918a15c549e1754d9f36",
            "source": "amazon-inspector",
            "versions": [
                "0.2.0"
            ]
        },
        {
            "id": "IN-MAL-2026-020941",
            "import_time": "2026-10-04T23:40:44.260479758Z",
            "modified_time": "2026-10-04T23:23:23Z",
            "sha256": "71be58141faa0a9b081cc862370df995831d0869b8a9b3a82658752d2406aa96",
            "source": "amazon-inspector",
            "versions": [
                "0.1.1"
            ]
        },
        {
            "id": "IN-MAL-2026-020945",
            "import_time": "2026-10-04T23:40:44.69339598Z",
            "modified_time": "2026-10-04T23:24:01Z",
            "sha256": "97f8f2854fc15ef2f2a5d4c44b050aa9f3c87a7f5a832949390cf22ccd7882a6",
            "source": "amazon-inspector",
            "versions": [
                "0.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / infrabench

Package

Name
infrabench
View open source insights on deps.dev
Purl
pkg:pypi/infrabench

Affected ranges

Affected versions

0.*
0.1.0
0.1.1
0.2.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "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",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "infrabench/__init__.py",
            "sha256": "5296464c4c5a7b7df410d3d90460491d1e4156d679057b84fe60b1e56e91c099",
            "tlsh": "a61251f298161932c303ca5e4966e953a74e6c47ab0e6834b9fc93142fa5670c1f0fe6"
        }
    ],
    "package_integrity": [
        {
            "filename": "infrabench-0.2.0-py3-none-any.whl",
            "hashes": {
                "blake2b_256": "6af9c25edfe16a163806e4e42728db6001715a7be89f0936b9207a9ce1baf9a4",
                "md5": "ca3627a2994f5002a4fd1b1716df9bcc",
                "sha256": "e040e5c3a577a21b3c209f36d132e997752dde6726fe39d9b5945c2796bcf901"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/infrabench/MAL-2026-17469.json"