MAL-2024-12224 Malicious code in c2 (PyPI)

Malicious package Published
Package
c2
Registry
PyPI

What is MAL-2024-12224?

MAL-2024-12224 is a malicious package in c2, published on 27 Aug 2024.

Official description

Packages exfiltrate the diff of the current repository. The code in "main.py" suggests it's not a real attempt to provide AI-generated commit message, but a security research attempting to leverage typosquatting.


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: 2024-08-old-bitcommit

Reasons (based on the campaign):

  • exfiltration-generic

  • typosquatting

What should I do about MAL-2024-12224?

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

Sources

Is MAL-2024-12224 in your software?

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

Check your SBOMs for free