MAL-2025-191654 Malicious code in pygments-richstyle (PyPI)

Malicious package Published
Package
pygments-richstyle
Registry
PyPI

What is MAL-2025-191654?

MAL-2025-191654 is a malicious package in pygments-richstyle, published on 31 Oct 2025.

Official description

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

What should I do about MAL-2025-191654?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-191654 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free