Skip to content
News
MARKET SIGNAL:

Injective SDK npm Compromise Exposes Wallet-Key Theft Risk

Newsroom brief

Socket, Ox Security and StepSecurity said they detected wallet-stealing code in @injectivelabs/sdk-ts npm package version 1.20.21 after an Injective Labs contributor account was compromised. Socket said the malicious release was downloaded 310 times before deprecation, while Ox Security counted 87 direct dependencies and described a six-figure cumulative download count across dependent packages.

Verified against source materialSource: BleepingComputer
Injective SDK npm Compromise Exposes Wallet-Key Theft Risk
Image source: BleepingComputer

A compromised Injective Labs developer account pushed wallet-stealing code into a widely used npm package, putting DeFi developers at risk when they generated or imported keys with the affected SDK.

Socket, Ox Security and StepSecurity said they detected the supply-chain attack in the malicious @injectivelabs/sdk-ts npm package version 1.20.21. The researchers said the package serves developers building on the Injective blockchain and has 50,000 weekly downloads on npm.

Injective SDK npm package version 1.20.21 stole wallet keys

The affected package is the TypeScript and JavaScript SDK used to build applications on Injective, a Layer-1 blockchain focused on decentralised finance, tokenised assets and decentralised exchanges. The researchers identified cryptocurrency wallets, trading bots, decentralised exchanges, DeFi applications and payment tools as common uses for the SDK.

The researchers said a legitimate project contributor's GitHub account was taken over before suspicious commits appeared on June 8. They said the malicious npm release followed shortly afterwards, turning a normal software update path into a wallet-key exposure route.

Seventeen related packages pointed back to the compromised SDK

The researchers said the attacker also published version 1.20.21 for another 17 related project packages. Those packages pinned their dependency back to the compromised SDK version, widening the risk beyond developers who installed the SDK directly.

The researchers said the legitimate account owner detected the compromise within minutes, reverted the changes and published clean release version 1.20.23. Socket said the malicious package was downloaded 310 times before it was deprecated, not removed, and said the malicious GitHub release artifacts remained available.

Ox Security counted 87 direct dependencies

Socket said the package had 87 direct npm dependencies and likely had further transitive dependency exposure. Ox Security said those dependent packages had a six-figure cumulative download count.

Those figures describe package-ecosystem reach, not confirmed wallet theft. The public record still lacks confirmation of whether any cryptocurrency had already been transferred by the attackers.

Key generation triggered the malware

The malware did not activate simply when a developer installed the package. StepSecurity said it ran when developers used SDK functions that generated or imported wallet keys, then captured full mnemonic seed phrases and private keys.

StepSecurity said the stolen data was encoded in base64 and sent through an HTTP POST request to an Injective Labs public infrastructure endpoint so the traffic would look legitimate. StepSecurity also said the malware queued multiple keys and mnemonics briefly before sending them in the request header.

Developers who suspect exposure were advised to transfer cryptocurrency to new wallets and rotate all secrets in their environment. Affected developers, confirmed stolen-fund transfers and a complete removal date for the malicious GitHub release artifacts remain outside the Socket, Ox Security and StepSecurity accounts.

Share this article
inXf

Related articles

More
Socket Tracks 108 Malicious Packages In PolinRider Supply-Chain Attack
Cybersecurity

Socket Tracks 108 Malicious Packages In PolinRider Supply-Chain Attack

Socket reported 162 malicious release artefacts across 108 packages in the PolinRider supply-chain campaign. Victim companies remain outside the public record.

Optimizely signup flaw exposes at least 178 organisations to malicious scripts
Cybersecurity

Optimizely signup flaw exposes at least 178 organisations to malicious scripts

Attackers used Optimizely's account signup flow to inject card-skimming and cryptocurrency-stealing code. Customers disabled the tool while the company fixed the flaw.

GitHub Actions Malware Risk Returned When Old Tags Came Back Online
Cybersecurity

GitHub Actions Malware Risk Returned When Old Tags Came Back Online

Two compromised GitHub Actions were disabled again after old malicious release tags became reachable, reviving CI/CD credential-theft risk tied to Mini Shai-Hulud.

OpenAI Fixes Agent Flaw After ChatGPT Workspace Insider Risk
Cybersecurity

OpenAI Fixes Agent Flaw After ChatGPT Workspace Insider Risk

SecurityWeek reported that OpenAI fixed the AgentForger flaw in ChatGPT Workspace Agents after Zenity Labs showed how a phishing link could create a hidden autonomous agent with access to already-authorised connectors.

Cybersecurity M&A Shows Banks Preparing For Machine-Identity Risk
Cybersecurity

Cybersecurity M&A Shows Banks Preparing For Machine-Identity Risk

PYMNTS reported that cybersecurity acquisitions are concentrating on AI security, machine identities, browsers, industrial systems and fraud signals as the enterprise attack surface expands.

Microsoft Revokes 11 Secure Boot Shims After ESET Finds Bypass Risk
Cybersecurity

Microsoft Revokes 11 Secure Boot Shims After ESET Finds Bypass Risk

Ars Technica reported that ESET found 11 old UEFI shim images that Microsoft still trusted even after known defects. Microsoft revoked the shims in its June patch release, while the reason the lapse lasted for years remains outside the public account.

Detectify launches live-app testing tools with an evidence ledger for AI agents
Cybersecurity

Detectify launches live-app testing tools with an evidence ledger for AI agents

Detectify's Agentic Tooling connects customers' AI agents to live-application security tests, while a tool-written Security Ledger records the requests, payloads and results behind each finding.

Vijil DART Tests Enterprise AI Agents With Adaptive Red Teaming
Cybersecurity

Vijil DART Tests Enterprise AI Agents With Adaptive Red Teaming

Help Net Security reported that Vijil released DART, an adaptive red-teaming system that uses adversarial agents to test enterprise AI agents across tools, memory and multi-turn behavior.

Keep Reading

More Stories

Latest
Starlink claims India security compliance, but launch still needs approvalsCapital & PolicyDec 4, 2026Starlink claims India security compliance, but launch still needs approvalsStarlink says it has demonstrated compliance with India's security conditions. Its update details domestic data storage, interception controls and gateway routing while commercial service awaits approvals and spectrum.Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaCapital & PolicyDec 4, 2026Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaJensen Huang acknowledged suspected chip smuggling while denying evidence against Megaspeed. Senate committee leaders indicated they would subpoena Nvidia's board to examine his testimony.Senators question Huang over Nvidia chip controls and his return as CEOCapital & PolicyDec 4, 2026Senators question Huang over Nvidia chip controls and his return as CEOA Senate hearing examined Nvidia’s safeguards against chip diversion to China and administration contacts preceding Jensen Huang’s reinstatement. Huang denied passing confidential information to Alice Huang.Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCybersecurityDec 4, 2026Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCloudflare, Palo Alto Networks and CrowdStrike rose in Thursday premarket trading after major technology companies urged encryption upgrades following an NSA alert.Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GTelco & ConnectivityDec 4, 2026Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GLava's next Bold phones are scheduled for December 9, with a 7,000mAh battery in the 4G Pro model and a sub-Rs 15,000 price planned for the N4 5G.Isomorph raises $3.5 million to expand AI governance teams and US salesAIDec 4, 2026Isomorph raises $3.5 million to expand AI governance teams and US salesRTP Global led the seed round for Isomorph, which plans engineering expansion in Bengaluru and San Francisco and a bigger US go-to-market operation.Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesCloud & Data CentersDec 4, 2026Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesFund V targets early- and growth-stage US businesses, with Premji Invest planning support through to public markets. Its remit also includes infrastructure software and life sciences.LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceCloud & Data CentersDec 4, 2026LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceThe joint solution combines rack-level power and cooling with private connectivity. HDCO is developing an inference offering using GPUs at a solar-powered LITEON site in Texas, with South America planned next.Pangram raises $50m as Andreessen Horowitz backs AI detectionAIDec 4, 2026Pangram raises $50m as Andreessen Horowitz backs AI detectionAndreessen Horowitz led Pangram Labs’ Series A, with the New York start-up planning to accelerate research and train more advanced AI-detection models.UK advances ransomware payment ban but drops advance-notification planCybersecurityDec 3, 2026UK advances ransomware payment ban but drops advance-notification planBritain plans to bar hospitals, schools, councils and critical infrastructure operators from paying ransoms, while limiting mandatory attack reporting to medium and large organizations and requiring payment disclosure only afterward.Viettel starts selling Starlink in Vietnam with VND9.3 million kitsCapital & PolicyDec 3, 2026Viettel starts selling Starlink in Vietnam with VND9.3 million kitsViettel Telecom is offering Starlink broadband in Vietnam after obtaining a resale licence, with monthly service plans starting at VND1.59 million.Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationCapital & PolicyDec 3, 2026Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationThe draft would replace bankruptcy provisions in Qatar's 2006 Commercial Law. The Cabinet approved referring it to the Shura Council, with rehabilitation before liquidation among its aims.