dsh-delegate-router avatar

dsh-delegate-router

Automatic Flash/Pro routing for DeepSeek Harness subagent calls: light tasks go cheap, heavy tasks stay strong — with /delegate overrides.

PluginAI 模型
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍AI

Automatically routes DeepSeek Harness subagent calls to Flash or Pro models based on task complexity, with /delegate overrides.

  • Light tasks use cheaper Flash model
  • Heavy tasks use stronger Pro model
  • /delegate command overrides routing

由 AI 基于 README 自动生成,仅供参考。

安装

dsh plugin --profile web add dsh-delegate-router

Install method: npm · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

安全报告

自动静态扫描,非人工审核。

DSH.SO AUDIT需注意a6e0e1
自动审查 · 每日更新
需注意

非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。

8 严重·23 警告·36 提示·15 扫描文件数
code-exec ×8
插件版本0.4.0dsh 清单
扫描版本a6e0e17545f22026-08-20
当前版本a6e0e17545f2

扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

第二意见扫描(vet · 并行评估期)
vet:干净

vet 判定:vet:干净 · score 49

  • R2 · info [likely] — require()(客户端加载器 factory 形参注入,DSH bundle 标准写法)
  • R2 · info [likely] — require()(客户端加载器 factory 形参注入,DSH bundle 标准写法)
  • R9 · medium [likely] — 正则嵌套量词(ReDoS 风险:(a+)+ 类指数回溯)
  • R9 · medium [likely] — 正则嵌套量词(ReDoS 风险:(a+)+ 类指数回溯)
  • R9 · medium [likely] — 正则嵌套量词(ReDoS 风险:(a+)+ 类指数回溯)

vet 仅作参考,不改变 dsh 的四档等级。

风险:中风险8 critical · 23 warning · 36 info

• 静态启发式扫描:已完成(15 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

高危发现 · 12 / 31

  • critical使用 child_process 子进程模块(Node.js)scripts/ab-screenshot.mjs:3
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-isolate.mjs:2
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-isolate2.mjs:2
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-probe.mjs:5
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-probe2.mjs:2
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-sidebar.mjs:2
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-slash-dbg2.mjs:2
    import { spawn } from "node:child_process";
  • critical使用 child_process 子进程模块(Node.js)scripts/e2e-slash-probe.mjs:2
    import { spawn } from "node:child_process";
  • warning向裸 IP 地址发起 HTTP 请求scripts/ab-screenshot.mjs:29
    const response = await fetch(`http://127.0.0.1:${CDP_PORT}/json/version`);
  • warning向裸 IP 地址发起 HTTP 请求scripts/ab-screenshot.mjs:31
    return puppeteer.connect({ browserURL: `http://127.0.0.1:${CDP_PORT}` });
  • warning向裸 IP 地址发起 HTTP 请求scripts/e2e-isolate.mjs:8
    const DSH_URL = "http://127.0.0.1:3737";
  • warning向裸 IP 地址发起 HTTP 请求scripts/e2e-isolate.mjs:27
    const response = await fetch(`http://127.0.0.1:${CDP_PORT}/json/version`);

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-20 · 活跃度:活跃

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/penguin-oo/dsh-delegate-router

这页有帮助吗?