Advisory

MAL-2026-11197

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in ai-perf-toolkit (PyPI)

Details

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

Source: amazon-inspector (0fa8502570fe8566174dd7979e56a999f3ea7d6bf4f7f5a4f9f6ee579df96b83)
On import, the package's top-level __init__.py starts a background daemon thread that spawns xmrig via subprocess.Popen against pool.minexmr.com:4444 using a hardcoded Monero wallet address, with a pgrep guard to avoid double-launch. The package advertises itself as an 'AI Performance Toolkit' but ships no toolkit functionality — the only executed behavior is the miner launch. Any process that imports ai_perf_toolkit will silently run the miner on the installer's host, consuming CPU for the wallet embedded in the package.

Source: kam193 (41d25387636c9b0b89a404304d079c30ad28bda33bb551e551cb9e15a75c00ba)
During import, the package starts cryptomining for a hardcoded wallet. The mining software has to already be installed.

---

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

Campaign: 2026-07-ai-perf-toolkit

Reasons (based on the campaign):

  • cryptominer

Severity

Not rated by the source.

Dates

Published
2026-07-30 17:15 UTC
Modified
2026-08-04 22:05 UTC

Affected packages and fixes

ai-perf-toolkit

PyPI · All systems

Affected

  • Versions: 2.4.2

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences