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

pybitjsPyPI

Advisory published Updated

pybitjs is a confirmed malicious PyPI package (MAL-2026-14545) that steals credentials and exfiltrates sensitive data (malicious version 0.1.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pybitjs (PyPI)

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

What this malware does

The package's setuptools cmdclasses (BuildPy, Develop) invoke node pybitjs/js/main.js during pip install, and write a pybitjs.pth file containing import pybitjs._autorun; pybitjs._autorun.run_main_js_once() so the same Node.js payload is re-executed on every subsequent Python interpreter startup. The bundled pybitjs/js/main.js is heavily string-array obfuscated (obfuscator.io style _0x240a / _0x4963) and implements an EtherHiding-style C2: it queries Ethereum JSON-RPC endpoints (drpc.org, publicnode.com, blockscout, etherscan-like API) for transactions involving the hardcoded address 0xa322E5f3..., extracts an IPv4 from the transaction data, HTTP-fetches an XOR-encrypted blob from that IP, decrypts it, and passes the decrypted content to eval(...) and to spawn('node', ['-e', <payload>], {detached:true}).unref(). Because the C2 host is dereferenced from an on-chain transaction, the destination is attacker-mutable, and installing or launching Python with this package present causes arbitrary attacker-controlled code to be fetched and executed on the installer's host.

Package embeds obfuscated, JS-based malware downloading further remote stages. The code is triggered during building the package and on every Python startup (via PTH file). The next-stage IP is delivered via a blockchain.

The payload and embedded IoCs are consistent with campaigns attributed to Lazarus APT/PolinRider.

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

Campaign: 2026-08-pybitjs

Reasons (based on the campaign):

  • obfuscation

  • Downloads and executes a remote malicious script.

  • malware

  • abuses-pth

  • c2-in-blockchain

Malicious versions

1 flagged
0.1.0

Indicators of compromise (SHA-256)

8cf3b72788a1ad482702768ea3b7f958793a0997cf77342578c31bc6dcfd23c8
611713d33cb9efee440b0a416812cbb2ceda3d43c0cdc73c1f8b353400209df5
18f11deaa4f06fdc35d3628f48215fb39f3ced940e998beb2181759687950566

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for pybitjs (version 0.1.0).

  2. If you installed it — respond

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

Campaign

2026-08-pybitjsIN-MAL-2026-018762

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter

Detect & block this

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

pybitjs (PyPI) malicious package — MAL-2026-14545 | O3 Security