MAL-2026-16211 Malicious code in swnwall (npm)
Malicious package
Published
MAL-2026-16211 is a malicious package: swnwall (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-16211/ (Markdown: https://insights.sbomify.com/MAL-2026-16211/index.md)
- Package
- swnwall
- Registry
- npm
What is MAL-2026-16211?
MAL-2026-16211 is a malicious package in swnwall, published on 16 Sep 2026.
Official description
On require/import, index.js invokes initialize() which spawns loader.js as a detached, hidden background child process (detached: true, windowsHide: true, stdio: 'ignore', unref'd) and records a.pid file to avoid re-spawning. loader.js performs an HTTPS GET against https://api.npoint.io/641d37178a880b1e8b8f (a user-editable JSON hosting service), base64-decodes the
code field of the response, and executes the decoded payload via new Function("require",..., decodedCode)(require, __dirname, __filename,...), granting the fetched code full access to Node's require, filesystem, and process APIs on the installer's machine. loader.js additionally monkey-patches Module.prototype.require to force windowsHide on all child_process spawn calls and reroute execSync through a hidden cmd.exe /c, concealing further child-process activity. The remote payload is mutable and attacker-controllable via the npoint.io endpoint.What should I do about MAL-2026-16211?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.