dsh-web-fetch-authenticated
github.com/xarleyn/dsh-plugins
v0.7.2
模型与账号
发起网络请求动态执行代码
一个带认证、受策略管控的 `WebFetchProvider`,用于 DeepSeek Harness 的 web 能力接缝(`ctx.web`)。它让现有的面向模型的 `web_fetch(url)` 工具能够从已批准的认证资源——企业 Jira、Confluence、GitLab、内部 wiki——获取内容,**而不会把凭据暴露给模型、工具参数、会话日志、提示词或浏览器 UI**。
作者原文(英文)
Authenticated, policy-gated WebFetchProvider for the DeepSeek Harness web capability seam (ctx.web)
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseekdeepseek-harnessdshdsh-plugincordisweb-fetchssrfcredentials
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意2一般20未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意9 处命中lib/config.js:30export const DEFAULT_USER_AGENT = "deepseek-harness-authenticated-fetch (+https://github.com/xarleyn/dsh-plugins)";lib/adapters/index.js:11import { authenticatedFetch } from "../transport/fetch.js";lib/provider.js:14import { authenticatedFetch, authenticatedFetchBinary, } from "./transport/fetch.js";lib/provider.js:30async fetch(request, signal) {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 动态执行代码
dynamic-code需留意1 处命中lib/client.js:135new Function("");- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 接触凭据或密钥
credentials一般464 处命中lib/client.js:5292"credentialState": object({lib/client.js:5307"credentialStates": array(object({lib/client.js:5348"credentialState": object({lib/client.js:5401"credentialState": object({- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般74 处命中…ypes/client/sections/common.d.ts:74export declare const ICON_POWER: import("react/jsx-runtime").JSX.Element;…ypes/client/sections/common.d.ts:76export declare const ICON_TEST: import("react/jsx-runtime").JSX.Element;…ypes/client/sections/common.d.ts:78export declare const ICON_EDIT: import("react/jsx-runtime").JSX.Element;…ypes/client/sections/common.d.ts:80export declare const ICON_DELETE: import("react/jsx-runtime").JSX.Element;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 9 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 464 |
| 动态加载模块 | dynamic-import | 一般 | 74 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 94 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。