MAL-2024-12229 Malicious code in calculator-c08d6d50f5964131 (PyPI)

Malicious package Published
Package
calculator-c08d6d50f5964131
Registry
PyPI

What is MAL-2024-12229?

MAL-2024-12229 is a malicious package in calculator-c08d6d50f5964131, published on 30 Aug 2024.

Official description

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.

What should I do about MAL-2024-12229?

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

Sources

Is MAL-2024-12229 in your software?

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

Check your SBOMs for free