Skip to main content
MalwarePublished

0requests (PyPI) · Malicious Code

Affects 0requestsSource GCVE Database

0

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

Data as of 7 Sep 2026, 16:08 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-15859

What to do

Remove 0requests 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
PyPI0requestsAffected
  • =0.0.1
Fixed in–

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

Description

The PyPI package '0requests' is a typosquatting variant of the popular 'requests' package that contains malicious code. Upon import, it collects environment variables with names suggesting sensitive credentials and exfiltrates them to a host and port specified by environment variables. It also spawns a subprocess providing a remote shell to the attacker. Analysis indicates the exfiltration target was localhost, suggesting a test or low-harm scenario.

References

Community reviews

Loading reviews…