Advisory

MAL-2024-12287

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in hmac2 (PyPI)

Details

---
_-= Per source details. Do not edit below this line.=-_

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

Severity

Not rated by the source.

Dates

Published
2024-10-30 18:55 UTC
Modified
2025-12-31 02:54 UTC

Affected packages and fixes

hmac2

PyPI · All systems

Affected

  • Versions: 0.0.1, 0.0.2, 0.0.2rc0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences