requests-crypt (PyPI) · Malicious Code
Affects requests-cryptSource GCVE Database
Malicious package : remove requests-crypt and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to PyPI · OSV MAL-2026-14351
What to do
Remove requests-crypt 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
| Product | Affected | Fixed in |
|---|---|---|
| PyPIrequests-crypt | Affected
| 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 'requests-crypt' version 0.1.0 contains a hidden backdoor. While it advertises itself as an HTTP request library with extra features, it secretly inspects responses for specific fields and executes their content if found. This behavior constitutes malicious code embedded in the package.