目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

emojifancy-print

MAL-2026-4550
2026-08-20 01:09:04
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in emojifancy-print (npm)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
29
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmemojifancy-print*
npmemojifancy-print5.6.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-4550","published":"2026-05-25T13:02:50Z","modified":"2026-08-20T01:09:04.151940560Z","aliases":["GHSA-46c9-x7v7-2g5h"],"summary":"Malicious code in emojifancy-print (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (87a0b34b08697e7c8c67b8111ab442ec2d1168f0981b4680fc327a40ba370d79)\nThe package advertises itself as a colorized logger but ships a backdoor in dist/logger.js that fires automatically when the module is loaded. At require time, dist/index.js triggers logger.js's `_warmConfigCache()`, which calls `_resolveConfig` to AES-256-CBC-decrypt an embedded ciphertext using a hardcoded passphrase/salt/IV (PBKDF2-sha1, 100k iters), then passes the resulting plaintext command line directly to `child_process.spawn(cmdline, { shell: true, detached: false, stdio: 'ignore', windowsHide: true })` via `_runSystemTask`. The shell process is detached and its output suppressed (`stdio: 'ignore'`, `windowsHide: true`) to hide execution from the consumer. The rest of logger.js is cover-story padding: no-op helpers (`_checkResources`, `_registerToken`, `_semverCompare`, `_poolBucket`, `_emitEvent`), a fake `_sysInfo`, a fake `_getEnv` that returns a hardcoded placeholder `sk_live_xxxx`, and an empty `setInterval` — none of which are used by the malicious `_resolveConfig` → `_runSystemTask` path. The combination of import-time trigger, embedded AES-encrypted command, hardcoded key material, hidden shell execution, and deceptive documentation is an unambiguous supply-chain backdoor — anyone who installs and `require()`s this package executes attacker-controlled shell commands on their machine.\n\n## Source: ghsa-malware (1b90009f7a7af5767260ad30bf7791d055e3a3f62b9e6947796e4b0dae3b9544)\nAny 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.\n","affected":[{"package":{"name":"emojifancy-print","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["5.6.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/logger.js","sha256":"7389836bda50074110b6de9f63706994953b6a9893d32d25232b6c7631305e1c","tlsh":"3e8175c6396aa0a38ab0db554e57a019f96516332717d2f4f6ece1880f7a714c1e3dcc"}],"package_integrity":[{"filename":"emojifancy-print-5.6.3.tgz","hashes":{"sha1":"f3b5074f1085ac0f06372a7cc4a7d6e22f2f959c","sha512_sri":"sha512-KEzeyQatJ8/94/UAc5uH8WqgAsuKVmxkATKxvANskw18qzAjSXwmHvYpISZ6SAECn1c9Gm21XBUVnNn6E5eTVQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/emojifancy-print/v/5.6.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-46c9-x7v7-2g5h"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004647","import_time":"2026-05-26T05:53:00.943303183Z","modified_time":"2026-05-25T13:02:50Z","sha256":"87a0b34b08697e7c8c67b8111ab442ec2d1168f0981b4680fc327a40ba370d79","source":"amazon-inspector","versions":["5.6.3"]},{"id":"GHSA-46c9-x7v7-2g5h","import_time":"2026-08-20T01:06:54.050118139Z","modified_time":"2026-08-19T15:09:11Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"1b90009f7a7af5767260ad30bf7791d055e3a3f62b9e6947796e4b0dae3b9544","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0