Skip to main content
MalwarePublished Updated

xforpy (PyPI) · Malicious Code

Affects xforpySource GCVE Database

0

Malicious package : remove xforpy and rotate any secrets on hosts that installed it.

Data as of 9 Jul 2026, 10:03 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-5332

What to do

Remove xforpy from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIxforpyAffected
  • 0.0.1 – 0.0.4
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The xforpy package on PyPI versions 0.0.1 through 0.0.4 contains malicious code that initiates a reverse shell upon import. This behavior allows an attacker to execute arbitrary commands on the victim's machine. The package is classified as malicious with clear intent to compromise systems. No official patch or remediation is currently documented.

References

Community reviews

Loading reviews…