Malicious code in pybitjs (PyPI)
Malware
Published
Aug 26, 2026
to the GitHub Advisory Database
•
Updated Aug 27, 2026
Description
Published to the GitHub Advisory Database
Aug 26, 2026
Reviewed
Aug 26, 2026
Last updated
Aug 27, 2026
Source: kam193 (8cf3b72788a1ad482702768ea3b7f958793a0997cf77342578c31bc6dcfd23c8)
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
Credit: OpenSSF (source)
References