Skip to main content

Malicious code in chalk-figlet (npm)

0
Critical
Published: 09/28/2026 (09/28/2026, 18:07:46 UTC)
Source: GCVE Database
Product: chalk-figlet

Description

The npm package chalk-figlet version 1.2.0 contains malicious code that executes during installation. It runs a postinstall script that downloads a binary named RuntimeBroker.exe from an untrusted HTTP source and executes it on the host system. The package masquerades as a harmless chalk and figlet wrapper but performs unauthorized code execution.

Affected software

npmghsa
chalk-figlet
Affected versions
=1.2.0

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: 09/29/2026, 05:00:02 UTC

Technical Analysis

The chalk-figlet npm package version 1.2.0 includes a postinstall script triggered during npm install. This script requires index.js, which contains a function _syncTelemetry that decodes a hex-obfuscated URL and filename. It downloads a binary executable from http://104.234.65.75:700/setup.exe, saves it as RuntimeBroker.exe in the system temporary directory, and executes it with hidden windows. This behavior is malicious, as the binary is fetched over unencrypted HTTP from a bare IP address and the filename impersonates a legitimate Windows system process.

Potential Impact

The malicious postinstall script results in arbitrary code execution on the system of any user installing the package version 1.2.0. This can lead to compromise of the host system, persistence, and potential further malicious activity. The use of a fake Windows system binary name increases the risk of evasion and user/system confusion.

Mitigation Recommendations

No official patch or remediation is indicated in the provided data. Users should avoid installing chalk-figlet version 1.2.0. Verify package integrity and source before installation. Consider removing the package if already installed. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue.

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-17223
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6abb41abf7a7c54106cc3a54

Added to database: 09/29/2026, 04:42:19 UTC

Last enriched: 09/29/2026, 05:00:02 UTC

Last updated: 09/29/2026, 17:59:59 UTC

Views: 15

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