{"id":"MAL-2026-162","summary":"Malicious code in btcli-security (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a4b868f818b1a81f5fccee1967f70c3ff9d75c218d14ec09882c576a9c2c213e)\nPackage 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\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-01-gztensor-cli\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - Downloads and executes a remote executable.\n\n\n - clones-real-package\n\n\n - peristence-autorun\n\n\n - typosquatting\n\n\n - obfuscation\n\n\n - backdoor\n\n\n - infostealer\n","modified":"2026-01-08T11:54:17.475281Z","published":"2026-01-08T10:55:10Z","database_specific":{"iocs":{"domains":["bitensor.xyz","cameradriver.pro"],"ips":["23.227.203.99"],"urls":["https://bitensor.xyz/realtek.sh"]},"malicious-packages-origins":[{"source":"kam193","versions":["1.1.0","1.1.1","1.1.2"],"id":"pypi/2026-01-gztensor-cli/btcli-security","import_time":"2026-01-08T11:37:55.902536891Z","modified_time":"2026-01-08T10:55:10.111128Z","sha256":"a4b868f818b1a81f5fccee1967f70c3ff9d75c218d14ec09882c576a9c2c213e"}]},"references":[{"type":"WEB","url":"https://dmpdump.github.io/posts/NorthKorea_Backdoor_Stealer/"},{"type":"WEB","url":"https://www.virustotal.com/gui/file-analysis/NTk2Y2FiNTBmM2QxODI2NDRlZGM0OTA2OGVjYzUxOTk6MTc2NzYzMzkzMA=="},{"type":"EVIDENCE","url":"https://www.virustotal.com/gui/file/d02d6a5da3cff57d78e260961526420c172a46f4a07d18a3865fecbf5dfebc1d/detection"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/btcli-security"}],"affected":[{"package":{"name":"btcli-security","ecosystem":"PyPI","purl":"pkg:pypi/btcli-security"},"versions":["1.1.0","1.1.1","1.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/btcli-security/MAL-2026-162.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}