VYPR

pypi · Malicious package advisory

Malware

mirage-rce

GHSA-xrqr-x265-h234

Malicious code in mirage-rce (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (f9ba7e438828f3bcacd252bc54f00732b129fe6fc8f6a9909d964720ac1e6420)
Setup.py contains a reverse shell


---

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


Campaign: 2025-02-mirage-rce


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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mirage-rce/MAL-2025-2975.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/mirage-rce
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mirage-rce/MAL-2025-2975.json
- https://github.com/advisories/GHSA-xrqr-x265-h234

Compromised versions (1)

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