Executive Summary
In June 2026, cybersecurity researchers identified a sophisticated supply chain attack involving hijacked npm and Go packages designed to deploy a Python-based information stealer across Windows, Linux, and macOS systems. The attackers embedded malicious code within Visual Studio Code (VS Code) tasks, configured to execute automatically when a project folder was opened. This method bypassed traditional npm execution paths, allowing the malware to retrieve encrypted JavaScript from blockchain transactions, establish a backdoor via socket.io, and ultimately deploy the Python infostealer. The compromised npm packages, 'html-to-gutenberg' and 'fetch-page-assets', were uploaded on May 25, 2026, and have since been removed from the registry.
This incident underscores a growing trend of attackers exploiting development environments and tools to infiltrate systems, highlighting the need for enhanced security measures within the software supply chain. The use of blockchain as a resilient command-and-control mechanism further complicates detection and mitigation efforts, emphasizing the importance of vigilance and proactive defense strategies among developers and organizations.
Why This Matters Now
The exploitation of development tools like VS Code and package managers such as npm and Go poses a significant threat to the integrity of the software supply chain. As attackers continue to innovate, leveraging trusted environments to deploy malware, it is imperative for developers and organizations to implement stringent security protocols, conduct regular audits of dependencies, and stay informed about emerging threats to prevent potential compromises.
Attack Path Analysis
Attackers compromised npm and Go packages to deploy a Python-based infostealer across multiple operating systems. They utilized VS Code tasks to execute malicious code upon opening the project folder. The malware established a backdoor via Socket.io, enabling remote control and data exfiltration.
Kill Chain Progression
Initial Compromise
Description
Attackers published malicious npm and Go packages that, when installed, introduced a hidden VS Code task configured to execute upon opening the project folder.
MITRE ATT&CK® Techniques
User Execution: Malicious Library
Supply Chain Compromise: Compromise Software Dependencies and Development Tools
Command and Scripting Interpreter: Python
Scheduled Task/Job: Scheduled Task
Indicator Removal: File Deletion
File and Directory Discovery
Exfiltration Over C2 Channel
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure the integrity of software and scripts
Control ID: 6.3.2
NYDFS 23 NYCRR 500 – Cybersecurity Policy
Control ID: 500.03
DORA – ICT Risk Management Framework
Control ID: Article 5
CISA ZTMM 2.0 – Applications and Workloads
Control ID: Pillar 3
NIS2 Directive – Supply Chain Security
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 and Go packages directly compromise software development workflows, requiring enhanced egress security and zero trust segmentation for development environments.
Information Technology/IT
Cross-platform Python infostealer through hijacked packages threatens IT infrastructure management, necessitating multicloud visibility and threat detection capabilities for comprehensive protection.
Financial Services
Information stealing malware targeting development tools poses severe data exfiltration risks to financial systems, requiring encrypted traffic controls and strict compliance adherence.
Health Care / Life Sciences
Supply-chain compromise of development packages threatens HIPAA compliance through potential data exfiltration, demanding enhanced threat detection and secure hybrid connectivity measures.
Sources
- Hijacked npm and Go Packages Use VS Code Tasks to Deploy Python Infostealerhttps://thehackernews.com/2026/06/hijacked-npm-and-go-packages-use-vs.htmlVerified
- Typosquatted npm packages used to steal cloud and CI/CD secretshttps://www.microsoft.com/en-us/security/blog/2026/05/28/typosquatted-npm-packages-used-steal-cloud-ci-cd-secrets/Verified
- Malicious NPM packages fetch infostealer for Windows, Linux, macOShttps://www.bleepingcomputer.com/news/security/malicious-npm-packages-fetch-infostealer-for-windows-linux-macos/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it likely limits the attacker's ability to move laterally and exfiltrate data by enforcing strict workload segmentation and controlled egress policies.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: The attacker's ability to execute malicious code upon opening the project folder would likely be constrained, reducing the risk of initial compromise.
Control: Zero Trust Segmentation
Mitigation: The attacker's ability to escalate privileges by executing disguised code would likely be limited, reducing the scope of potential damage.
Control: East-West Traffic Security
Mitigation: The attacker's ability to move laterally within the network would likely be constrained, reducing the risk of further system compromises.
Control: Multicloud Visibility & Control
Mitigation: The attacker's ability to establish and maintain command and control channels would likely be limited, reducing the effectiveness of remote control over infected systems.
Control: Egress Security & Policy Enforcement
Mitigation: The attacker's ability to exfiltrate sensitive data would likely be constrained, reducing the risk of data loss.
The potential for financial theft and unauthorized access would likely be reduced, limiting the overall impact of the attack.
Impact at a Glance
Affected Business Functions
- Software Development
- Continuous Integration/Continuous Deployment (CI/CD)
- Version Control Systems
Estimated downtime: 7 days
Estimated loss: $50,000
Potential exposure of developer credentials, source code, and access tokens.
Recommended Actions
Key Takeaways & Next Steps
- • Implement strict supply chain security measures to verify the integrity of third-party packages before integration.
- • Configure development environments to restrict automatic execution of tasks upon opening project folders.
- • Deploy network segmentation to limit the spread of malware and restrict unauthorized lateral movement.
- • Utilize egress filtering to monitor and control outbound traffic, preventing unauthorized data exfiltration.
- • Establish comprehensive monitoring and anomaly detection systems to identify and respond to suspicious activities promptly.



