MAL-2026-162
Dashboard / Malicious Package / MAL-2026-162
MAL-2026-162
Summary: Malicious code in btcli-security (PyPI)
Details: Source: kam193 (a4b868f818b1a81f5fccee1967f70c3ff9d75c218d14ec09882c576a9c2c213e) Package clones a legitimate bittensor-cli library and adds a hidden code that downloads a malicious script. The script then downloads an archive with malicious executable in the version appropriate to the system architecture, and ensures persistency by adding automatically started service entries. The remote code is a Go-based inforstealer and backdoor previously attributed to Northkorean cybercrime activities. Additionally, the library is modified to save sensitive keys in plaintext for further extraction Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-01-gztensor-cli Reasons (based on the campaign): - crypto-related - action-hidden-in-lib-usage - Downloads and executes a remote executable. - clones-real-package - peristence-autorun - typosquatting - obfuscation - backdoor - infostealer
References: https://dmpdump.github.io/posts/NorthKorea_Backdoor_Stealer/, https://www.virustotal.com/gui/file-analysis/NTk2Y2FiNTBmM2QxODI2NDRlZGM0OTA2OGVjYzUxOTk6MTc2NzYzMzkzMA==, https://www.virustotal.com/gui/file/d02d6a5da3cff57d78e260961526420c172a46f4a07d18a3865fecbf5dfebc1d/detection, https://bad-packages.kam193.eu/pypi/package/btcli-security
Affected packages
Package
Name: btcli-security
Purl: pkg:pypi/btcli-security
Affected ranges
Type: N/A
Events:
