VYPR

pypi · Malicious package advisory

Malware

tonetext

GHSA-3vxf-cr9q-44r8

Malicious code in tonetext (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.1`

## Source: kam193 (c46725ad6c88079cce4f7fa4a29175fec7f78ea83344da99d0f02ac4f020fcf3)
When imported, the code embedded into the exception class downloads a remote file, and runs it by importing, and attempts to cover tracks by overwriting itself, removing caches and other related files.


---

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


Campaign: 2025-03-tonetext


Reasons (based on the campaign):


 - Downloads and executes a remote malicious script.


 - obfuscation

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/tonetext/MAL-2025-191906.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/tonetext
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/tonetext/MAL-2025-191906.json
- https://github.com/advisories/GHSA-3vxf-cr9q-44r8

Compromised versions (1)

  • = 0.1.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.