dwh-kafka-client (PyPI) · Malicious Code
Affects dwh-kafka-clientSource GCVE Database
Malicious package : remove dwh-kafka-client and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:07 UTC
Malicious package
Published to PyPI · OSV MAL-2026-10915
What to do
Remove dwh-kafka-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 |
|---|---|---|
| PyPIdwh-kafka-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 dwh-kafka-client PyPI package contains malicious code designed to download and execute remote executables using multiple fallback methods, including Cloudflare Workers and DNS TXT record retrieval. It establishes persistence by abusing Python .pth files to run on every Python start. The package also exfiltrates basic system data such as IP address and username. Version 0.0.1 contains disarmed code, with malicious functionality completed in later updates. The package overrides the install command to execute malicious code during installation and attempts to cover its tracks by removing downloaded binaries after execution.
References
- bad-packages.kam193.eu/pypi/package/dwh-kafka-client (opens in a new tab)
- virustotal.com/gui/file/06f1c2f0c66cf13ab6702414e8dce7c4115939f3e9cf95e9a8baade58961c016/detection (opens in a new tab)
- virustotal.com/gui/file/230f81f18608800912def92e18999874e004cd9fb4a554f759f77e4dd2030081/detection (opens in a new tab)
- virustotal.com/gui/file/c98444d6aebfd87f2f4412e1d7aafe8fe3fe080139ca1111049ea83fe828cd1d/detection (opens in a new tab)
- virustotal.com/gui/file/1360bb7437f5e7790747bc4e31eedcd19f88f23b20362a42368f4179b8b9e27d/detection (opens in a new tab)
- tria.ge/260720-teqmlshs6y/behavioral1 (opens in a new tab)
- pypi.org/project/dwh-kafka-client/0.0.1/ (opens in a new tab)