VYPR

pypi · Malicious package advisory

Malware

xforpy

GHSA-p7x3-cvh8-4qx5

Malicious code in xforpy (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: amazon-inspector (aa4d6837b829b5ed3ef1fcd1f0bf65919df53b2c02c96e7b2c63dbc3e41b965c)
The package was found to contain malicious code or consuming dependency that contains malicious code

## Source: kam193 (6ebd6a0497e01ef631a2c357263bd1af23d88e8d9a9ae46fe39110571949198c)
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/xforpy/MAL-2026-5332.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/xforpy
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xforpy/MAL-2026-5332.json
- https://pypi.org/project/xforpy/0.0.2
- https://pypi.org/project/xforpy/0.0.3
- https://pypi.org/project/xforpy/0.0.4
- https://github.com/advisories/GHSA-p7x3-cvh8-4qx5

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.