pypi · Malicious package advisory
Malwarefaest
GHSA-mj77-7q6j-xr37
Malicious code in faest (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.14.6` ## Source: kam193 (f66b290465d72fc55bce4fef4200ebea68c430be84cdcbbabec5263958041781) When using this library to do any request, a "validate_origin" function is called (L1320 in _client.py). This method, located in _utils.py, collects all request data, tries also read /etc/shadow using Docker container, and sends them to an endpoint controlled by the package author. The package seems to be a clone of httpx and also informs in the README that it's a malicious library, as so, it seems to be a malicious research attempts. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-09-old-faest Reasons (based on the campaign): - exfiltration-generic - action-hidden-in-lib-usage - clones-real-package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/faest/MAL-2024-12269.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/faest - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/faest/MAL-2024-12269.json - https://github.com/advisories/GHSA-mj77-7q6j-xr37
Compromised versions (1)
- = 0.14.6
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.