Skip to content
OpenAdvisories
Malicious MAL-2024-12287

hmac2

PyPI package · versions 0.0.1, 0.0.2, 0.0.2rc0

Reported Oct 30, 2024 · Updated Dec 31, 2025

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (055915f62eab8a5fe37b7501a3ed565a2aba267bdd69e82acaa13525bacf41a1)
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

Indicators of compromise

Shown defanged and not clickable. Search any indicator to find other packages using it.

IP addresses