MAL-2024-12359 Malicious code in test-packages1 (PyPI)

Malicious package Published
Package
test-packages1
Registry
PyPI

What is MAL-2024-12359?

MAL-2024-12359 is a malicious package in test-packages1, published on 6 Sep 2024.

Official description

Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: GENERIC-questionable-pentest

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-generic

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

  • typosquatting

What should I do about MAL-2024-12359?

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

Sources

Is MAL-2024-12359 in your software?

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

Check your SBOMs for free