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

目标: 1000 元 · 已筹: 1359 元

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

dsh-redteam-mode

MAL-2026-18366
2026-10-29 14:15:56
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in dsh-redteam-mode (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1,368
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdsh-redteam-mode0.15.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18366","published":"2026-10-29T05:23:36Z","modified":"2026-10-29T14:15:56.282735404Z","aliases":["GHSA-r4m9-8735-g966"],"summary":"Malicious code in dsh-redteam-mode (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4b10e8cb5b42b044dde881818592b20e43d2166d6641bd657bf90c2aa5a0c0a2)\nPackage name and shipped file names (score-rules.js, report-replay.js, store-core.js, tools.js, client.js) describe an offensive-security / red-team mode helper. Pattern matches fire on co-occurrence of curl invocations and HTTP GET/POST calls across several library files, which is expected shape for pentest tooling that constructs example requests, replays reports, and scores rules. No lifecycle script-driven install-time execution, no hardcoded exfiltration endpoint, no credential-store or home-directory secret enumeration, and no obfuscated remote fetch were identified in the evidence. The curl and POST tokens appear as part of library methods callers must explicitly invoke rather than install-time or import-time side effects. Offensive-security libraries are a legitimate category and installing them does not by itself attack the installer; however, the breadth of network/command primitives and the lack of traced-code confirmation of their call sites warrants human review.\n\n## Source: ghsa-malware (f8eb264928d14ca579b9ba3317a0dfd42d31091adc475676b63da142c54f44a9)\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":"dsh-redteam-mode","ecosystem":"npm"},"versions":["0.15.2"],"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":"lib/client.js","sha256":"cdce3099d71f3166147fc113643ce28dfa0c527b41b8abfb5a476ed712b0a7a9","tlsh":"c97419a2e172403a5913d0a5a12ff82fb518640bee026975f9bc76005fce47d9fb96cc"},{"path":"lib/report-replay.js","sha256":"2730c2492da678c61d0742b752f4b25c6fc3216f825ddb2706badcac330f1c14","tlsh":"1332a5e830596151036292f41a1b41f86575da63371b88edf4bc4a892fd58ace2f3fec"},{"path":"lib/score-rules.js","sha256":"29072348e226aa881f5bab244c7677984ce8480f41af0c959dca76345f452e01","tlsh":"02433ab4cea9a4c0122195fd430f5115f518999b616e96a4fefc8e883fcc098cafbd71"},{"path":"lib/store-core.js","sha256":"04a6c4eee0740e5cb8f3527f2ad1d18cc9a141957584d335d60f335dd67436ab","tlsh":"81843ab259f514241303d1b8290f5108f128e917758a98a4ffacd7887fc9578cabebf9"},{"path":"lib/tools.js","sha256":"31708002ca5975b69621eeebdbcaa04a6a80e1b73fd01d44dce8fee5cf5c3cd8","tlsh":"23d307ca29b1f1314ed651a0681b311e7135d28b763628b0fb8d83242f4d6ddd2b6bbc"}],"package_integrity":[{"filename":"dsh-redteam-mode-0.15.2.tgz","hashes":{"sha1":"60982a56fe904cd2e3c10e92757c469546ef05d3","sha512_sri":"sha512-ira5OUGTcmQUfRjs/H6NpITE2oVZgHydvG11f1eEDjPW+pttKaCE+tspaXObyfJon5K6JCbgFMBl5duE2/Ljnw=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r4m9-8735-g966"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dsh-redteam-mode/v/0.15.2"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-r4m9-8735-g966","import_time":"2026-10-29T06:29:38.362989651Z","modified_time":"2026-10-29T05:23:36Z","sha256":"f8eb264928d14ca579b9ba3317a0dfd42d31091adc475676b63da142c54f44a9","source":"ghsa-malware","versions":["0.15.2"]},{"id":"IN-MAL-2026-022059","import_time":"2026-10-29T14:14:21.933025398Z","modified_time":"2026-10-29T13:43:27Z","sha256":"4b10e8cb5b42b044dde881818592b20e43d2166d6641bd657bf90c2aa5a0c0a2","source":"amazon-inspector","versions":["0.15.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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