dsh-ai-team
github.com/yunqiangwu/dsh-ai-team
v1.7.0
其他
可执行外部程序写入文件发起网络请求
认证 L2已扫描 ✓健康 B/80周下载 66
在 dsh 配置里以插件方式加载(见下方配置示例),或在对话中直接调用工具即可跑通全流程。
作者原文(英文)
DSH plugin: an unattended AI software team. Feed it a bare Linux server, a set of secrets (env-var references only) and a git remote, and the plugin-driven AI team drives the whole project lifecycle — environment bootstrap, scaffolding, task decomposition
中文简介由 DeepSeek 模型翻译,仅供参考。
dshdsh-plugindeepseek-harnessmulti-agentai-teamautopilotunattendedagentic
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注3需留意5一般15未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中lib/types/bootstrap.js:11import { execFile } from 'node:child_process';lib/types/exec.js:14import { execFile } from 'node:child_process';lib/types/git.js:11import { execFile } from 'node:child_process';lib/index.js:10import { execFile } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意46 处命中lib/types/bootstrap.js:80await copyFile(examplePath, envPath);lib/types/cache.js:27await mkdir(target, { recursive: true });lib/types/cache.js:29await mkdir(join(workspacePath, dir.split('/').slice(0, -1).join('/')), { recursive: true });lib/types/docdraft.js:106await mkdir(dirname(absolutePath), { recursive: true });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意6 处命中lib/types/client/AutopilotPanel.js:130const response = await fetch(`${TICKET_ROUTE_PREFIX}/${encodeURIComponent(ticketId)}/answer`, {lib/types/client/AutopilotPanel.js:558const response = await fetch(TEAM_SWITCH_ROUTE_PREFIX, {lib/client.js:958const response = await fetch(`${TICKET_ROUTE_PREFIX}/${encodeURIComponent(ticketId)}/answer`, {lib/client.js:2047ok = (await fetch(TEAM_SWITCH_ROUTE_PREFIX, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 启动伪终端
spawns-pty需留意2 处命中lib/types/exec.js:36const child = execFile('/bin/sh', ['-c', command], { cwd, maxBuffer: MAX_BUFFER_BYTES, env: { ...process.env, ...input.e…lib/index.js:1722const child = execFile("/bin/sh", ["-c", command], {- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 读取文件
reads-files一般18 处命中lib/types/docdraft.js:98content = await readFile(absolutePath, 'utf8');lib/types/docdraft.js:120const entries = await readdir(dir, { withFileTypes: true }).catch(() => []);lib/index.js:507await readFile(join(target, "agent.cordis.yml"));lib/index.js:559entries = await readdir(dir);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般15 处命中lib/types/bootstrap.js:62const value = process.env[key];lib/types/bootstrap.js:134extraEnv: { PATH: `${EXTRA_BIN_DIRS.join(':')}:${process.env.PATH ?? ''}` },lib/types/exec.js:5* 叠在 `process.env` 上的条目、有没有超时、日志尾是否就地脱敏。三份复制各自演化过lib/types/exec.js:36const child = execFile('/bin/sh', ['-c', command], { cwd, maxBuffer: MAX_BUFFER_BYTES, env: { ...process.env, ...input.e…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般4 处命中lib/types/client/AutopilotPanel.js:177return (_jsxs("label", { className: "dsh-ai-team__field", children: [_jsxs("span", { className: "dsh-ai-team__field-labe…lib/client.js:1056type: field.type === "password" ? "password" : "text",lib/index.js:2839return `<label for="${name$1}">${label}</label><input type="${field.type === "password" ? "password" : "text"}" ${common…lib/types/ticket-handler.js:208const inputType = field.type === 'password' ? 'password' : 'text';- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 文中出现远程脚本地址
remote-url-reference一般4 处命中lib/types/bootstrap.js:93const command = 'curl -fsSL https://bun.sh/install | bash';lib/types/bootstrap.js:99const result = await runShell('corepack enable pnpm || curl -fsSL https://get.pnpm.io/install.sh | sh -', homedir(), red…lib/index.js:1927const result = await runShell$1("curl -fsSL https://bun.sh/install | bash", homedir(), redactor, signal);lib/index.js:1934const result = await runShell$1("corepack enable pnpm || curl -fsSL https://get.pnpm.io/install.sh | sh -", homedir(), r…- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
- 动态加载模块
dynamic-import一般2 处命中…types/client/AutopilotPanel.d.ts:6export declare function AutopilotPanel({ useProjection, t }: SlotProps): import("react").JSX.Element | null;…/types/client/settings-card.d.ts:20}): import("react").JSX.Element | null;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 写入文件 | writes-files | 需留意 | 46 |
| 发起网络请求 | network | 需留意 | 6 |
| 启动伪终端 | spawns-pty | 需留意 | 2 |
| 读取文件 | reads-files | 一般 | 18 |
| 读取环境变量 | reads-env | 一般 | 15 |
| 接触凭据或密钥 | credentials | 一般 | 4 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 4 |
| 动态加载模块 | dynamic-import | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 97 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 3 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | yaml | CVE-2023-2251 | Uncaught Exception in yaml 修复版本:2.2.2 详情 → |
| 低 | yaml | CVE-2026-33532 | yaml is vulnerable to Stack Overflow via deeply nested YAML collections 修复版本:1.10.3, 2.8.3 详情 → |
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。