pypi · Malicious package advisory
Malwaretextgradient
GHSA-284x-9r9r-p5rv
Malicious code in textgradient (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1` ## Source: kam193 (7fe681cdeb2892cd4e567b4ac8aeb6e0eb22885cce024238e010af54711831ec) Highly obfuscated code that during import downloads a remote script with another obfuscated code. The repository with remote script also contains clearly infostealer code --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-03-textgradient Reasons (based on the campaign): - obfuscation - Downloads and executes a remote malicious script. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/textgradient/MAL-2025-3473.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/textgradient - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/textgradient/MAL-2025-3473.json - https://github.com/advisories/GHSA-284x-9r9r-p5rv
Compromised versions (1)
- = 0.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.