# GHSA-J7G2-8PXV-8GV2: Malicious code in beautifytext (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-30
- Modified: 2026-10-08

## Affected versions

- beautifytext (PyPI): 1.0.3
- beautifytext (PyPI): 1.0.4
- beautifytext (PyPI): 1.0.7

## Description

## 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

Page: https://cve.now/GHSA-J7G2-8PXV-8GV2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
