pypi · Malicious package advisory
Malwarexfoobar
GHSA-83vf-mh22-93pw
Malicious code in xfoobar (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.5` ## Source: amazon-inspector (d82d6f4e4dba40d2e4677eb00c301bc816c8fe442704bdb9ed1f51a3d90e8f75) The package was found to contain malicious code or consuming dependency that contains malicious code ## Source: kam193 (a54c1c17d20a069af19c48751aada9e426bcbf55484c360cf21ac70f35d3d0dd) During import, the package starts a reverse shell --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-06-anthropy Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xfoobar/MAL-2026-5335.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/xfoobar - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xfoobar/MAL-2026-5335.json - https://pypi.org/project/xfoobar/0.0.5 - https://github.com/advisories/GHSA-83vf-mh22-93pw
Compromised versions (1)
- = 0.0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.