VYPR

pypi · Malicious package advisory

Malware

kersa

GHSA-5qw2-59gv-x699

Malicious code in kersa (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1`

## Source: kam193 (d622fba4f0f9e74871fb87964bdc3818e244e0f9669a814ae71b923ff699e9be)
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/kersa/MAL-2024-11621.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/kersa
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/kersa/MAL-2024-11621.json
- https://github.com/advisories/GHSA-5qw2-59gv-x699

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.