pypi · Malicious package advisory
Malwaremecit1
GHSA-rr5j-www5-h3rp
Malicious code in mecit1 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (84c154fb79729b15ec93f3c1f10fd3e06c1c312fae05df59a32c13172536e36a) Package uses the template from https://github.com/thegoodhackertv/malpip to explore building malicious PyPI packages. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: SCRIPT_KIDDIE-thegoodhacker-paquete 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. - The package overrides the install command in setup.py to execute malicious code during installation. - Package uses simple pre-prepared tools to create a low-quality malicious action. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mecit1/MAL-2024-10042.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mecit1 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mecit1/MAL-2024-10042.json - https://github.com/thegoodhackertv/malpip - https://github.com/advisories/GHSA-rr5j-www5-h3rp
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.