D

dsh-plugin-workflow

github.com/ImMappyJ/dsh-workflow

v0.1.6 工具与效率 可执行外部程序写入文件发起网络请求

dsh-workflow 将 DeepSeek Harness 从单 Agent 交互环境,升级为**可视化多 Agent 工作流编排环境**。它不依赖单个长会话 Agent,而是把复杂任务分解为一组专职 Agent,通过显式数据流、人工审核点与可复用的工作流定义连接起来。

作者原文(英文)

Multi-Agent Workflow plugin for DeepSeek Harness (dsh)

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

分类
tools
发布
2026-09-09
版本
v0.1.6

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注1 处命中
    • lib/index.js:26import { execFile } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意15 处命中
    • lib/engine/artifact-manager.js:79await fs.mkdir(dest, { recursive: true });
    • lib/engine/artifact-manager.js:82await fs.copyFile(params.sourcePath, destPath);
    • lib/engine/artifact-manager.js:107await fs.mkdir(dest, { recursive: true });
    • lib/engine/artifact-manager.js:109await fs.writeFile(filePath, text, 'utf8');
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意4 处命中
    • public/editor.js:9const r = await fetch(path, {
    • public/editor.js:540const r = await fetch('/api/pick-directory', { method: 'POST' });
    • public/execution.js:348const r = await fetch(`/api/executions/${EX.id}`);
    • public/execution.js:361fetch(`/api/workflows/${EX.state.workflowId}`).then(async r2 => {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: postinstall
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 读取文件reads-files一般11 处命中
    • lib/engine/artifact-manager.js:83const sha = createHash('sha256').update(await fs.readFile(destPath)).digest('hex');
    • lib/engine/artifact-manager.js:131const entries = await fs.readdir(artifact.storageRef.path, { recursive: true });
    • lib/engine/artifact-manager.js:138return fs.readFile(artifact.storageRef.path, 'utf8');
    • lib/engine/artifact-manager.js:187return fs.readFile(entry.storageRef.path, 'utf8');
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般5 处命中
    • lib/engine/engine.d.ts:36onExecutionEnd?: (state: import('../domain/types.js').ExecutionState) => void | Promise<void>;
    • lib/engine/engine.d.ts:53validate(def: WorkflowDefinition): import("../graph/validator.js").ValidationResult;
    • lib/engine/engine.d.ts:64}): import("./review-manager.js").DecisionOutcome;
    • lib/engine/review-manager.d.ts:34export declare function createNodeReviewTask(state: ExecutionState, executionId: string, nodeId: NodeId, artifactId: str…
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取环境变量reads-env一般4 处命中
    • lib/index.js:131if (!process.env.VITEST) {
    • lib/index.js:830: path.join(process.env.DSH_HOME ? path.resolve(process.env.DSH_HOME) : path.join(os.homedir(), '.dsh'), 'workflow-plugi…
    • scripts/auto-register.mjs:19const initCwd = process.env.INIT_CWD;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注1
写入文件writes-files需留意15
发起网络请求network需留意4
R013 清单可疑manifest-obfuscation需留意1
读取文件reads-files一般11
动态加载模块dynamic-import一般5
读取环境变量reads-env一般4

这份报告的口径

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

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件