emoji-prints-fancy
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-m523-mggx-3fgr
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in emoji-prints-fancy (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (163576a0a8b626c88261c8cc54c5049d981015c80145ad36e2710fff5014afbe)
The package advertises itself as a colorized logger, but dist/index.js requires./logger, which at module load AES-256-CBC-decrypts a hardcoded ciphertext using a hardcoded passphrase, salt and IV (pbkdf2Sync with sha1, 100000 iterations) and passes the resulting plaintext to child_process.spawn with { shell: true, windowsHide: true, stdio: 'ignore' } via a _resolveConfig -> _runSystemTask path invoked by a top-level _warmConfigCache() call. Multiple decoy helpers (_checkResources, _registerToken, _semverCompare, _emitEvent, _poolBucket) surround the payload path and provide no functionality, and the AES layer serves only to conceal the executed command from static inspection. Any consumer that installs and require()s or imports this package silently executes the concealed shell command on the installer's host with output suppressed.
Source: ghsa-malware (72e262f2593034b4c44657cfe9ab96295c5085e2aa249aa239f06a08e9c1e7a5)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0