NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: 2025-10-asynhttp published 8 malicious packages. See the full campaign →
Malicious package

richxPyPI

Advisory published Updated

richx is a confirmed malicious PyPI package (MAL-2025-191658) that steals credentials and exfiltrates sensitive data (malicious versions 0.1.0, 1.0.0, 1.1.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in richx (PyPI)

MAL-2025-191658
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall richx

What this malware does

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

Malicious versions

4 flagged
0.1.01.0.01.1.01.1.1

Indicators of compromise (SHA-256)

036fba5a603820dcef3d116881967e5b16752ba12ab9defa82108ea1b9d5d74e
4c0132f75e4f988478a217acec24062b5e1fd4db594160f82753587abf21e54f
69bf6a25eb1113fcd3fb44186249000b57a995656da40d198f084fcb2fd2525b
924fa9cf3bc0754ab76a7b5960deb5b7295f4f0f3270cc5724214bdd7d543675
76a88a6f9ca106cdb5e71308ced90231e0319ebe14428736d0848d0191815a56
8b61bfdcf618edfa504103905add2cb1f4b6438931611f93a8a3ac4c6b2da9e3

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for richx (4 malicious versions).

  2. If you installed it — respond

    richx is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If richx was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. richx on PyPI has been identified as a malicious package (versions 0.1.0, 1.0.0, 1.1.0, 1.1.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2025-056342025-10-asynhttpRLUA-2026-00723

References

Credits

  • Kamil Mańkowski (kam193)
  • ReversingLabs · finder

Detect & block this

O3 blocks richx-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

richx (PyPI) malicious package — MAL-2025-191658 | O3 Security