pypi · Malicious package advisory
Malwarestubsoutagn
GHSA-rp7m-rqqq-9rh4
Malicious code in stubsoutagn (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (1d6fba8f0ef8a9e8c54dd8fd281d9202994fc306f4bb614f6cf3ace71fff6164) While described as telemetry, importing the package attempts to send out some basic info as well as quite sensitive environmental variables. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-06-stubsout 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. - exfiltration-env-variables --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/stubsoutagn/MAL-2025-191880.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/stubsoutagn - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/stubsoutagn/MAL-2025-191880.json - https://github.com/advisories/GHSA-rp7m-rqqq-9rh4
Compromised versions (1)
- = 0.0.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.