Executive Summary
In May 2026, a threat actor using the alias 'vpmdhaj' published 14 malicious npm packages that mimicked popular OpenSearch and ElasticSearch libraries. These packages, once installed, executed scripts to harvest sensitive credentials, including AWS keys, HashiCorp Vault tokens, and CI/CD pipeline secrets, from the host environment. The attack leveraged typosquatting and spoofed metadata to appear legitimate, facilitating unauthorized access and potential lateral movement within cloud infrastructures.
This incident underscores the escalating threat of supply chain attacks targeting open-source ecosystems. Organizations must remain vigilant, as such attacks can lead to significant data breaches and operational disruptions. Implementing stringent package validation processes and monitoring for anomalous activities are crucial to mitigating these risks.
Why This Matters Now
The rise in sophisticated supply chain attacks, like the 'vpmdhaj' npm incident, highlights the urgent need for enhanced security measures in software development pipelines. As attackers increasingly exploit open-source repositories, organizations must prioritize the integrity of their software supply chains to prevent potential breaches and data exfiltration.
Attack Path Analysis
The attacker published typosquatted npm packages to gain initial access, executed malicious code via npm lifecycle hooks, escalated privileges by harvesting cloud and CI/CD credentials, moved laterally within cloud environments using stolen credentials, established command and control through outbound HTTP beacons, exfiltrated sensitive data to attacker-controlled servers, and impacted organizations by enabling further supply chain attacks.
Kill Chain Progression
Initial Compromise
Description
The attacker published 14 typosquatted npm packages mimicking popular libraries to deceive developers into installing them.
MITRE ATT&CK® Techniques
Compromise Software Supply Chain
Compromise Software Dependencies and Development Tools
JavaScript
Valid Accounts
Credentials in Files
Web Protocols
Spearphishing Attachment
Exploitation for Client Execution
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure all system components and software 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 – Supply Chain Risk Management
Control ID: 3.1
NIS2 Directive – Security of Network and Information Systems
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Critical exposure to npm supply chain attacks targeting CI/CD pipelines, with stolen credentials enabling lateral movement and downstream package compromise.
Information Technology/IT
High risk from typosquatted packages harvesting AWS, Vault, and GitHub tokens, compromising cloud infrastructure and development environments across IT operations.
Financial Services
Severe impact from credential theft targeting cloud secrets and CI/CD systems, potentially exposing sensitive financial data and violating compliance requirements.
Health Care / Life Sciences
Significant threat to HIPAA-regulated environments using OpenSearch/Elastic infrastructure, with credential harvesting risking patient data exposure and compliance violations.
Sources
- 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
- npm: Threats and Mitigationshttps://docs.npmjs.com/threats-and-mitigations/Verified
- OpenSSF Malicious Packageshttps://github.com/ossf/malicious-packagesVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it embeds security directly within the cloud fabric, potentially limiting the attacker's ability to move laterally and exfiltrate data undetected.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: The attacker's ability to deploy malicious packages may be constrained by CNSF's embedded security controls, which could detect and limit unauthorized code execution.
Control: Zero Trust Segmentation
Mitigation: The attacker's ability to escalate privileges may be limited by Zero Trust Segmentation, which could restrict access to sensitive credentials and secrets.
Control: East-West Traffic Security
Mitigation: The attacker's lateral movement within the cloud environment may be constrained by East-West Traffic Security, which could monitor and restrict unauthorized internal communications.
Control: Multicloud Visibility & Control
Mitigation: The attacker's command and control communications may be limited by Multicloud Visibility & Control, which could detect and restrict unauthorized outbound connections.
Control: Egress Security & Policy Enforcement
Mitigation: The attacker's data exfiltration efforts may be constrained by Egress Security & Policy Enforcement, which could monitor and restrict unauthorized data transfers.
The attacker's ability to leverage exfiltrated credentials for further attacks may be limited by the cumulative effect of CNSF controls, which could reduce the overall impact of the incident.
Impact at a Glance
Affected Business Functions
- Software Development
- Continuous Integration/Continuous Deployment (CI/CD)
- Cloud Infrastructure Management
Estimated downtime: 7 days
Estimated loss: $50,000
AWS credentials, HashiCorp Vault tokens, GitHub Actions tokens, npm publish tokens
Recommended Actions
Key Takeaways & Next Steps
- • Implement Zero Trust Segmentation to restrict access between workloads and limit lateral movement.
- • Enforce Egress Security & Policy Enforcement to monitor and control outbound traffic, preventing unauthorized data exfiltration.
- • Utilize Multicloud Visibility & Control to detect anomalous interactions and repeated malformed requests indicative of malicious activity.
- • Apply Threat Detection & Anomaly Response mechanisms to identify and respond to suspicious behaviors in real-time.
- • Regularly audit and rotate credentials, and implement least privilege access controls to minimize the impact of credential theft.



