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

目标: 1000 元 · 已筹: 1359 元

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

greensaver

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

Summary

Malicious code in greensaver (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.2.1archived——VIP 下载
1.2.2unavailable———
1.2.3unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmgreensaver1.2.1
npmgreensaver1.2.2
npmgreensaver1.2.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-11T23:17:15Z","published":"2026-09-11T22:40:11Z","schema_version":"1.7.4","id":"MAL-2026-16138","summary":"Malicious code in greensaver (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dd840e550f39e1f29f7a50b0cd121c3fa5e78e99954f22009f03b5ac775f91ec)\ngreensaver@1.2.3 declares a postinstall script (\"node lib/greensaver.js\") that runs automatically on `npm install`. The script decodes two files masquerading as TypeScript sourcemaps (lib/parse.ts.map and lib/init.ts.map) from base64 into sibling JavaScript files (lib/parsetmp.js and lib/config.js), requires the loader, and then unlinks all four files to erase evidence. The loader fetches an AES-CBC-encrypted blob from https://www.jsonkeeper.com/b/V6NBX (an anonymous JSON paste host), decrypts it with the hardcoded password 'myPassword123', and passes the resulting plaintext directly to eval(). The endpoint URL and auth header values are additionally base64-wrapped for a second obfuscation layer. The remainder of the package (scan.js, parse.js, constants.js, utils.js, and the exported makeRe/scan/parse API) is a rename of the picomatch glob-matcher library, providing a cover story for the dropper. The package name and 'Blazing fast and accurate glob matcher' description resemble picomatch.\n","affected":[{"package":{"ecosystem":"npm","name":"greensaver"},"versions":["1.2.1","1.2.3","1.2.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"}],"indicators":{"evidence_files":[{"path":"lib/greensaver.js","sha256":"e91c3c294e1c1ef2496e27e6076e621597e9750636bd7890223d34eae8053012","tlsh":"bf3285b418e3a11505e3bae945cf90d5ab35e4213a3fe091f80ca6d92f850bcd67bdd4"}],"package_integrity":[{"filename":"greensaver-1.2.1.tgz","hashes":{"sha1":"95f417be7a770cb9f83d9682bad14266ffba26cf","sha512_sri":"sha512-vDHMmdc85WgZuIf3KX+lUbfak2NsHbH7e16D4QU8Ep9DvG3lMYNeAH4POnmejhwlo15y8mm94hOGbUDLp/VXgQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/greensaver/v/1.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/greensaver/v/1.2.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/greensaver/v/1.2.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020013","import_time":"2026-09-11T23:15:30.159922536Z","modified_time":"2026-09-11T22:40:11Z","sha256":"0d9225dfc389b1b10c4faecc9587c673141ae52bddf92034efbab2e8af6381c6","source":"amazon-inspector","versions":["1.2.1"]},{"id":"IN-MAL-2026-020014","import_time":"2026-09-11T23:15:30.251407416Z","modified_time":"2026-09-11T22:40:19Z","sha256":"dd840e550f39e1f29f7a50b0cd121c3fa5e78e99954f22009f03b5ac775f91ec","source":"amazon-inspector","versions":["1.2.3"]},{"id":"IN-MAL-2026-020015","import_time":"2026-09-11T23:15:30.365554042Z","modified_time":"2026-09-11T22:40:27Z","sha256":"9e6037c557538871df82e7bc87a05d1e5c10a7876e9e3f2a903e1984602fc7be","source":"amazon-inspector","versions":["1.2.2"]}]}}

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