pybitjs (PyPI) · Malicious Code
Affects pybitjsSource GCVE Database
Malicious package : remove pybitjs and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 06:38 UTC
Malicious package
Published to PyPI · OSV MAL-2026-14545
What to do
Remove pybitjs 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 |
|---|---|---|
| PyPIpybitjs | 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 pybitjs package on PyPI contains malicious code that executes during installation and every Python interpreter startup. It uses obfuscated JavaScript to fetch attacker-controlled payloads via a command-and-control mechanism leveraging Ethereum blockchain transactions to dynamically determine the C2 server IP. The payload downloads and executes further malicious code, consistent with campaigns attributed to the Lazarus APT group. This allows arbitrary code execution on the host system of anyone installing or running Python with this package present.
References
- github.com/stamparm/maltrail/blob/12360952bc81865dc973e33e5033cea6e1fcc342/trails/static/malware/apt_lazarus.txt (opens in a new tab)
- etherscan.io/address/0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a (opens in a new tab)
- bad-packages.kam193.eu/pypi/package/pybitjs (opens in a new tab)
- pypi.org/project/pybitjs/0.1.0/ (opens in a new tab)
- blog.deception.pro/blog/hok-dprk-polinrider-sep-2026 (opens in a new tab)