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

calculator-c08d6d50f5964131PyPI

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

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

What this malware does

Clearly research/pentesting examples containing reverse shell.

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-examples-with-revshell

Reasons (based on the campaign):

  • dependency-confusion

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

Malicious versions

1 flagged
1000.0.2

Indicators of compromise (SHA-256)

fe39991b437112af06f0775009986bf5833194a33941a4dd379605254739fe24
6343baa8b5e97a91b02979723f28035221550addc225d0e3911916a51ef5ef37
47df6dd48e50057ad0bd98ba7e2ba02535f84ac194171429fca42b0e3c4b85f4

Detection & response playbook

Backdoor / remote access
  1. Find it

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

  2. If you installed it — respond

    calculator-c08d6d50f5964131 establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If calculator-c08d6d50f5964131 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 calculator-c08d6d50f5964131 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. calculator-c08d6d50f5964131 on PyPI has been identified as a malicious package (version 1000.0.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GENERIC-examples-with-revshell

References

Credits

  • Kamil Mańkowski (kam193)

Detect & block this

O3 blocks calculator-c08d6d50f5964131-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

calculator-c08d6d50f5964131 (PyPI) malicious package — MAL-2024-12229 | O3 Security