caspian-client (PyPI) · Malicious Code
Affects caspian-clientSource GCVE Database
Malicious package : remove caspian-client and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 22:16 UTC
Malicious package
Published to PyPI · OSV MAL-2026-20377
What to do
Remove caspian-client 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 |
|---|---|---|
| PyPIcaspian-client | 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 caspian-client Python package versions 2.9.10 through 2.9.18 contain malicious code that executes arbitrary commands on the host system. Upon installation or import, it spawns a detached subprocess that polls a hardcoded IP address and executes received payloads, enabling remote code execution. Additionally, it collects and exfiltrates environment variables and sensitive credentials to a third-party Sentry endpoint, compromising security and privacy.
References
- pypi.org/project/caspian-client/2.9.15/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.18/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.13/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.11/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.10/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.17/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.16/ (opens in a new tab)
- pypi.org/project/caspian-client/2.9.12/ (opens in a new tab)