{"id":"MAL-2026-99","summary":"Malicious code in testingpy (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (577f9c1cdb7d3ef0e010cc9e292142a11f3a84a9f1ed42f238a920e7e9617b35)\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 Northkorean cybercrime activities. In this campaign, the malicious code is not immediately introduced in the typosquatted package, but added with an update.\n\nBesides 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:22:03.840929Z","published":"2026-01-06T18:47:13Z","database_specific":{"iocs":{"urls":["https://bitensor.xyz/realtek.sh"],"ips":["23.227.203.99"],"domains":["bitensor.xyz","cameradriver.pro"]},"malicious-packages-origins":[{"versions":["0.1.3"],"source":"kam193","id":"pypi/2026-01-gztensor-cli/testingpy","modified_time":"2026-01-06T18:47:13.703158Z","import_time":"2026-01-06T20:08:10.754834869Z","sha256":"577f9c1cdb7d3ef0e010cc9e292142a11f3a84a9f1ed42f238a920e7e9617b35"}]},"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/testingpy"}],"affected":[{"package":{"name":"testingpy","ecosystem":"PyPI","purl":"pkg:pypi/testingpy"},"versions":["0.1.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testingpy/MAL-2026-99.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}