NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: 2024-08-embeds-RealtekHDAudioManager published 40 malicious packages. See the full campaign →
Malicious package

pykanePyPI

Advisory published Updated

pykane is a confirmed malicious PyPI package (MAL-2024-11673) that steals credentials and exfiltrates sensitive data (malicious version 0.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pykane (PyPI)

MAL-2024-11673
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall pykane

What this malware does

Importing a module starts downloading and executing an infostealer, widely identified by AV/sandboxes.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-08-embeds-RealtekHDAudioManager

Reasons (based on the campaign):

  • infostealer

  • Downloads and executes a remote executable.

Malicious versions

1 flagged
0.0.1

Indicators of compromise (SHA-256)

d16ca1a93cca13d301a45791b2bf4489fb2b6f7d10f14e32c89c7ec5b6217a8d
7c6e99592bf4b5b871de313115ecf3ada4e3adf02771f788ad009906ab644a5a
5f0e00230ef4f47cbb9d43ffd849aa41f1e4f8b192944f56fdd49e6e24e6dc8d
3941e72166b054f6fdb57e95fd8d8e88cd644a86bd387e3186531b64c9b4fa30
3e1ba76421fd72e335f39c6bb8201bfd019c0e6063f90ef026111a813028fd17

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for pykane (version 0.0.1).

  2. If you installed it — respond

    pykane 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 pykane 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. pykane on PyPI has been identified as a malicious package (version 0.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-111302024-08-embeds-RealtekHDAudioManagerRLUA-2026-00638

References

Credits

  • Kamil Mańkowski (kam193)
  • ReversingLabs · finder

Detect & block this

O3 blocks pykane-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

pykane (PyPI) malicious package — MAL-2024-11673 | O3 Security