coin-feesnpm
Advisory published Updated
coin-fees is a confirmed malicious npm package (MAL-2026-14342) that steals credentials and exfiltrates sensitive data (malicious version 20.1.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in coin-fees (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for coin-fees (version 20.1.1).
If you installed it — respond
coin-fees is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If coin-fees was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks coin-fees-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.