MAL-2026-14342 Malicious code in coin-fees (npm)
Malicious package
Published
MAL-2026-14342 is a malicious package: coin-fees (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-14342/ (Markdown: https://insights.sbomify.com/MAL-2026-14342/index.md)
- Package
- coin-fees
- Registry
- npm
What is MAL-2026-14342?
MAL-2026-14342 is a malicious package in coin-fees, published on 21 Aug 2026.
Official description
package.json declares a postinstall hook that runs index.js on every install. The script hex-decodes and concatenates a hardcoded destination hostname resolving to gwfqp5cm9r2jfs3d6mjpzt8y5pbkzanz.oastify.com (a Burp Collaborator subdomain), then sleeps a randomized 30-120 seconds and issues HTTP POSTs on port 80 carrying: os.hostname, platform, arch, cwd, whoami/id/uname output, the contents of package.json, the full process.env, the contents of ~/.npmrc (which normally holds npm _authToken values),
npm root -g, local port scan results, and Windows recon (ver, tasklist, USERPROFILE). The payload exits silently when CI, GITHUB_ACTIONS, GITLAB_CI, JENKINS_HOME, npm audit/pack/publish flags, /.dockerenv, or docker/kubepods cgroups are detected, and exports a benign-looking function as a facade. The exfiltrated ~/.npmrc auth tokens and environment variables give the operator credentials to publish malicious versions of the installer's other packages and to access CI cloud secrets.What should I do about MAL-2026-14342?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.