D

dsh-web-fetch-playwright

github.com/chendefine/dsh-web-fetch-playwright

v0.2.11 模型与账号 发起网络请求写入文件清单可疑
认证 L1已扫描 ✓健康 B/80周下载 926

DeepSeek Harness(DSH)双端插件:为内置 `web_fetch` 工具提供 **Playwright/CDP 后端**——用真实浏览器渲染网页,经 **Readability + DOMPurify + Turndown + GFM** 降噪(清洗导航栏、侧边栏、页脚、贴片广告)后输出 Markdown。

作者原文(英文)

Playwright/CDP web-fetch provider for DeepSeek Harness: renders pages in a real browser, denoises them (Readability + DOMPurify), and returns markdown.

中文简介由 DeepSeek 模型翻译,仅供参考。

deepseek-harnessdshdsh-plugincordisplaywrightcdpweb-fetchfetch-provider
发布
2026-10-08

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意4一般17未命中
高关注需留意一般

能力清单

  • 发起网络请求network需留意8 处命中
    • lib/index.js:57* provider consumes per fetch. Validation goes through the schema, so the
    • lib/index.js:442* stay for the next fetch.
    • lib/index.js:924* Resolve the local Playwright backend for one fetch.
    • lib/index.js:1241* nothing — they never outlive their fetch. In-flight CDP fetches keep
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意1 处命中
    • package.json:34"build": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\" && tsc -p tsconfig.build.json --emitD…
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本:prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 读取文件reads-files一般10 处命中
    • lib/index.js:868if (!statSync(candidate).isFile()) continue;
    • lib/index.js:882head = readFileSync(path).subarray(0, 4);
    • lib/index.js:896let dir = statSync(start).isDirectory() ? start : dirname(start);
    • lib/index.js:903const pkg = JSON.parse(readFileSync(manifest, "utf8"));
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般10 处命中
    • lib/index.js:919return await import(pathToFileURL(entry).href);
    • lib/index.js:978const chromium = (await import("playwright-core")).chromium;
    • lib/types/client/card.d.ts:26export declare function PlaywrightCard(props: PlaywrightCardProps): string | import("react").JSX.Element | null;
    • lib/types/client/fields.d.ts:28}): import("react").JSX.Element;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 接触凭据或密钥credentials一般3 处命中
    • lib/index.js:1196if (url.username.length > 0 || url.password.length > 0) throw new WebError("credentials in URLs are not allowed", "WEB_B…
    • package.json:79"apiKeys": [],
    • src/provider.ts:258if (url.username.length > 0 || url.password.length > 0) {
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般2 处命中
    • lib/index.js:863const pathValue = process.env.PATH ?? "";
    • src/playwright-resolve.ts:51const pathValue = process.env.PATH ?? ''
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意8
写入文件writes-files需留意1
清单可疑manifest-obfuscation需留意1
读取文件reads-files一般10
动态加载模块dynamic-import一般10
接触凭据或密钥credentials一般3
读取环境变量reads-env一般2

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 37 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

这个插件声明的依赖中,有 21 条已公开的安全公告 (最高等级:严重):

等级依赖包编号摘要
严重dompurifyCVE-2026-41239DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode
修复版本:3.4.0 详情 →
中dompurifyCVE-2026-65902DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`
修复版本:3.4.7 详情 →
中dompurifyCVE-2026-49458DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks
修复版本:3.4.6 详情 →
中dompurifyCVE-2026-49459DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM
修复版本:3.4.6 详情 →
中dompurifyCVE-2026-0540DOMPurify contains a Cross-site Scripting vulnerability
修复版本:2.5.9, 3.3.2 详情 →
中dompurifyCVE-2025-15599DOMPurify contains a Cross-site Scripting vulnerability
修复版本:3.2.7 详情 →
中dompurifyCVE-2026-41238DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback
修复版本:3.4.0 详情 →
未分级dompurifyCVE-2026-65903DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluation
修复版本:3.4.0 详情 →
未分级dompurifyCVE-2026-75838DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS
修复版本:3.4.13 详情 →
未分级dompurifyCVE-2026-109345DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup — pure HTML reparse executes
修复版本:3.4.16 详情 →
未分级dompurifyCVE-2026-66010DOMPurify: `CUSTOM_ELEMENT_HANDLING` bypasses `afterSanitizeElements` for allowed custom elements.
修复版本:3.4.12 详情 →
未分级dompurifyCVE-2026-65913DOMPurify USE_PROFILES prototype pollution allows event handlers
修复版本:3.3.2 详情 →

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

可信度

80 健康分 B 扣分项下方逐条附证据
  • -20隔离环境装不上fail:_modules/@deepseek-ai/dsh/lib/bin.js:236:17) at async runDesktopCli (file:///C:/Users/72881/AppData/Local/Programs/DeepSeek%20Harness/resources/app.asar/dsh/nod

认证等级 L1

  • L0内容完整性✓sha512-jLbud+Bimt2vEfmj… 与本地 tarball 复算一致
  • L1来源✓维护者 chendefine,仓库 chendefine/dsh-web-fetch-playwright(未做仓库审计)
  • L2发行—试装未通过(install-failed)
  • L3生态—还没有契约/启动记录
  • L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
chendefine
仓库
https://github.com/chendefine/dsh-web-fetch-playwright
许可
MIT
最后发布
2026-10-08
周下载
926
star
8

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。

← 返回首页