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

目标: 1000 元 · 已筹: 1359 元

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

@sudoughnym/enviro-demo

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

Summary

Malicious code in @sudoughnym/enviro-demo (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
254
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@sudoughnym/enviro-demo*
npm@sudoughnym/enviro-demo0.3.3
npm@sudoughnym/enviro-demo99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6697","published":"2026-06-30T20:59:17Z","modified":"2026-08-02T23:27:26.458023542Z","aliases":["GHSA-77gf-97j3-jv6p"],"summary":"Malicious code in @sudoughnym/enviro-demo (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (02c1c204d0f458d13d7140f4b7a007d551095665a418e9146037be9a5b2b7957)\n@sudoughnym/enviro-demo@99.99.99 ships preinstall.js and postinstall.js lifecycle scripts that run automatically on `npm install`. Both scripts collect host identifiers and environment metadata — os.hostname(), process.cwd(), pid, node version, platform, process.env.USER, the first ten environment variable names, and the total env count — and POST them as JSON to https://webhook.site/f83b073c-a04a-4ac5-8930-507051bd22f7, a third-party webhook capture service not associated with the package's stated publisher. The package version (99.99.99) and its own description identify it as a dependency-confusion proof-of-concept targeting an internal `enviro` package name; the inflated semver is intended to outrank private-registry versions so internal build systems resolve to this public package. Installer harm: any build or developer machine that resolves to this version leaks host identity and environment-variable layout (which can include secret-bearing variable names) to an attacker-controlled endpoint on every install.\n\n## Source: ghsa-malware (ec98ea2fad045d449528d5c96067a9eb3b9734b345bbfc201c80f9bda0e3e057)\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":{"name":"@sudoughnym/enviro-demo","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.99","0.3.3"],"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":"preinstall.js","sha256":"03df4047f3aaa9c2cbbfd289053a748d9b5f82a4113ed142dc54f9a9f5529ad0","tlsh":"202144d4e1e8661413b7b3e5e08b611a39b7c841974b7964f45883633fd5a2801729ed"},{"path":"package.json","sha256":"57dca44a6dc5be90c2735bfc0ec5593f143634a523bbe7aaa4c23584d0a1f689","tlsh":"e8e068704400eb33bcce4be9083380067bf94846ca64190863db808a138d17e87ff15a"}],"package_integrity":[{"filename":"enviro-demo-99.99.99.tgz","hashes":{"sha1":"b18eadcb0f62b03b69c83d6e94d0e0ae59491bfb","sha512_sri":"sha512-0edpnYwjpGQJbNmYw615jFEO+AmwNxe23cH6Briw61pX4lhkOO2+sBx+3GDWUwoZdHafgy6ZbdMT+rSDAZD/4Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sudoughnym/enviro-demo/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sudoughnym/enviro-demo/v/0.3.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-77gf-97j3-jv6p"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007815","import_time":"2026-06-30T21:35:49.848832693Z","modified_time":"2026-06-30T20:59:17Z","sha256":"02c1c204d0f458d13d7140f4b7a007d551095665a418e9146037be9a5b2b7957","source":"amazon-inspector","versions":["99.99.99"]},{"id":"IN-MAL-2026-009766","import_time":"2026-07-12T21:20:01.562959825Z","modified_time":"2026-07-12T20:49:51Z","sha256":"e27114879bb7a9ee3c4b8eb7f13705a8bbcf60005155406c09a8f15f6d87d9cc","source":"amazon-inspector","versions":["0.3.3"]},{"id":"GHSA-77gf-97j3-jv6p","import_time":"2026-08-02T22:41:04.816453Z","modified_time":"2026-07-31T05:48:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ec98ea2fad045d449528d5c96067a9eb3b9734b345bbfc201c80f9bda0e3e057","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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