A significant software supply chain attack has targeted the cryptocurrency development community. On July 9, 2026, a malicious version of the official Injective Labs Software Development Kit (SDK), packaged as @injectivelabs/sdk-ts, was published to the npm registry. Threat actors reportedly compromised the project's GitHub repository, using this access to push the poisoned package. The malware embedded within the SDK is an infostealer specifically crafted to find and exfiltrate cryptocurrency wallet private keys and mnemonic seed phrases from developers' systems. This attack underscores the persistent threat to open-source ecosystems and the high value placed on developer credentials and assets by malicious actors.
The attack leverages the trust developers place in official software packages from public registries like npm. By compromising a legitimate and widely used package, the attackers can distribute their malware to a large number of downstream targets who unwittingly install the malicious version.
The attack vector was the compromise of the Injective Labs GitHub repository. With control over the source code and publishing credentials, the threat actors were able to inject their malicious code and publish a new version of the @injectivelabs/sdk-ts package. The malware's payload is highly targeted, focusing on stealing secrets that would give the attackers complete control over developers' cryptocurrency assets. This type of attack is particularly dangerous because the malicious code is executed in a trusted development environment, often with elevated privileges.
This incident is not isolated. It follows a pattern of recent supply chain attacks, including the 'Shai-Hulud' malware on PyPI and compromised Laravel Lang packages, indicating a concerted effort by threat actors to exploit the software development lifecycle.
The attack is a classic example of a software supply chain compromise.
T1195.001 - Compromise Software Development Environment.T1195.002 - Compromise Software Supply Chain..env files, wallet backups, etc.) and exfiltrates them to an attacker-controlled server. This corresponds to T1552.001 - Credentials In Files and T1041 - Exfiltration Over C2 Channel.This attack highlights the critical need for security controls not just in production, but within the development environment itself. A single compromised developer account can lead to a widespread supply chain incident affecting thousands of users.
The direct impact is the financial loss for developers whose cryptocurrency wallets are compromised. The stolen private keys and seed phrases grant the attackers irreversible control over the victims' assets. The secondary impact is reputational damage to Injective Labs and a further erosion of trust in the npm ecosystem. For projects and companies that use the compromised SDK, this incident could lead to the compromise of their own systems or customer funds if the stolen developer credentials provided access to production environments. All developers who have used the @injectivelabs/sdk-ts package recently must assume their environments are compromised and take immediate action to rotate keys and transfer assets.
No specific file hashes, IP addresses, or domains were provided in the source articles.
Developers and security teams can look for the following signs of compromise:
package-lock.json@injectivelabs/sdk-ts or unexpected new dependencies.Unusual outbound connectionsnpm install or application runtime to unknown domains or IPs.npm install @injectivelabs/sdk-ts@<malicious_version>CI/CD Pipeline Logsnpm audit, Snyk, or Mend to scan package.json and package-lock.json for known malicious package versions. This is a form of D3FEND's System File Analysis (D3-SFA).npm install command should not be making outbound network connections to arbitrary endpoints. Sandboxing build steps can help detect and block this behavior.package-lock.json or npm-shrinkwrap.json to lock down the specific, vetted versions of dependencies. This prevents the automatic installation of a newly published malicious version.New details on Injective Labs SDK npm attack: malicious version 1.20.21 identified, exfiltration via X-Request-Id header, runtime execution, 310 downloads before removal.
Further analysis of the Injective Labs SDK supply chain attack reveals specific details. Malicious version 1.20.21, along with 18 other related packages, was identified. The malware exfiltrated stolen private keys and seed phrases by encoding them within the 'X-Request-Id' HTTP header. This sophisticated attack executed at runtime, hooking into core wallet functions like PrivateKey.fromMnemonic and PrivateKey.fromHex, rather than during installation. The malicious package was active for 49 minutes and downloaded 310 times before being removed, highlighting the rapid response but also the potential reach of such compromises. New MITRE ATT&CK mappings and hunting hints are provided.
A malicious version of the @injectivelabs/sdk-ts package is discovered on the npm registry.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.