Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

evil-packagePyPI

Malicious code in evil-package (PyPI) Remove it immediately and rotate any exposed credentials.

MAL-2024-10023
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall evil-package

What this malware does

Category: PENTEST - Packages with high confidence of being created for a pentest.

Campaign: TEST-PACKAGES

Reasons (based on the campaign):

Malicious versions

3 flagged
0.0.10.0.20.0.3

Indicators of compromise (SHA-256)

547ec54cea99925ceacfdc9a45a65648ac954c0a3dbe8f2c7249b373e842c354
ab19fa9ea094361c91cc61de34e9b9c01d35a514f1511f8f7ce62d5bbd65d91b
a6fe9e1f81afbcfb5f8f0d260af0434649c77b11d353d3264c7022e763767d43
391940fe0f66d0248dc84019d20b221a3340bd66a93e0639baabee249af6e9f3
c4ced34b36c49ff9a4b0d0b0da3ee67767d0dcab67b0142eca31aecf531fddf3

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for evil-package (3 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging evil-package across your stack and pipelines.

  2. If you installed it — respond

    Remove evil-package from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If evil-package was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks evil-package before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. evil-package on PyPI has been identified as a malicious package (versions 0.0.1, 0.0.2, 0.0.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-08254TEST-PACKAGESRLUA-2026-00301

References

Credits

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

Detect & block this

O3 blocks evil-package-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

evil-package (PyPI) malicious package — MAL-2024-10023 | O3 Security