# MAL-2026-16146: Malicious code in @aiwfm/communitywfm.scripts.api (npm)


- **Type:** Malicious package
- **Package:** `@aiwfm/communitywfm.scripts.api` (npm)
- **Published:** 14 Sep 2026

## What is MAL-2026-16146?

MAL-2026-16146 is a malicious package in @aiwfm/communitywfm.scripts.api, published on 14 Sep 2026. 

### Official description

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.

## What should I do about MAL-2026-16146?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-16146 is a malicious package: @aiwfm/communitywfm.scripts.api (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-16146/ (Markdown: https://insights.sbomify.com/MAL-2026-16146/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-16146

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-16146/
Summaries are generated and may contain mistakes; the official description above is the record.
