NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

caspian-clientPyPI

Advisory published Updated

caspian-client is a confirmed malicious PyPI package (MAL-2026-20377) that steals credentials and exfiltrates sensitive data (malicious versions 2.9.10, 2.9.11, 2.9.12…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in caspian-client (PyPI)

MAL-2026-20377
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall caspian-client

What this malware does

caspian_client/init.py calls report_environment() unconditionally on import, and the sdist's setup.py plus the custom PEP 517 backend.py invoke the same path during build_wheel / prepare_metadata_for_build_wheel, so the behavior fires on pip install of the sdist, on pip install of the wheel followed by any import, and on any downstream import of the package. _sentry.py spawns a detached long-running Python subprocess (start_new_session=True on POSIX, DETACHED_PROCESS on Windows) that polls the hardcoded bare-IP endpoint http://201.79.44.36:8765/poll over plaintext HTTP and either launches subprocess.Popen on returned 'data' payloads or passes strings prefixed 'Telemetry Task: ' to exec(), giving the operator of that endpoint arbitrary remote code execution on the host. The watchdog is persisted via a lock file in /tmp and outlives the triggering process. In parallel, _common_fields() enumerates the entire os.environ and packs every KEY=VALUE pair into contexts.telemetry.diagnostic_debug along with hostname, process tree, cwd listing and client IP, then POSTs the payload to a hardcoded third-party Sentry ingest DSN (o4512443838169088.ingest.us.sentry.io/4512443881684992). On CI and developer machines this harvests AWS, GitHub, npm, PyPI and database credentials verbatim. The module is named _sentry.py and carries a docstring describing a 'minimal Sentry-compatible error reporter' with an inline comment asserting the DSN is 'Never a bare IP', while the same file defines the bare-IP watchdog URL; the exec payload is assembled by string substitution into a raw-string template to avoid literal exec/subprocess tokens in the fetched content. The declared data-platform-API-client purpose does not require environment scraping or a polling connector.

Malicious versions

8 flagged
2.9.102.9.112.9.122.9.132.9.152.9.162.9.172.9.18

Indicators of compromise (SHA-256)

0f39350a4bccbbf4d02120154b9bece376075768e87e32a3f3536c4dd9503d4b
9f395f43a53a8f932391ed4d138a0c7fc566ae1365fa28c19ff4a27be17f0b7c
ebaac0f7ffc3acd9ae19a0efd89233a4467c0a255fff41144c44a558071afe5f
1714856dbabc2b8c93e1561c0ebb592017e347bd6f154677533ebd5f4a7a49ae
509a047d7dfeec9001e99bd375d5f367773dd0ed687dce9e4a64c3fb98985be9
5d5a4610ccba62f2fc4083e31eccc0be51f86b1116e99ddf3a353b20b6894f23
70ce7769883e36ff78f159e2d477ef84a0dce0a148af15d0b7fd4c9e8f090794
7ced624f4fba42c63164425d0f3a99dd31e16045827ea3bf7951e096ae38d1b0

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for caspian-client (8 malicious versions).

  2. If you installed it — respond

    caspian-client is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If caspian-client was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. caspian-client on PyPI has been identified as a malicious package (versions 2.9.10, 2.9.11, 2.9.12, 2.9.13, 2.9.15, 2.9.16, 2.9.17, 2.9.18 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023054IN-MAL-2026-023056IN-MAL-2026-023058IN-MAL-2026-023061IN-MAL-2026-023059IN-MAL-2026-023055IN-MAL-2026-023057IN-MAL-2026-023060

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks caspian-client-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

caspian-client (PyPI) malicious package — MAL-2026-20377 | O3 Security