pypi · Malicious package advisory
Malwarebeautifytext
GHSA-j7g2-8pxv-8gv2
Malicious code in beautifytext (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.3` ## Source: kam193 (cba19cfc0b2bdeec177fafdffa10e730769079a14ece3bb4740bfc0ded9fef3b) During import, the package silently spans a separate process that waits for and executes remote commands. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-07-beautifytext Reasons (based on the campaign): - rat - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5ad398ba5ee1ca9ee8e74853f5473cd252519963/osv/malicious/pypi/beautifytext/MAL-2026-17417.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/beautifytext - https://github.com/ossf/malicious-packages/blob/5ad398ba5ee1ca9ee8e74853f5473cd252519963/osv/malicious/pypi/beautifytext/MAL-2026-17417.json - https://github.com/ossf/malicious-packages/blob/4b12be882e55031db14592a3d9b726e40ca4d548/osv/malicious/pypi/beautifytext/MAL-2026-17417.json - https://github.com/ossf/malicious-packages/blob/018b297d9bd9492d29ff3fdcaba9ca4c79753d55/osv/malicious/pypi/beautifytext/MAL-2026-17417.json - https://pypi.org/project/beautifyText/1.0.3 - https://pypi.org/project/beautifyText/1.0.4 - https://pypi.org/project/beautifyText/1.0.7 - https://github.com/advisories/GHSA-j7g2-8pxv-8gv2
Compromised versions (1)
- = 1.0.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.