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

目标: 1000 元 · 已筹: 1359 元

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

gx-npm-lib

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

Summary

Malicious code in gx-npm-lib (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmgx-npm-lib*
npmgx-npm-lib99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-29T03:27:53Z","published":"2026-06-25T22:30:08Z","schema_version":"1.7.4","id":"MAL-2026-6480","aliases":["GHSA-wcmr-4783-pq3p"],"summary":"Malicious code in gx-npm-lib (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e919710d2f28ec776b8165821ebe2fbe480c1e432ec9416c7b73bd1315ee6a6e)\nPackage published at version 99.99.99 under a generic name (`gx-npm-lib`) — the canonical dependency-confusion shape used to overshadow internal packages in CI version resolution. The `postinstall` lifecycle script runs `node beacon.js`, which collects installer metadata (package name, `os.hostname()`, `os.userInfo()` username, `process.cwd()`, the names of `process.env` variables, and Node version) and exfiltrates it via two channels to the hardcoded attacker-controlled OAST domain `d8uectoqtvskhftsa940pm3kth3ahdxn4.oast.me`: (1) a DNS lookup encoding `pkg.host.user` as subdomains, and (2) a base64-encoded HTTPS GET to `https://d8uectoqtvskhftsa940pm3kth3ahdxn4.oast.me/<pkg>?d=<base64>`. The package self-describes as a 'security-research placeholder' for a dependency-confusion PoC, but that self-label does not constitute installer consent — `npm install` in any environment where this package resolves (CI for an internal `gx-npm-lib`, or a developer mistyping) leaks host/user/cwd/environment inventory to the attacker's OAST collector. Multi-channel (DNS + HTTPS+base64) exfiltration to a hardcoded interactsh-style domain on a default install is a textbook active supply-chain attack.\n\n## Source: ghsa-malware (de1b5709aec5da1ffdf3a44dcb78b36dc7aa0d65aa499feca4d6f07dd0ae6011)\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":"gx-npm-lib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.99"],"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":{"evidence_files":[{"path":"beacon.js","sha256":"8642a1b9117942eed77327a315389d97f652317c03f2506a9ee28793621af7b5","tlsh":"2841879f99e8a12822f721f446af402526b3d2631358ddd0745ca3158f75db803d6cfe"},{"path":"package.json","sha256":"f43dd7e027aca56b2f5dd3547f6f38df2e417061bdba6530ee0d848234f266fa","tlsh":"92f0ac48f4146e7665e655e2183970c237314c4b9b10a949b69f80086b1dee703fb1aa"}],"package_integrity":[{"filename":"gx-npm-lib-99.99.99.tgz","hashes":{"sha1":"f52f2ff07b0692fa4ad23c7182a3a3df03ff14b6","sha512_sri":"sha512-pkF9XgdUnVdjNYbsn2ffbnywa+bABrrlHzqlECQFG/xcTDJhKTotDc+7nDApaa8xBBhWAeFyWQ48Mq+ZU29WFQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gx-npm-lib/v/99.99.99"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wcmr-4783-pq3p"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"e919710d2f28ec776b8165821ebe2fbe480c1e432ec9416c7b73bd1315ee6a6e","import_time":"2026-06-25T23:00:34.6160742Z","id":"IN-MAL-2026-007560","modified_time":"2026-06-25T22:30:08Z","versions":["99.99.99"]},{"source":"ghsa-malware","sha256":"de1b5709aec5da1ffdf3a44dcb78b36dc7aa0d65aa499feca4d6f07dd0ae6011","import_time":"2026-06-29T03:26:14.37938462Z","id":"GHSA-wcmr-4783-pq3p","modified_time":"2026-06-29T03:16:03Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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