VYPR

pypi · Malicious package advisory

Malware

mecit3

GHSA-3mgp-9gf9-fgj8

Malicious code in mecit3 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (3b0998e3b9d6f9e46cd475fa5a18c38a48f7e3e72d02350d7431375fad7dd871)
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/mecit3/MAL-2024-10044.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/mecit3
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mecit3/MAL-2024-10044.json
- https://github.com/thegoodhackertv/malpip
- https://github.com/advisories/GHSA-3mgp-9gf9-fgj8

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.