VYPR

pypi · Malicious package advisory

Malware

torhc

GHSA-35jm-62gg-6r6p

Malicious code in torhc (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1`

## Source: kam193 (385cb451ed567a10096fce231790d6a9bce59bb47c8d7bdfff5a8f4aaa0854ed)
During installation, a cryptominer is secretly installed and started.


---

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


Campaign: 2024-09-bondonioanderas-cryptominer


Reasons (based on the campaign):


 - cryptominer


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


 - obfuscation

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/torhc
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/torhc/MAL-2024-11732.json
- https://github.com/advisories/GHSA-35jm-62gg-6r6p

Compromised versions (1)

  • = 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.