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

目标: 1000 元 · 已筹: 1359 元

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

@nsub/nitxe

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

Summary

Malicious code in @nsub/nitxe (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
68
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@nsub/nitxe*
npm@nsub/nitxe1.0.0
npm@nsub/nitxe1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T06:51:39Z","published":"2026-07-13T08:30:08Z","schema_version":"1.7.4","id":"MAL-2026-10429","aliases":["GHSA-54gp-rw59-mwf2"],"summary":"Malicious code in @nsub/nitxe (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b16147b7ac55d6c4cc4e042be73e6d49fc7232e8a03f406fecd034cdd27bf0eb)\nThe package's declared npm postinstall script collects the installer's username (os.userInfo().username), hostname (os.hostname()), platform, and the entire process.env object, base64-encodes the JSON, and transmits it as a query parameter in an HTTPS GET to a hardcoded unrelated host (gjsidn.co/collect?d=...). This fires automatically on `npm install`. The call is dispatched via `eval('play(food())')` wrapped in a silent try/catch — an obfuscation pattern with no legitimate purpose. In this specific version the postinstall.js file requires only `https` and never requires `os`, so the eval'd call throws a ReferenceError that the try/catch swallows and no network I/O actually occurs — but the code shape is unambiguous credential/environment theft and a one-line follow-up publish would make it live. Installer harm surface: full process.env dump on CI machines commonly exports cloud credentials, CI secrets, and npm publish tokens.\n\n## Source: ghsa-malware (d3269e39ebe4ffb139eba279503d64bceb158c5a822b2238c92dc463c10aedba)\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":{"ecosystem":"npm","name":"@nsub/nitxe"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"scripts/postinstall.js","sha256":"b58a285ff4b4c830febad4106725344f0ad0128dc50b2e404385562aad5f4cb5","tlsh":"e4f0c9e150f5e82049f6a284404bae1f91ecf0023a1feca0bea403452f0963d40b38bd"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-54gp-rw59-mwf2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nsub/nitxe/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nsub/nitxe/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"d3269e39ebe4ffb139eba279503d64bceb158c5a822b2238c92dc463c10aedba","import_time":"2026-07-13T09:23:41.005474451Z","id":"GHSA-54gp-rw59-mwf2","modified_time":"2026-07-13T08:30:09Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"b16147b7ac55d6c4cc4e042be73e6d49fc7232e8a03f406fecd034cdd27bf0eb","import_time":"2026-07-13T14:19:34.015133799Z","id":"IN-MAL-2026-010250","modified_time":"2026-07-13T14:04:06Z","versions":["1.0.1"]},{"source":"amazon-inspector","sha256":"8636d8d7ecc7a89a7c4990e963ddd940375a892bdd025f5684edfbb55ff396d0","import_time":"2026-07-14T06:49:56.660407065Z","id":"IN-MAL-2026-010476","modified_time":"2026-07-14T05:57:22Z","versions":["1.0.0"]}]}}

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