Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

kafka-helmsmanPyPI

Advisory published Updated

kafka-helmsman is a confirmed malicious PyPI package (MAL-2026-17702) that steals credentials and exfiltrates sensitive data (malicious versions 99.0.1, 99.0.2, 99.0.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in kafka-helmsman (PyPI)

MAL-2026-17702
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall kafka-helmsman

What this malware does

The sdist for kafka-helmsman 99.0.5 is a dependency-confusion placeholder targeting the internal Tesla project name github.com/teslamotors/kafka-helmsman. setup.py contains no build logic; its top-level code starts a daemon thread that collects hostname, current working directory, os.uname output, a timestamp, and a UUID, then POSTs the JSON body to https://webhook.site/bf5cb178-e0cf-43b6-8b1e-fb5d2f6ea9c9 and additionally transmits the same payload to the OAST host jw1yrpkm5xpav.httpcollaborator.com both over HTTPS and via DNS lookups (nslookup/getent/dig) with a base64-url path. Because setup.py executes during pip metadata and wheel build, the beacon fires on any default pip install kafka-helmsman and on any resolver that evaluates the sdist. The package declares packages=[] and py_modules=[] and ships no functional kafka tooling, so an installer that mis-resolved the public name instead of the internal one receives only the exfiltration payload. README framing of the artifact as Bugcrowd/Tesla research does not change the behavior: installer-identifying data is sent to hardcoded third-party endpoints controlled by the author.

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

The OpenSSF Package Analysis project identified 'kafka-helmsman' @ 99.0.1 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Malicious versions

6 flagged
99.0.199.0.299.0.399.0.499.0.599.0.6

Indicators of compromise (SHA-256)

a2d266a2b4e9df8f2466cfb34e58fe98c636cb75d4ad1ec08cee919bd9a86588
0431384cc0de119177c0a345db1bfa2277fa4707e726176e542c0babfe1cd1f2
a99759eb9821bcb30598eea10347dd1523ce42ec1847b9b66c5ba857ccd24785
d2d1d7c99040594bd5c9bb0f23a58703e1fa5f1cd15cafbe2abb3e04aa3667be
edc880a17d2b3a9eaeadd0a074e6debc3f507d7afbd4ac8f5c4928209fadbcde
10f61c10a25e4aa02e6d142d652627c1e4f3033158e22d77e4bb5e96cf0562dd
75536e8621da28a0e941bd4a607da879a64ab71214e908992bf14840ed9a20b2
c52e0a7a9f07e1f3f9f17afa3bc2328c1743da9f3d81c421164c92282bc5fe92

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for kafka-helmsman (6 malicious versions).

  2. If you installed it — respond

    kafka-helmsman 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 kafka-helmsman 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. kafka-helmsman on PyPI has been identified as a malicious package (versions 99.0.1, 99.0.2, 99.0.3, 99.0.4, 99.0.5, 99.0.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-021263IN-MAL-2026-021239IN-MAL-2026-021261GENERIC-standard-pypi-install-pentestIN-MAL-2026-021277IN-MAL-2026-021278IN-MAL-2026-021275

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks kafka-helmsman-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

kafka-helmsman (PyPI) malicious package — MAL-2026-17702 | O3 Security