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

目标: 1000 元 · 已筹: 1359 元

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

puppeteer-obscura

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

Summary

Malicious code in puppeteer-obscura (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmpuppeteer-obscura*
npmpuppeteer-obscura1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-16001","published":"2026-09-05T19:49:11Z","modified":"2026-09-08T20:19:24.597007174Z","aliases":["GHSA-cxwq-q9c5-424v"],"summary":"Malicious code in puppeteer-obscura (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5617ac5e060d08fcfe23669c497e6b4fbb8587fd7f7630a7b9f6e86287880983)\nOn `npm install`, the package's postinstall hook (`node dist/install.js`) downloads a platform-specific binary from `https://github.com/h4ckf0r0day/obscura/releases/latest/download/<asset>`, writes it to disk, marks it executable (chmod), and the package later spawns it via `child_process.spawn`. Two structural issues make this an install-time remote code execution surface: (1) the URL uses GitHub's mutable `releases/latest` pointer with no version pin and no hash or signature verification, so the bytes delivered to every installer can change at any moment without a corresponding npm release; (2) the GitHub owner `h4ckf0r0day` (defined in `dist/constants.js` as `GITHUB_REPO = \"h4ckf0r0day/obscura\"`) does not match the npm publisher identity `yoannchb`/`yoannchb-pro` declared in `package.json` and `LICENSE`. Whoever controls the `h4ckf0r0day` GitHub account — which is not the npm publisher — can ship arbitrary native code to every installer of this package. The advertised purpose (a Chromium-like browser binary for Puppeteer) provides cover for an opaque executable that runs on the installer's machine.\n\n## Source: ghsa-malware (a3c4d559ca37c933d3740932a055c986015603ed942aee9b747d0bde9e60a8dd)\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":"puppeteer-obscura","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"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":"dist/lib/download.js","sha256":"065d61493b5a624b06418c4eb8c548cfa3647b7deff824816e8fa76be539cf29","tlsh":"f2c1a33929f2727178bbe1ae670b5004e57d71133008d584ba6cb3902fed45a82e1efa"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cxwq-q9c5-424v"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/puppeteer-obscura/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-cxwq-q9c5-424v","import_time":"2026-09-07T01:51:49.715374Z","modified_time":"2026-09-05T19:49:13Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a3c4d559ca37c933d3740932a055c986015603ed942aee9b747d0bde9e60a8dd","source":"ghsa-malware"},{"id":"IN-MAL-2026-019712","import_time":"2026-09-08T20:17:35.354618613Z","modified_time":"2026-09-08T20:00:42Z","sha256":"5617ac5e060d08fcfe23669c497e6b4fbb8587fd7f7630a7b9f6e86287880983","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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