VYPR

pypi · Malicious package advisory

Malware

oz-merkle-tree

GHSA-pmcp-f28x-mc7h

Malicious code in oz-merkle-tree (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.8`

## Source: kam193 (732a4768703da4c9eb31465258c2df9b93dcfcf2811b78c72b62d9dbf9b10053)
The package is designed to exfiltrate basic data, like hostname and OS details, as well as collect information about the stacktrace it's imported from.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: 2024-08-moti-analytics


Reasons (based on the campaign):


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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/oz-merkle-tree/MAL-2024-10100.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/oz-merkle-tree
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/oz-merkle-tree/MAL-2024-10100.json
- https://github.com/advisories/GHSA-pmcp-f28x-mc7h

Compromised versions (1)

  • = 0.1.8

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.