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

目标: 1000 元 · 已筹: 1359 元

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

darknode-cli

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

Summary

Malicious code in darknode-cli (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
534
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdarknode-cli2.46.0
npmdarknode-cli2.46.1
npmdarknode-cli2.46.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18195","published":"2026-10-22T20:23:01Z","modified":"2026-10-29T14:15:56.017575479Z","aliases":["GHSA-6m47-rc2c-6xpg"],"summary":"Malicious code in darknode-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ebf377da86ddd8f8aecddff593aa975c5dc86103d80434027cd2019e9dfa1cde)\nPackage is a command-line offensive-security / pentest toolkit. The flagged files (lib/nexus/pentest-engine.js, lib/toolkit/network.js, lib/toolkit/web-scanner.js, lib/toolkit/wireless-iot.js, lib/toolkit/cloud-security.js, lib/toolkit/exploit-db.js, lib/toolkit/cve-lookup.js, lib/nexus/attack-planner.js, lib/nexus/methodologies.js, lib/nexus/security-kb.js, lib/nexus/git-security.js) catalog offensive tool names (nmap, nikto, gobuster, sqlmap, hydra, john, hashcat, etc.), sensitive-file extension lists (.pem,.key,.env,.credentials), dynamic-DNS indicators (no-ip, duckdns) in an incident-response knowledge base, and shell/HTTP primitives used to drive those tools against operator-chosen external targets. lib/nexus/api-server.js and lib/cli/api-server.js expose local HTTP control surfaces that the CLI itself consumes. package.json declares no preinstall/install/postinstall lifecycle hooks, so installing the package does not auto-execute these capabilities. No code path reads installer secrets (~/.aws, ~/.ssh, ~/.npmrc, browser or wallet stores), scrapes process.env wholesale, or exfiltrates installer-side data to a hardcoded author-controlled destination; the base64/Buffer usage in lib/toolkit/encoders.js and lib/toolkit/jwt.js is standard encoder/JWT handling. The offensive capability is directed at targets the operator explicitly provides at runtime, consistent with a legitimate penetration-testing utility.\n\n## Source: ghsa-malware (7f6c3e391187cc33e816213aed18babc900e7ec1a4152baaf7fdfb63a76319b6)\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":"darknode-cli","ecosystem":"npm"},"versions":["2.46.2","2.46.1","2.46.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"},{"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":"darknode-legacy.js","sha256":"f08201e387c628f9458d5fc80baf19289b75a5affe1bd93a101c6acd5b3b294d","tlsh":"78841a2355ae1a3a0592a1e4ad47401db37aeb432340e470b55c91a97f6d87883fbffc"},{"path":"darknode.js","sha256":"d522ded6b3be62eb26b5d9fa6f8061f4e94282f5a94f314bb26234b5eecc05b1","tlsh":"7fa41b2355ae1a3a1592a1e4ae47401db37adb432340e470b55c91a87f6d87883fbffc"},{"path":"lib/cli/api-server.js","sha256":"bcf8d0d4af7b6d0848656c20d16edaa43660ac3f50b71b01a8a36e01a951f13b","tlsh":"5302518910b320521b57b1ac277b0441672da4137a4ced79bf4cd3291f8d829e5b3bdc"},{"path":"lib/cli/cheats-data.js","sha256":"f01ea38d77c3f46fb06bd92322e4216c3dcc957f6bd41a4393b1f41cce3e01cc","tlsh":"b5a3eef916bb79260282b57452cf85627625d28b1d6c3d09badc80cc1f0db8c87f66f9"},{"path":"lib/cli/commands-data.js","sha256":"a991e36c056fdb92100e13e70bdffa81429edaa63d897fd25f8a400170addfef","tlsh":"e1b3ff40493c58210685f2b077af8d9ab93191c78d6a3c7db2dcd6885f1e48d62be3bd"},{"path":"lib/cli/payloads-data.js","sha256":"e41cc21e34b988fb21ac64d560389a022bf7bcc090481f397b44dc65f233c3c5","tlsh":"c4833e856b76904a8be0c168947a1f51b730d1831e493846bbd8c0a44f5e34ffa7bbed"},{"path":"lib/governance/engagement-gate.js","sha256":"be7a881e2e9adf34e9efc26fea37f9a4abe7836fb16b6ec34acf27acb2201d70","tlsh":"4c72b8871e65133281e6e2f96a434022f3b5c1837559a9b4ba4cd38d7f5702483aeeda"},{"path":"lib/nexus/api-server.js","sha256":"74ca016aaa406f33b2351d974345e144421530069762d1293efcb81f1d4c6a0f","tlsh":"7922a5e169f3b1260ba3c16e22579147e33af013750cd8d0feac46792fd5824e6b26d8"},{"path":"lib/nexus/attack-planner.js","sha256":"47f3cc8edd0e5dedd6572f3cb7f76db08c681d48006dc70d9a1e787a1d223737","tlsh":"5893b752de941e3305c3c2aaa81a51c2f73482971e5139587b9d830c2f5e86f93bf6de"},{"path":"lib/nexus/browser.js","sha256":"22d98856e6c261700ca6fc9f202034d7f8c55aadfc85cdc0d46e01c15b496fba","tlsh":"ad72d7426dba22324ab2e1e2d85bd066f732d0173591d9c8b70e53442f56838d1bfafd"},{"path":"lib/nexus/git-security.js","sha256":"cd708ab5f8a6601326d2a2da9c8b26182cacfa3b87d2b552dd5ca727ac000626","tlsh":"7593b5119ca1582146a3c26b7b1b0102e77486273e58f904bbcec1582f5d55fa2ffafe"},{"path":"lib/nexus/incident-response.js","sha256":"90c7d997e95696d9abf1a993290d428f8e7cd46778607f89b5ed72bd44382fe6","tlsh":"56e3c50ade24246106d3d2366d161252f63982dbab217425b6dec21c2f1d5afc3ff3ad"},{"path":"lib/nexus/methodologies.js","sha256":"b88aea648f71698ae6a22ad2d4a261068a9ad3984ce13cd3024e4e49ffca6452","tlsh":"171483078e6420a2069bc1b669369252f230514b6e553c19bfddc3482f0e5af9b7f39f"},{"path":"lib/nexus/ollama.js","sha256":"9946f799c6b493822d03c67f370941ece382a0d95c1988a3b54c31cfb45a66f4","tlsh":"4d92e92292fb253606926295b907842da73ed016a390ca60f34c92199fc9a7cc7f77dd"},{"path":"lib/nexus/pentest-engine.js","sha256":"25023b150bebbfba2fff4a9892014eb871dfeaaef37228ededd22250fe9da83c","tlsh":"7643a6158cba45221aa5e2b05b17400df7359fd32165fc38b6ac83681f8e86d662f3fd"},{"path":"lib/nexus/security-kb.js","sha256":"ba99ab6f915f5162d6e23c0fd3d0790dc01ce42226650c9925a450a1462fac24","tlsh":"7e04e952ee5561a10ad7c2b579628242f73c92c637225864bafcc31c274e97d933f38e"},{"path":"lib/toolkit/cloud-security.js","sha256":"6a0ed84d424f8912f257ba8c370b100e23f85bad4b61c271026d7cd128f20e54","tlsh":"0de3c5079e707122069bc126bd665705f634824b6e15381a7bdfc3042f0e5afa2bf7da"},{"path":"lib/toolkit/cve-lookup.js","sha256":"14717e770b5b9fb6bd55c833a40554dd05a244e5660b0954fd706f1bb0449e29","tlsh":"e0c38162df012f7241c3c1dada79428af329917b56512c64ba9ec36c2f4844dc3bf6da"},{"path":"lib/toolkit/encoders.js","sha256":"3bfcc0643b10c953d02a54bce1acb9c38415f93f122610f0f4e89c85d1eee5cb","tlsh":"d2217f2518aa30c14dee63c4125b9c7fd5fdeb9011b850e1be1c3188638a4f462772d3"},{"path":"lib/toolkit/exploit-db.js","sha256":"34e7ae9d7371df6e890b96293694166f73f5db4db54884c961fb8d974e806442","tlsh":"29e3d702de60652206d3c1726a868612f669804b6e15391d7b9dc25c2f4e4bf83ff7ef"},{"path":"lib/toolkit/jwt.js","sha256":"b82570032de8a0d9506e7a10c81baf7edaac66f08e5a6709c7e0e12ce4491ba9","tlsh":"ad3124ab759470454f0532a1cc0386ab3faa778237c9c058837987ca6b6ac55d3b3b69"},{"path":"lib/toolkit/network.js","sha256":"e9a278f3bd2dab10ced4c241e20548bed6b6ce301bc7af3edadf74b278dd5bcd","tlsh":"b4f24146cda82051015bc275ac7a9e06f234838758327c2abbcdd3553f0e29fea7e65d"},{"path":"lib/toolkit/web-scanner.js","sha256":"ae86b01d545de04c6ace71336b93e83ccfceeb523144b5dbe17b2432220a6ed9","tlsh":"94a3b5159d6230150a83c2b829175642f73542033b59b8a97bddc3a42f8e99dc3bfbde"},{"path":"lib/toolkit/wireless-iot.js","sha256":"fdb60772f2eb9c035fa626aa3cdf24947d5fd7968694247d328fd417d09d7d99","tlsh":"77e3c503ee502c6502c3c25798568382f63942576e523a49b7acc25c2f5d4bfc3bf6ae"},{"path":"test/authz.test.js","sha256":"ab7624d60c7bd9cb6078bce3b715e1ea2130ddcaacd1cf2a882043c926243611","tlsh":"ceb2ea9e531e047286a202854c0d407abf3c82a563c59cd079dd939f1d0ee6fd26abfb"}],"package_integrity":[{"filename":"darknode-cli-2.46.1.tgz","hashes":{"sha1":"4ed9b480265c1eeb0f7d04d5a84ba43d1939d6b3","sha512_sri":"sha512-XZDNgPCkuO1lBj2D1oq7vYN0qE5TPshtyZ1fS7iFO0a7V6Z+nWHIzo+nH1G7zoKhTUpHCx4xyatDebT293ygiQ=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6m47-rc2c-6xpg"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/darknode-cli/v/2.46.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/darknode-cli/v/2.46.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/darknode-cli/v/2.46.2"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-6m47-rc2c-6xpg","import_time":"2026-10-22T20:25:48.898737465Z","modified_time":"2026-10-22T20:23:01Z","sha256":"7f6c3e391187cc33e816213aed18babc900e7ec1a4152baaf7fdfb63a76319b6","source":"ghsa-malware","versions":["2.46.2"]},{"id":"GHSA-6m47-rc2c-6xpg","import_time":"2026-10-22T21:24:04.292833511Z","modified_time":"2026-10-22T20:37:50Z","sha256":"516c3b0f0c9de08353669fef0ef7b2bc9620a2ff1a53a616a64929cfd2a5be5f","source":"ghsa-malware","versions":["2.46.1","2.46.0","2.46.2"]},{"id":"IN-MAL-2026-022126","import_time":"2026-10-29T14:14:28.10136206Z","modified_time":"2026-10-29T13:52:16Z","sha256":"7b30c59f77d8856e90288146a664ab83453102840f93142b5f6b0de5b338d4aa","source":"amazon-inspector","versions":["2.46.1"]},{"id":"IN-MAL-2026-022095","import_time":"2026-10-29T14:14:25.337917368Z","modified_time":"2026-10-29T13:48:07Z","sha256":"c5044f67e91afea484dcd080997b13f5f07fab9d32a4b3f34e7209d62b1e1b8d","source":"amazon-inspector","versions":["2.46.0"]},{"id":"IN-MAL-2026-022122","import_time":"2026-10-29T14:14:27.748070566Z","modified_time":"2026-10-29T13:51:43Z","sha256":"ebf377da86ddd8f8aecddff593aa975c5dc86103d80434027cd2019e9dfa1cde","source":"amazon-inspector","versions":["2.46.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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