npm · Malicious package advisory
Malware@aiwfm/communitywfm.scripts.api
GHSA-cj6r-j9c8-88qp
Malicious code in @aiwfm/communitywfm.scripts.api (npm)
Details
**Severity:** Critical **Affected versions:** `= 28.1.28` ## Source: amazon-inspector (405cd17e3c682b1341db44361500ea68d80e1758f15387d9971d0af95f0c8a48) The package's preinstall script (build.js) assembles a remote hostname from split string fragments that resolve to dawn-salad-18c7.mikhail-nab.workers.dev, base64-encodes the full process.env, and POSTs it to that endpoint on npm install. The exfiltration is gated by sandbox-evasion filters that suppress the request when common analysis-environment signals are present (Chinese mirror registries such as taobao/npmmirror/cnpmjs/tencent, mitmproxy CA via NODE_EXTRA_CA_CERTS, /analysis paths, /root HOME combined with /app PWD, or fewer than ten environment variables). On developer and CI machines process.env routinely contains npm auth tokens, cloud credentials, and other secrets, so this constitutes bulk credential and environment exfiltration to an attacker-controlled Cloudflare Workers endpoint. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/dbf5f37beed5d3b50a3d03bdfcce82da59ec126a/osv/malicious/npm/@aiwfm/communitywfm.scripts.api/MAL-2026-16146.json)) **References:** - https://github.com/ossf/malicious-packages/blob/dbf5f37beed5d3b50a3d03bdfcce82da59ec126a/osv/malicious/npm/@aiwfm/communitywfm.scripts.api/MAL-2026-16146.json - https://www.npmjs.com/package/@aiwfm/communitywfm.scripts.api/v/28.1.28 - https://github.com/advisories/GHSA-cj6r-j9c8-88qp
Compromised versions (1)
- = 28.1.28
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.