VYPR

pypi · Malicious package advisory

Malware

license-checker

GHSA-xhp8-xpx6-gxj6

Malicious code in license-checker (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.2`

## Source: kam193 (a636a791b9731fe5018309c2e7890934873ab4c091520d933029f170a1848592)
Package exfiltrates content of .env files to a remote target


---

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


Campaign: 2025-08-import-license-checker


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.

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/license-checker
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/license-checker/MAL-2025-47784.json
- https://github.com/advisories/GHSA-xhp8-xpx6-gxj6

Compromised versions (1)

  • = 0.1.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.