Supply chain · May 28, 2026

14 typosquatted OpenSearch and DevOps npm packages stole AWS, Vault, GitHub Actions and npm secrets

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.

DisclosedMay 28, 2026
Earliest known activityMay 28, 2026
Affectednpm, opensearch-setup, env-config-manager, @vpmdhaj/devops-tools
TypeSupply chain
StatusContained

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

  1. Remove the packages and rebuild affected images and runners.
  2. Rotate AWS access keys and role sessions, Vault tokens, npm publish tokens and GitHub Actions tokens that were reachable from the install.
  3. Block aab.sportsontheweb[.]net and alert on HTTP requests carrying the header X-Supply: 1.
  4. 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

  1. Microsoft Defender Security Research publishes its analysis of 14 packages from the vpmdhaj maintainer 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 vpmdhaj and the 14 package names above.
  • C2 aab.sportsontheweb[.]net, path /x.php on 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.

Keep keys out of reach of the next compromised package

BotPassword is in early access. Request an invite and we'll email you when your spot opens.