Skip to content

Malicious code in beautifytext (PyPI)

Malware Published Sep 30, 2026 to the GitHub Advisory Database

Package

pip beautifytext (pip)

Affected versions

= 1.0.3
= 1.0.4
= 1.0.7

Patched versions

None

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 (source)

References

Published to the GitHub Advisory Database Sep 30, 2026
Reviewed Sep 30, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-j7g2-8pxv-8gv2

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.