chalk-figlet (npm) · Malicious Code
Affects chalk-figletSource GCVE Database
Malicious package : remove chalk-figlet and rotate any secrets on hosts that installed it.
Data as of 29 Sep 2026, 05:00 UTC
Malicious package
Published to npm · OSV MAL-2026-17223
What to do
Remove chalk-figlet from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmchalk-figlet | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.