VYPR

pypi · Malicious package advisory

Malware

simple-mali-pkg

GHSA-2fqx-jf92-5gc3

Malicious code in simple-mali-pkg (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.0`

## Source: kam193 (c9629656d765c03a690cd0d32598fac52e66c8f5c82dae9405280ee04e1b0280)
Series of packages mostly with an obfuscated infostealer attempting to collect Chrome data. While discord webhook is usually set to an example, there are other, correct uploading URLs 

Some of related packages only test partial malicious code, like webhooks from overwritten setup.py


---

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


Campaign: 2025-07-0x9xnx


Reasons (based on the campaign):


 - infostealer


 - obfuscation


 - exfiltration-browser-data


 - exfiltration-crypto


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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/simple-mali-pkg/MAL-2025-6585.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/simple-mali-pkg
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/simple-mali-pkg/MAL-2025-6585.json
- https://www.fortinet.com/blog/threat-research/malicious-packages-across-open-source-registries
- https://github.com/advisories/GHSA-2fqx-jf92-5gc3

Compromised versions (1)

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