messenger-style (npm) · Malicious Code
Affects messenger-styleSource GCVE Database
Malicious package : remove messenger-style and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:15 UTC
Malicious package
Published to npm · OSV MAL-2026-12796
What to do
Remove messenger-style 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 |
|---|---|---|
| npmmessenger-style | 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 'messenger-style' version 1.0.1 contains malicious code that executes during installation. Instead of providing messaging functionality, its preinstall script collects sensitive host information such as hostname, username, home directory, DNS servers, and contents of /etc/passwd and /etc/hosts. This data is then exfiltrated via HTTPS to an attacker-controlled domain used for out-of-band interaction. No legitimate functionality is present in the package.