Skip to main content
MalwarePublished Updated

pybitjs (PyPI) · Malicious Code

Affects pybitjsSource GCVE Database

0

Malicious package : remove pybitjs and rotate any secrets on hosts that installed it.

Data as of 10 Sep 2026, 06:38 UTC

Classification

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

ProductAffectedFixed in
PyPIpybitjsAffected
  • =0.1.0
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

Community reviews

Loading reviews…