Microsoft reported that on 28 May 2026 a newly created npm account, vpmdhaj, published 14 packages within four hours that imitated OpenSearch, Elasticsearch, DevOps and environment-configuration libraries. A preinstall hook stole AWS credentials and Secrets Manager contents, Vault tokens, GitHub Actions tokens and npm publish tokens. Microsoft says the packages and accounts were taken down; anyone who installed one should rotate those credentials.
| Disclosed | May 28, 2026 |
|---|---|
| Earliest known activity | May 28, 2026 |
| Affected | npm, opensearch-setup, env-config-manager, @vpmdhaj/devops-tools |
| Type | Supply chain |
| Status | Contained |
What was exposed
Cloud and CI/CD secrets on the machine or runner that installed a package. Microsoft lists AWS credentials from EC2 IMDSv2, ECS task roles and the environment, and Secrets Manager contents across more than 16 regions; HashiCorp Vault tokens in VAULT_TOKEN and VAULT_AUTH_TOKEN; GitHub Actions tokens together with repository and runner context; and npm publish tokens, which an attacker can use to push malicious versions of packages the victim maintains. First-generation packages used an HTTP stager; second generation packages (version 1.0.7266 and later) downloaded the legitimate Bun runtime from GitHub Releases to run a bundled payload, which makes network-based detection harder. Several unscoped packages spoofed the opensearch-js repository URL in package.json and used inflated version numbers to look established.
Am I affected?
You are affected if a developer machine, container build or CI job installed any of these on or after 28 May 2026: @vpmdhaj/elastic-helper, @vpmdhaj/devops-tools, @vpmdhaj/opensearch-setup, @vpmdhaj/search-setup, opensearch-security-scanner, opensearch-setup, opensearch-setup-tool, opensearch-config-utility, search-engine-setup, search-cluster-setup, elastic-opensearch-helper, vpmdhaj-opensearch-setup, env-config-manager or app-config-utility. Search lockfiles and build logs for these names. In AWS, look in CloudTrail for sts:GetCallerIdentity quickly followed by sts:AssumeRole, and for Secrets Manager calls across many regions.
What to do now
- Remove the packages and rebuild affected images and runners.
- Rotate AWS access keys and role sessions, Vault tokens, npm publish tokens and GitHub Actions tokens that were reachable from the install.
- Block
aab.sportsontheweb[.]netand alert on HTTP requests carrying the headerX-Supply: 1. - Install with
--ignore-scripts(or the pnpm and yarn equivalents) and hold automatic dependency upgrades until new packages are vetted.
Keys to rotate
Guides to the credentials this incident put at risk:
Timeline
- Microsoft Defender Security Research publishes its analysis of 14 packages from the
vpmdhajmaintainer alias and says, after feedback to the npm team, the repos and users were taken down. Source
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
- npm maintainer alias
vpmdhajand the 14 package names above. - C2
aab.sportsontheweb[.]net, path/x.phpon port 80. - HTTP header
X-Supply: 1; queries to 169.254.169.254 and 169.254.170.2 during install.
Frequently asked questions
Am I affected by the npm incident?
You are affected if a developer machine, container build or CI job installed any of these on or after 28 May 2026: @vpmdhaj/elastic-helper, @vpmdhaj/devops-tools, @vpmdhaj/opensearch-setup, @vpmdhaj/search-setup, opensearch-security-scanner, opensearch-setup, opensearch-setup-tool, opensearch-config-utility, search-engine-setup, search-cluster-setup, elastic-opensearch-helper, vpmdhaj-opensearch-setup, env-config-manager or app-config-utility. Search lockfiles and build logs for these names. In AWS, look in CloudTrail for sts:GetCallerIdentity quickly followed by sts:AssumeRole, and for Secrets Manager calls across many regions.
What was exposed in the npm incident?
Cloud and CI/CD secrets on the machine or runner that installed a package. Microsoft lists AWS credentials from EC2 IMDSv2, ECS task roles and the environment, and Secrets Manager contents across more than 16 regions; HashiCorp Vault tokens in VAULT_TOKEN and VAULT_AUTH_TOKEN; GitHub Actions tokens together with repository and runner context; and npm publish tokens, which an attacker can use to push malicious versions of packages the victim maintains. First-generation packages used an HTTP stager; second generation packages (version 1.0.7266 and later) downloaded the legitimate Bun runtime from GitHub Releases to run a bundled payload, which makes network-based detection harder. Several unscoped packages spoofed the opensearch-js repository URL in package.json and used inflated version numbers to look established.
Which keys should I rotate?
Rotate any AWS (IAM access keys), npm, GitHub credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.
Other supply-chain compromises
- LiteLLM 1.107.0 on PyPI and Docker carried a credential stealer after a leaked master key 2026-10-21
- tensorlake 0.5.144 on npm shipped a Shai-Hulud variant with a wipe-on-revoke dead-man's switch 2026-10-08
- keyv, flat-cache and cache-manager npm releases carried a CI-secret stealer with a revocation trap 2026-08-04
- 32 @redhat-cloud-services npm packages compromised after a VS Code extension hijacked a GitHub account 2026-06-01
- Nx Console 18.95.0 VS Code extension shipped a credential stealer after a TanStack infection 2026-05-18
- TanStack npm compromise: 84 versions of 42 @tanstack packages stole cloud, GitHub and SSH credentials 2026-05-11