MAL-2024-12329 Malicious code in pwnstar-lib (PyPI)

Malicious package Published
Package
pwnstar-lib
Registry
PyPI

What is MAL-2024-12329?

MAL-2024-12329 is a malicious package in pwnstar-lib, 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-12329?

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

Sources

Is MAL-2024-12329 in your software?

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

Check your SBOMs for free