dsh-plugin-yet-another-subagent
@huanlin/dsh-plugin-yet-another-subagent
v0.5.1
界面与主题
发起网络请求写入文件动态执行代码
可配置的子代理(subagent)profile 系统,提供单一 `subagent` 工具 + `profile` 参数选择,支持 Web UI 设置、实时进度展示(工具调用/token/活动)、子代理树标签页、点击跳转子会话。
作者原文(英文)
Configurable subagent profiles with web UI settings, real-time toolcall/token display, and click-to-navigate child sessions.
中文简介由 DeepSeek 模型翻译,仅供参考。
dsh-plugin
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意2一般19未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意3 处命中lib/index.js:1078* plugin fiber (each `fetch.register` disposer is collected by an effect).lib/index.js:1094rpcCtx.effect(() => connection.fetch.register({README.md:21- RPC CRUD:`ya-subagent.profiles.*` / `.tools.list` / `.sessions.repair`(`/api` 上的 exact Fetch route,经 `connection.fetch…README.md:117Profile CRUD 走 `/api` 通道上的 exact Fetch route(`ctx.connection.fetch.register`,与官方- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意2 处命中lib/index.js:702await writeFile(path, outcome.bytes);lib/index.js:936await copyFile(path, backup);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 动态执行代码
dynamic-code需留意1 处命中lib/index.js:1230new Function("");- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 动态加载模块
dynamic-import一般4 处命中lib/types/client/SettingsPage.d.ts:66export declare function SettingsPage({ view, rpc, fetchProfiles, fetchModelCatalog, t }: SettingsPageProps): import("rea…lib/types/client/SubagentCard.d.ts:36export declare function SubagentCard(props: SubagentCardProps): import("react").JSX.Element;…pes/client/SubagentTreeView.d.ts:36export declare function SubagentTreeView({ sessionId, useSessions, subagentAddress, profileLabelOf, openChild, refreshPr…lib/types/tool-factory.d.ts:43export declare function buildTool(profiles: readonly SubagentProfile[], ctx: Context): import("@deepseek-ai/dsh-tools").…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取文件
reads-files一般3 处命中lib/index.js:667entries = await readdir(dir);lib/index.js:733const raw = await readFile(path, "utf8");lib/index.js:750const buffer = await readFile(path);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 3 |
| 写入文件 | writes-files | 需留意 | 2 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 动态加载模块 | dynamic-import | 一般 | 4 |
| 读取文件 | reads-files | 一般 | 3 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 22 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)