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

目标: 1000 元 · 已筹: 1359 元

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

test-dev-watch

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

Summary

Malicious code in test-dev-watch (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
241
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtest-dev-watch*
npmtest-dev-watch0.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11495","published":"2026-08-01T03:43:29Z","modified":"2026-08-04T22:32:06.620040917Z","aliases":["GHSA-qxrq-qr5j-h4rw"],"summary":"Malicious code in test-dev-watch (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9279c0e19b9b69a299d8c88c237d4e6c215f7fe4527e8d7f9fbb049065ead5e2)\nThe package exports a Helper class that implements two installer-harming primitives on Windows. First, start() launches a polling loop that reads every virtual-key state (vKey 1..255) via user32.dll GetAsyncKeyState/GetKeyState (loaded through koffi), decodes each keypress with shift/caps/ctrl/alt handling, and appends the reconstructed keystrokes — including typed passwords and seed phrases — to a log file under %LOCALAPPDATA%\\<KEYLOGGER_DIR>\\<KEYLOGGER_LOG_FILE>, where those constants are imported from the sibling package test-dev-config. Second, _monitorClipboard polls the Windows clipboard once per second via PowerShell Get-Clipboard, classifies its contents against regexes for BTC, ETH, BASE, TRX, XRP, SOL, DOT, XMR, LTC, ADA, ATOM, NEAR, APT, SUI, TON, BCH, DOGE, XLM, and AVAX addresses, and when a match is found overwrites the clipboard via PowerShell Set-Clipboard with an address drawn from wallet_replacements[chain], redirecting outgoing cryptocurrency transfers to an operator-controlled destination. The package name 'test-dev-watch' and its benign-looking metadata do not correspond to the shipped functionality; the imported identifiers KEYLOGGER_DIR and KEYLOGGER_LOG_FILE, together with the sibling packages test-dev-config and test-dev-store that supply the keylogger path components, indicate coordinated infrastructure for planting a keylogger and clipper on developer machines that install the package.\n\n## Source: ghsa-malware (db85a6a548238053a85ec4851a41b50b3e501d57ac56043fed21d711c1110b4c)\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":"test-dev-watch","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.0"],"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":"src/helper.js","sha256":"2e86e2ca50dbb13ae01e01d93915a3b948bed9d2656ad011fc1d4f4bf0d48c47","tlsh":"06424443912f5806c5b5f7b84f03505afb25433f274b819a7fbc86882f76520d2a9eac"},{"path":"package.json","sha256":"25718d272d1d2e5802d24b0c26101bccbe8802b94522062ea7fa268ddce21b77","tlsh":"b7e02b27cd67d96301b465d1747e0217f572cf6f40218c0bb0fa1a2c4b9284308aaf1c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qxrq-qr5j-h4rw"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/test-dev-watch/v/0.1.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-qxrq-qr5j-h4rw","import_time":"2026-08-02T22:41:05.110529Z","modified_time":"2026-08-01T03:43:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"db85a6a548238053a85ec4851a41b50b3e501d57ac56043fed21d711c1110b4c","source":"ghsa-malware"},{"id":"IN-MAL-2026-011178","import_time":"2026-08-04T22:30:03.472698486Z","modified_time":"2026-08-04T21:43:47Z","sha256":"9279c0e19b9b69a299d8c88c237d4e6c215f7fe4527e8d7f9fbb049065ead5e2","source":"amazon-inspector","versions":["0.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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