A

assistant-web-owner

github.com/22-ai-00/dsh-enhanced

v0.1.48 其他 可执行外部程序写入文件

将现有 DSH Web 聊天接到一个已配对的 Delivery owner,让原生用户文本回合能够使用 `assistant-goals` 等依赖可信人类回合的能力。沿用原生 `SessionController`、Typert、Goal UI 和 AgentLoop。

作者原文(英文)

A DeepSeek Harness plugin for Assistant Web Owner.

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

deepseekdeepseek-harnessdsh-plugin
分类
other
发布
2026-09-26
版本
v0.1.48

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注1需留意4一般18未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注2 处命中
    • lib/doctor.js:2import { execFile } from 'node:child_process';
    • lib/setup.js:2import { execFile } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意10 处命中
    • lib/goal-setup.js:91await mkdir(lock, { mode: 0o700 });
    • lib/goal-setup.js:132await writeFile(temporary, plan.patch, { encoding: 'utf8', mode: 0o600, flag: 'wx' });
    • lib/goal-setup.js:134await rename(temporary, path);
    • lib/repair-setup.js:167await mkdir(lock, { mode: 0o700 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 接触凭据或密钥credentials一般78 处命中
    • lib/autonomy.js:6const requiredBundles = ['assistant-isolation', 'assistant-actions', 'credentials-keychain'];
    • lib/autonomy.js:97function publishedCredentialDefault(value) {
    • lib/autonomy.js:98return isScalar(value) && value.tag === 'tag:yaml.org,2002:js' && value.value === "dshHomePath('credentials-keychain/led…
    • lib/autonomy.js:159/** Pure YAML materialization; it neither creates credentials nor grants external repository authority. */
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般11 处命中
    • lib/doctor.js:146const { inspectIsolationGrant, probeIsolationRuntime } = await import('@dsh-enhanced/assistant-isolation');
    • lib/goal-setup.js:119? await import('@dsh-enhanced/event-triggers').catch(() => fail('install matching event-triggers support for repository …
    • lib/index.js:73const module = await import(__rewriteRelativeImportExtension(pathToFileURL(entry).href));
    • lib/index.js:122const Controller = (await import(__rewriteRelativeImportExtension(pathToFileURL(controllerPath).href))).SessionControlle…
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般6 处命中
    • lib/goal-setup.js:15return await readFile(path, 'utf8');
    • lib/goal-setup.js:31return await readFile(path, 'utf8');
    • lib/repair-setup.js:154return await file.readFile({ encoding: 'utf8' });
    • lib/repair-setup.js:177const before = await readFile(path, 'utf8');
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般4 处命中
    • lib/doctor.js:124let dshHome = process.env.DSH_HOME ?? join(homedir(), '.dsh');
    • lib/doctor.js:139return (await promisify(execFile)('dsh', ['--profile', profile, '--dump-config'], { env: { ...process.env, DSH_HOME: dsh…
    • lib/setup.js:217const input = { dshHome: process.env.DSH_HOME ?? join(homedir(), '.dsh'), profile: 'web', workspace: '', preset: 'standa…
    • lib/setup.js:268env: { ...process.env, DSH_HOME: input.dshHome }, timeout: 30_000, maxBuffer: 8 * 1024 * 1024,
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注2
写入文件writes-files需留意10
接触凭据或密钥credentials一般78
动态加载模块dynamic-import一般11
读取文件reads-files一般6
读取环境变量reads-env一般4

这份报告的口径

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

依赖安全公告

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

等级依赖包编号摘要
中yamlCVE-2023-2251Uncaught Exception in yaml
修复版本:2.2.2 详情 →
低yamlCVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
修复版本:1.10.3, 2.8.3 详情 →
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

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

← 返回全部插件