MAL-2026-5975 Malicious code in cryptodao-contracts (npm)
Malicious package
Published
MAL-2026-5975 is a malicious package: cryptodao-contracts (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-5975/ (Markdown: https://insights.sbomify.com/MAL-2026-5975/index.md)
- Package
- cryptodao-contracts
- Registry
- npm
What is MAL-2026-5975?
MAL-2026-5975 is a malicious package in cryptodao-contracts, published on 17 Jun 2026.
Official description
Package is published as version 99.99.99 to win private-vs-public resolution against an internal
cryptodao-contracts namespace. The package's main module is a one-line stub; the real payload runs from the postinstall script recon.js. On npm install, recon.js enumerates a hardcoded list of installer-side secret environment variables (AWS_SECRET_ACCESS_KEY, SSH_PRIVATE_KEY, NPM_TOKEN, GITLAB_ACCESS_TOKEN, MNEMONIC, SEED_PHRASE, PRIVATE_KEY, DB_PASSWORD, etc.), reads .env files from installer-owned paths (/root/.env, /app/.env, .env.production), and grep-extracts lines matching KEY|SECRET|TOKEN|PASS|PRIVATE|MNEMONIC. The collected secrets, hostname, user, cwd, and CI build-directory listings are POSTed over HTTPS to two attacker-controlled endpoints, webhook.site/d6d18927-e513-4df7-b019-58bfc64fe0dd and enqoojbegdvxj.x.pipedream.net, with TLS verification disabled (rejectUnauthorized: false). Self-described in source as a 'CryptoDAO Dependency Confusion Reconnaissance Payload'.What should I do about MAL-2026-5975?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.