MAL-2026-10602
Malicious code in @public-for-cdao/config (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (8a893631e8d2b076ee2c69cfd1126c435c70c02ecb912ef1e6ae383d7f34d78d) The package ships a postinstall script (recon.js) that runs at npm install time. It collects host identifiers (hostname, platform, arch, username, cwd), enumerates roughly 30 sensitive environment variables (including AWS_SECRET_ACCESS_KEY, NPM_TOKEN, GITLAB_ACCESS_TOKEN, SSH_PRIVATE_KEY, MNEMONIC, DB_PASSWORD), reads.env files from paths such as.env, /app/.env, /root/.env, and greps for lines matching KEY/SECRET/TOKEN/PASS/PRIVATE/MNEMONIC. It also enumerates CI build directories under /builds/, /home/gitlab-runner/builds/, and /var/lib/gitlab-runner/. The collected data is serialized as JSON and HTTP POSTed via https.request to two attacker-controlled collectors: webhook.site/d6d18927-e513-4df7-b019-58bfc64fe0dd and enqoojbegdvxj.x.pipedream.net. The package name and 99.99.99 version are consistent with a dependency-confusion lure targeting an internal @public-for-cdao/config scope.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for @public-for-cdao/config (npm). Pin to a known-safe version or switch to an alternative.