Skip to content
OpenAdvisories
Malicious MAL-2025-191654

pygments-richstyle

PyPI package · versions 1.0.0

Reported Oct 31, 2025 · Updated Mar 19, 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 (a965f61b1e51e6c96a8987633eaf2f23001320e4c6b884c33603230c66798e74)
Packages silently decrypt content hidden in a dependency and load them as Python extension modules.

In the first wave, those are copies of legitimate aiohttp and aiohappyeyeballs packages.
In the second wave, malicious packages created good-looking forks of legitimate rich and pigments packages.

---

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

Campaign: 2025-10-asynhttp

Reasons (based on the campaign):

- typosquatting

- exfiltration-generic

- obfuscation

- clones-real-package

- native-extension