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

目标: 1000 元 · 已筹: 1359 元

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

nim-submit-for-test

MAL-2026-5570
2026-06-11 05:42:59
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in nim-submit-for-test (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnim-submit-for-test2.2.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-11T05:42:59Z","published":"2026-06-11T04:46:02Z","schema_version":"1.7.4","id":"MAL-2026-5570","summary":"Malicious code in nim-submit-for-test (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2bf75301042574897cc2f4bd8f3b8939fe4ac7a958f2cfe2404bbbee149797d0)\nOn npm install, the package's postinstall hook executes lib/_compiler.js, which spawns a detached Node process that collects host identity (hostname, username, cwd, IP addresses, npm registry) and the names of environment variables matching NPM|NODE|CI|JENKINS|GIT|BUILD|RUNNER|DOCKER|KUBE|REGISTRY, then POSTs them via https.request to a hardcoded DingTalk webhook (oapi.dingtalk.com/robot/send) with an embedded access token. Before sending, the script checks the installer's username and hostname against an evasion list ('sandbox','malware','analyst','cuckoo','analysis','sample') and exits silently when matched, to avoid running in security analysis environments. The combination of automatic install-time execution, host/CI metadata collection, hardcoded attacker-controlled webhook, and analyst-environment evasion is a clear supply-chain exfiltration beacon.\n","affected":[{"package":{"ecosystem":"npm","name":"nim-submit-for-test"},"versions":["2.2.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"domains":["oapi.dingtalk.com"],"evidence_files":[{"path":"lib/_compiler.js","sha256":"bd158e2c3e12c1c3661649a5215fafec97c606984dd005a76cc43df7c120d80d","tlsh":"d741b5e674a97638177c85c290821016da57e2223583f8e0fc2c41d61bc7cfa9af197e"}],"package_integrity":[{"filename":"nim-submit-for-test-2.2.0.tgz","hashes":{"sha1":"6cefc3a4fe0e36e4eb878b1ef208dff76fd6dbe9","sha512_sri":"sha512-YJEPRf1iGYTnLiuGLOghEE4tUovXmi9ygxEr+ZsT3bwJELWergDWHrr0x6lWczjuY9/eT4OE+uuAJ8RXcHdRtA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/nim-submit-for-test/v/2.2.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005471","import_time":"2026-06-11T05:40:58.188983343Z","modified_time":"2026-06-11T04:46:02Z","sha256":"2bf75301042574897cc2f4bd8f3b8939fe4ac7a958f2cfe2404bbbee149797d0","source":"amazon-inspector","versions":["2.2.0"]},{"id":"IN-MAL-2026-005472","import_time":"2026-06-11T05:40:58.261937784Z","modified_time":"2026-06-11T04:46:03Z","sha256":"77bfef43e57cee7068599b0d1af2fd6b5400e7298aa9833fdffda514a28eeeb2","source":"amazon-inspector","versions":["2.2.0"]}]}}

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