MAL-2024-12287 Malicious code in hmac2 (PyPI)

Malicious package Published
Package
hmac2
Registry
PyPI

What is MAL-2024-12287?

MAL-2024-12287 is a malicious package in hmac2, published on 30 Oct 2024.

Official description

The package contains obfuscated code that exfiltrate basic data, and then executes commands delivered from remote server


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

Campaign: 2024-10-hmac2

Reasons (based on the campaign):

  • obfuscation

  • dependency-confusion

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • exfiltration-generic

What should I do about MAL-2024-12287?

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

Sources

Is MAL-2024-12287 in your software?

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

Check your SBOMs for free