Executive Summary
In July 2026, threat actors compromised the GitHub repository of Injective Labs' SDK project, leading to the publication of a malicious npm package, @injectivelabs/sdk-ts@1.20.21. This package contained code designed to exfiltrate cryptocurrency wallet private keys and mnemonic seed phrases by embedding fake telemetry functionality. The malicious version was released on July 8, 2026, and remained available for download until its deprecation. The attackers utilized a developer's GitHub account with a history of contributions to introduce the malicious code, which was then propagated across 17 additional @injectivelabs scoped packages, affecting numerous downstream users.
This incident underscores the escalating threat of supply chain attacks targeting open-source repositories. The sophisticated nature of the attack, involving legitimate contributor accounts and widespread package dependencies, highlights the urgent need for enhanced security measures in software development pipelines to prevent similar breaches.
Why This Matters Now
The Injective Labs incident highlights the increasing sophistication of supply chain attacks, emphasizing the need for robust security practices in open-source development to protect against unauthorized code injections and safeguard sensitive user data.
Attack Path Analysis
Attackers compromised Injective Labs' GitHub repository, injecting malicious code into the SDK to exfiltrate cryptocurrency wallet keys. The malicious package was published to npm, leading to unauthorized access and potential theft of sensitive data.
Kill Chain Progression
Initial Compromise
Description
Attackers gained unauthorized access to Injective Labs' GitHub repository and injected malicious code into the SDK.
MITRE ATT&CK® Techniques
Compromise Software Dependencies and Development Tools
Credentials from Web Browsers
Valid Accounts
Obfuscated Files or Information
Exfiltration Over C2 Channel
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure all system components are protected from known vulnerabilities
Control ID: 6.2
NYDFS 23 NYCRR 500 – Cybersecurity Policy
Control ID: 500.03
DORA – ICT Risk Management Framework
Control ID: Article 5
CISA ZTMM 2.0 – Implement supply chain risk management practices
Control ID: Supply Chain Risk Management
NIS2 Directive – Cybersecurity Risk Management Measures
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Supply chain attacks targeting npm packages directly threaten software development pipelines, requiring enhanced egress security and zero trust segmentation for development environments.
Financial Services
Cryptocurrency wallet key theft through compromised SDK packages poses critical asset protection risks, necessitating secure hybrid connectivity and threat detection capabilities.
Banking/Mortgage
Malicious npm packages stealing financial credentials highlight vulnerabilities in third-party dependencies, requiring multicloud visibility and encrypted traffic inspection for regulatory compliance.
Computer/Network Security
GitHub repository compromises demonstrate supply chain attack vectors affecting security tooling integrity, demanding cloud firewall controls and anomaly detection for protection frameworks.
Sources
- Injective Labs GitHub Compromise Pushes Wallet-Key-Stealing npm Packageshttps://thehackernews.com/2026/07/injective-labs-github-compromise-pushes.htmlVerified
- Injective SDK on npm infected with cryptocurrency wallet stealerhttps://www.bleepingcomputer.com/news/security/injective-sdk-on-npm-infected-with-cryptocurrency-wallet-stealer/amp/Verified
- Injectivelabs npm Package Hijacked, Impacting 87 Dependent Packageshttps://www.ox.security/blog/injectivelabs-npm-package-hijacked-impacting-87-dependent-packages/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it enforces strict segmentation and controlled egress, which would likely limit the attacker's ability to move laterally and exfiltrate sensitive data.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: The attacker's ability to access and modify the GitHub repository would likely be constrained, reducing the risk of unauthorized code injection.
Control: Zero Trust Segmentation
Mitigation: The malicious code's ability to access sensitive wallet information would likely be constrained, reducing the risk of unauthorized data access.
Control: East-West Traffic Security
Mitigation: The attacker's ability to distribute the compromised SDK across multiple npm packages would likely be constrained, reducing the risk of widespread impact.
Control: Multicloud Visibility & Control
Mitigation: The malware's ability to communicate with an external server would likely be constrained, reducing the risk of data exfiltration.
Control: Egress Security & Policy Enforcement
Mitigation: The transmission of sensitive wallet keys to the attacker's server would likely be constrained, reducing the risk of data exfiltration.
The potential for unauthorized access and theft of cryptocurrency assets would likely be constrained, reducing the overall impact of the attack.
Impact at a Glance
Affected Business Functions
- Cryptocurrency Wallet Development
- Decentralized Exchange Platforms
- DeFi Application Development
- Payment Processing Tools
Estimated downtime: 1 days
Estimated loss: N/A
Potential exposure of cryptocurrency wallet private keys and mnemonic seed phrases.
Recommended Actions
Key Takeaways & Next Steps
- • Implement Zero Trust Segmentation to restrict access between development environments and production systems.
- • Enhance Threat Detection & Anomaly Response capabilities to identify unauthorized code changes in repositories.
- • Utilize Inline IPS (Suricata) to detect and prevent malicious code execution within the network.
- • Enforce Egress Security & Policy Enforcement to monitor and control outbound traffic, preventing data exfiltration.
- • Conduct regular security audits and code reviews to identify and remediate vulnerabilities in the software supply chain.



