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

Source: https://botpassword.com/incidents/2026-05-vpmdhaj-typosquatted-npm-packages
Disclosed: 2026-05-28 · Type: Supply chain · Status: Contained · Updated: 2026-10-25

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.

## 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.

## Who is 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

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

- [AWS (IAM access keys)](https://botpassword.com/keys/aws)
- [npm](https://botpassword.com/keys/npm)
- [GitHub](https://botpassword.com/keys/github)

## Timeline

- 2026-05-28: 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](https://www.microsoft.com/en-us/security/blog/2026/05/28/typosquatted-npm-packages-used-steal-cloud-ci-cd-secrets/))

## Indicators

- 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.

## Sources

- https://www.microsoft.com/en-us/security/blog/2026/05/28/typosquatted-npm-packages-used-steal-cloud-ci-cd-secrets/
