Skip to content
OpenAdvisories
Malicious MAL-2026-3403

textwrap-formatter

PyPI package · versions 1.2.4, 1.2.5

Reported May 9, 2026 · Updated May 12, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (18da24e92fd40457ad3df2af568c07d41b35f44e6e07e8fac3bf0eafba9c2154)
During installation, obfuscated code exfiltrates cryptocurrency wallet data to a hardcoded location and places a backdoor through a new authorized SSH key. Information about the placed backdoor is sent back to the attacker, and sshd configuration is adjusted to ensure the successful remote connection.

---

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

Campaign: 2026-05-ninja-core-utils

Reasons (based on the campaign):

- The package overrides the install command in setup.py to execute malicious code during installation.

- obfuscation

- crypto-related

- exfiltration-crypto

- backdoor

Indicators of compromise

Shown defanged and not clickable. Search any indicator to find other packages using it.

URLs

IP addresses