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

目标: 1000 元 · 已筹: 1359 元

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

@nstrlabs/sdk

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

Summary

Malicious code in @nstrlabs/sdk (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@nstrlabs/sdk99.0.0
npm@nstrlabs/sdk99.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-09T18:52:14Z","published":"2026-06-09T17:39:06Z","schema_version":"1.7.4","id":"MAL-2026-5421","summary":"Malicious code in @nstrlabs/sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a0b1375de7b44594cd3760efb91cb94c8c8b7137322f4597114e314ce5e14e45)\nOn `npm install`, package.json runs `preinstall: node index.js || true`, unconditionally executing index.js. The script collects host identity fields (os.hostname(), os.userInfo().username, __dirname, process.cwd(), and the package id), hex-encodes them as DNS labels, and resolves them as a subdomain of an interactsh OOB callback host (`*.d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live`), then also POSTs the same JSON payload to a bare IP HTTP endpoint at `http://172.201.213.59:9090/c`. Two independent exfiltration channels (DNS + HTTP) fire on every install, with `|| true` swallowing errors so the exfil is silent. The package is a typosquat / dependency-confusion lure: version `99.0.1` is an unusually high pseudo-version, scope `@nstrlabs` and metadata (`description: security research`, author `jeroengui`) are placeholder-shaped, and the package has no other functionality — its sole effect on install is the recon beacon.\n","affected":[{"package":{"ecosystem":"npm","name":"@nstrlabs/sdk"},"versions":["99.0.1","99.0.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":{"domains":["7b2268223a227363616e2d623438343064653961343662222c2275223a22.7363616e222c2264223a222f686f6d652f7363616e2f6e6f64655f6d6f64.756c65732f406e7374726c6162732f73646b222c2263223a222f686f6d65.d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live"],"evidence_files":[{"path":"index.js","sha256":"92d29e21c08eb6664e07ecc752e2045f91342eee1cfdbda1f00fa37750046966","tlsh":"ccf0e1e161a0d1f99b709590bdd4668457f3d656b04288f0dc4d0fcf46c28d05d76ae1"},{"path":"package.json","sha256":"32d38c2046fb241c75eac099d43a8fd7112879d27efcb44018bf3390aee41c1c","tlsh":"2ac012681920b436265182f16976ac4d61e98218108448448ee205b494b179c806d155"}],"package_integrity":[{"filename":"sdk-99.0.1.tgz","hashes":{"sha1":"afdbbb4c1c53c6f7ab17194c7b953c130d1e0bf4","sha512_sri":"sha512-H30b64BXceguetc8ek+fGnuMssnsAi4LtXp+OrhJ3frfZ8UUx8/4PNsB4o2vlEz+3TU/8pY0wPuF3GynMPd/cw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nstrlabs/sdk/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nstrlabs/sdk/v/99.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"431fba2bc1e6b06410274f7e3ab7e44dc0355ac6e934f788f3302ba2babe4f9e","import_time":"2026-06-09T17:45:54.036915308Z","id":"IN-MAL-2026-005090","modified_time":"2026-06-09T17:39:07Z","versions":["99.0.1"]},{"source":"amazon-inspector","sha256":"a0b1375de7b44594cd3760efb91cb94c8c8b7137322f4597114e314ce5e14e45","import_time":"2026-06-09T17:45:53.99829334Z","id":"IN-MAL-2026-005089","modified_time":"2026-06-09T17:39:06Z","versions":["99.0.1"]},{"source":"amazon-inspector","sha256":"0a20b9279fceb4a7db4f1c1ba696a0de954391b7305a38d196a19f2085f3d32d","import_time":"2026-06-09T18:50:18.380304302Z","id":"IN-MAL-2026-005133","modified_time":"2026-06-09T17:50:40Z","versions":["99.0.0"]},{"source":"amazon-inspector","sha256":"b78132c899a6715cb1f453d93ac421b2f796eff921e6113865c6e62d47269d15","import_time":"2026-06-09T18:50:18.299133917Z","id":"IN-MAL-2026-005132","modified_time":"2026-06-09T17:50:40Z","versions":["99.0.0"]}]}}

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