{"id":"MAL-2026-17469","title":"Malicious code in infrabench (PyPI)","summary":"Malicious code in infrabench (PyPI)","severity":"critical","exploited":true,"vendor":"infrabench","product":"infrabench","ecosystem":"pip","affected":["infrabench"],"published":"2026-10-03","updated":"2026-10-04","sourceUpdated":"2026-10-04T23:45:21.374960027Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17469","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/infrabench"},{"url":"https://pypi.org/project/infrabench/0.2.0/"},{"url":"https://pypi.org/project/infrabench/0.1.1/"},{"url":"https://pypi.org/project/infrabench/0.1.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-04T07:27:31.033Z","slug":"MAL-2026-17469","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (97f8f2854fc15ef2f2a5d4c44b050aa9f3c87a7f5a832949390cf22ccd7882a6)\nThe package's public API harness.run(edge=<host>) downloads two sha256-pinned gzipped native binaries ('inference-core.bin.gz' and 'edge-conn.bin.gz') from https://<edge>/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 <host> --url 127.0.0.1:<port>', 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://<edge>/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.\n\n## Source: kam193 (4abc7154004498e9054ca8ac239acd73ab86815f6029ad5d52e4c883488f4c70)\nThe package imitates real activity and instead deploys a coin miner.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-voxeval\n\n\nReasons (based on the campaign):\n\n\n - cryptominer\n\n\n## Affected packages\n\n- `infrabench`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}