pypi · Malicious package advisory
Malwaremath-array-tools
GHSA-q2rw-mpxf-chwx
Malicious code in math-array-tools (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.250.211` ## Source: kam193 (1b6411ce9c35210436bef6dadb284e5d89ec85c2cc17f970509aa4b5f30c2440) During installation, package exfiltrates some basic info to a GitHub issue comment, and then attempt to set up a persistent infostealer focused on exfiltrating crypto wallets and browsers data. Likely continuation of 2026-05-py-requests --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-06-alembic-util Reasons (based on the campaign): - infostealer - The package overrides the install command in setup.py to execute malicious code during installation. - crypto-related - Downloads and executes a remote malicious script. - exfiltration-browser-data - exfiltration-crypto - persistence - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/math-array-tools/MAL-2026-3705.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/math-array-tools - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/math-array-tools/MAL-2026-3705.json - https://github.com/advisories/GHSA-q2rw-mpxf-chwx
Compromised versions (1)
- = 0.250.211
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.