NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

pitest117PyPI

Advisory published Updated

pitest117 is a confirmed malicious PyPI package (MAL-2024-12326) that executes malicious code on install (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pitest117 (PyPI)

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

What this malware does

Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-simple-tests

Reasons (based on the campaign):

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

Malicious versions

12 flagged
1.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.1.11.1.2

Indicators of compromise (SHA-256)

c3bf9319a2e230bc6fa4d1aaa812a56ad10b5edf7e920d497f6d6ad10c2de256
43f26cba5babf757388adacc9a7c7affeb182356ccf10416c13e9826e6eaf9a4
76a9f39bd8a14389b4e9842a4d338e4528db058c52636750daab15fe6853642f
cac4a1a98fc7a1e15789421f2ef9465d579ad5311120c79189e733a0dc767e3d

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for pitest117 (12 malicious versions).

  2. If you installed it — respond

    Remove pitest117 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 pitest117 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. pitest117 on PyPI has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, and 4 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GENERIC-simple-tests

References

Credits

  • Kamil Mańkowski (kam193)

Detect & block this

O3 blocks pitest117-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.

Explore

pitest117 (PyPI) malicious package — MAL-2024-12326 | O3 Security