Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in create-coin (npm)

0
High
Published: 08/23/2026 (08/23/2026, 03:15:07 UTC)
Source: GCVE Database
Product: create-coin

Description

The npm package [email protected] contains malicious code that executes during installation via a postinstall hook. This code performs environment checks to evade analysis, delays execution, and then collects extensive system and project information, including environment variables, user and host details, and local project files. The collected data is exfiltrated over HTTPS to a hardcoded external server. The package masquerades as a legitimate esbuild-related package but is unrelated, indicating a typosquatting attack.

Affected software

npmghsa
create-coin
Affected versions
=20.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/23/2026, 13:49:49 UTC

Technical Analysis

The create-coin package version 20.1.1 includes a postinstall script that runs build/payload.node.js during npm install. This script implements anti-analysis techniques by detecting CI environments, containerization, and minimal environment variables, then delays execution randomly between 10 and 30 seconds. It reads the installer's npm configuration files, enumerates all environment variables, and accesses project files such as package.json, package-lock.json, .env, and src/config.*. It also gathers host reconnaissance data via system calls and probes open localhost ports. All collected information is sent via HTTPS POST to a hardcoded endpoint (https://random-name.trycloudflare.com) with SSL verification disabled. The script suppresses errors and forces a successful exit code to avoid detection. The package description falsely claims to be related to esbuild, suggesting a typosquatting attempt to impersonate a known package family.

Potential Impact

This malicious package can lead to significant information disclosure by exfiltrating sensitive environment variables, project configuration files, and host system details to an attacker-controlled server. This can compromise credentials, secrets, and internal project data, potentially enabling further attacks or unauthorized access. The stealthy nature of the code, including anti-analysis checks and error suppression, increases the risk of unnoticed compromise during routine npm installs.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package authenticity before installation. Use trusted package sources and consider scanning dependencies for malicious behavior. Monitor for suspicious network connections to unknown endpoints during npm installs. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14372
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a8af9a3acd9273b49f32eef

Added to database: 08/23/2026, 13:46:11 UTC

Last enriched: 08/23/2026, 13:49:49 UTC

Last updated: 08/23/2026, 23:11:11 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses