{"id":"MAL-2026-53","summary":"Malicious code in gztensor-cli (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6010189e23e54782200df770b6e40ed7e37284779c25f28cd145aadd9ee8b623)\nPackage clones a legitimate 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 Nordkorean cybercrime activities.\n\nThe malicious code was introduced in version 0.1.1. Besides an infostealer, the package modifies the cloned Bittensor library to collect keys.\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-06T20:21:33.724116Z","published":"2026-01-05T17:11:41Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-01-05T17:40:51.66837305Z","source":"kam193","versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.1.1"],"id":"pypi/2026-01-gztensor-cli/gztensor-cli","sha256":"19f3c00d7a3a1b03a4524168199226aa56d2a86086aeabb3ef3f1fc860f10973","modified_time":"2026-01-05T17:11:41.335176Z"},{"import_time":"2026-01-05T18:47:24.807978741Z","source":"kam193","versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.1.1","0.1.2"],"id":"pypi/2026-01-gztensor-cli/gztensor-cli","sha256":"9849e93934366bce1507e103687b8777fc90358a35173ff44ad34dc9b871c644","modified_time":"2026-01-05T17:58:50.230228Z"},{"import_time":"2026-01-06T20:08:10.752637285Z","source":"kam193","versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.1.1","0.1.2"],"id":"pypi/2026-01-gztensor-cli/gztensor-cli","sha256":"6010189e23e54782200df770b6e40ed7e37284779c25f28cd145aadd9ee8b623","modified_time":"2026-01-05T17:58:50.230228Z"}],"iocs":{"ips":["23.227.203.99"],"urls":["https://bitensor.xyz/realtek.sh"],"domains":["bitensor.xyz","cameradriver.pro"]}},"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/gztensor-cli"}],"affected":[{"package":{"name":"gztensor-cli","ecosystem":"PyPI","purl":"pkg:pypi/gztensor-cli"},"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.1.1","0.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gztensor-cli/MAL-2026-53.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}