message-compiler (npm) · Malicious Code
Affects message-compilerSource GCVE Database
Malicious package : remove message-compiler and rotate any secrets on hosts that installed it.
Data as of 24 Aug 2026, 14:28 UTC
Malicious package
Published to npm · OSV MAL-2026-14392
What to do
Remove message-compiler 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 |
|---|---|---|
| npmmessage-compiler | 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 'message-compiler' version 9.2.0 is a malicious typosquatting package that executes a script during installation to exfiltrate sensitive environment data and the installer's hostname. It collects the public IP address and CI-related environment variables, sending them to an attacker-controlled webhook. Additionally, it leaks the hostname via DNS queries to a Burp Collaborator domain.