paysafe-api (PyPI) · Malicious Code
Affects paysafe-apiSource GCVE Database
Malicious package : remove paysafe-api and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to PyPI · OSV MAL-2026-6926
What to do
Remove paysafe-api 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 |
|---|---|---|
| PyPIpaysafe-api | 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 paysafe-api package version 1.0.0 on PyPI contains malicious code that exfiltrates basic data and parts of sensitive environment variables to a remote host. It employs obfuscation techniques and detects sandbox environments to evade analysis. This package is involved in a dependency confusion campaign and hides malicious actions within its library usage.