pypi · Malicious package advisory
Malwareimport-license-checker
GHSA-x28c-q79r-35c4
Malicious code in import-license-checker (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.1` ## Source: kam193 (c41ca4c8119fa20f7f5915b34de59f879b77fedf237cbbf5a69e46ddbeded428) 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/import-license-checker/MAL-2025-191765.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/import-license-checker - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/import-license-checker/MAL-2025-191765.json - https://github.com/advisories/GHSA-x28c-q79r-35c4
Compromised versions (1)
- = 0.1.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.