VYPR

pypi · Malicious package advisory

Malware

genz-translator

GHSA-7hgr-542q-7xv7

Malicious code in genz-translator (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 9000.0.1`

## Source: kam193 (983b5b328e433d81113b3e170f313aba83ae5eff0ecd515fc9865ca3a5be1ee9)
Installing the package installs a reverse shell. As the mentioned domain doesn't seem to exist, it may be a test designed for an internal usage


---

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


Campaign: 2024-12-genz-translator


Reasons (based on the campaign):


 - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.


 - The package overrides the install command in setup.py to execute malicious code during installation.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/genz-translator/MAL-2024-12275.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/genz-translator
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/genz-translator/MAL-2024-12275.json
- https://github.com/advisories/GHSA-7hgr-542q-7xv7

Compromised versions (1)

  • = 9000.0.1

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