Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in emoji-prints-fancy (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 10:10:54 UTC)
Source: GCVE Database
Product: emoji-prints-fancy

Description

The npm package emoji-prints-fancy version 5.6.4 contains malicious code that decrypts a hardcoded ciphertext and executes the resulting shell command silently on the host system when the package is imported or required. The malicious payload is concealed using AES-256-CBC encryption with a fixed passphrase, salt, and IV, and is triggered during module load without user awareness. Several decoy helper functions are present to obfuscate the malicious execution path. This results in silent execution of arbitrary commands with suppressed output.

Affected software

npmghsa
emoji-prints-fancy
Affected versions
=5.6.4

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: 08/19/2026, 13:55:54 UTC

Technical Analysis

The emoji-prints-fancy npm package (version 5.6.4) masquerades as a colorized logger but includes malicious code in its dist/index.js file. Upon module load, it decrypts a hardcoded ciphertext using AES-256-CBC with a fixed passphrase, salt, and IV derived via pbkdf2Sync (sha1, 100000 iterations). The decrypted plaintext is then executed as a shell command via child_process.spawn with shell execution enabled and output suppressed. This execution path is invoked by a top-level _warmConfigCache() call and is obscured by multiple non-functional decoy helper functions. Any user installing and importing this package will unknowingly execute the concealed command on their system.

Potential Impact

Any system that installs and imports emoji-prints-fancy version 5.6.4 will silently execute an attacker-controlled shell command with the privileges of the importing process. The output of this command is suppressed, making detection difficult. This can lead to arbitrary code execution, potentially compromising the host system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing or importing emoji-prints-fancy version 5.6.4. Consider removing this package from existing environments and replacing it with a trusted alternative.

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-14298
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4a3acd9273b4925075e

Added to database: 08/19/2026, 13:50:27 UTC

Last enriched: 08/19/2026, 13:55:54 UTC

Last updated: 08/19/2026, 13:55:54 UTC

Views: 1

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