pypi · Malicious package advisory
Malwarepipinpeace-env
GHSA-fpf4-fg64-rh34
Malicious code in pipinpeace-env (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.0` ## Source: kam193 (b76166abb6c7173f1cc74e41509f4ded1be2de5cea682016e00001e4e23b75a9) Package is designed to exfiltrate env variables during installation. However, it requires providing a URL as an installation parameter, which suggests it's more research than direct malicious intentions. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: GENERIC-questionable-pentest Reasons (based on the campaign): - exfiltration-env-variables - exfiltration-generic - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pipinpeace-env/MAL-2026-2026.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pipinpeace-env - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pipinpeace-env/MAL-2026-2026.json - https://github.com/advisories/GHSA-fpf4-fg64-rh34
Compromised versions (1)
- = 0.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.