MAL-2024-12219 Malicious code in bitcommit (PyPI)

Malicious package Published
Package
bitcommit
Registry
PyPI

What is MAL-2024-12219?

MAL-2024-12219 is a malicious package in bitcommit, 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-12219?

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

Sources

Is MAL-2024-12219 in your software?

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

Check your SBOMs for free