emojifancy-print (npm) · Malicious Code
Affects emojifancy-printSource GCVE Database
Malicious package : remove emojifancy-print and rotate any secrets on hosts that installed it.
Data as of 20 Aug 2026, 14:37 UTC
Malicious package
Published to npm · OSV MAL-2026-4550
What to do
Remove emojifancy-print 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 |
|---|---|---|
| npmemojifancy-print | 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 emojifancy-print version 5.6.3 contains a malicious backdoor that executes attacker-controlled shell commands automatically when the package is imported. This backdoor decrypts an embedded AES-256-CBC ciphertext using hardcoded cryptographic parameters and runs the resulting command silently and detached from the user's environment. The package masquerades as a colorized logger but includes deceptive no-op functions and fake data to hide its true behavior. Any system with this package installed should be considered compromised, and secrets stored on it should be rotated immediately.