dsh-autoconfig

版本 1.0.0发布 2026-11-07仓库 liuxin4566-web/dsh-autoconfig
3/4装得上 · 启动通过

给 DSH(DeepSeek Harness)用的网络设备自动配置终端插件。基于 dsh-ssh-ops 的「主对话驱动 + 右侧终端」架构重新实现,面向路由器、交换机、防火墙等设备的日常配置与排障。

模型与供应商周下载 62依赖 1peer 2MIT
pnpm add dsh-autoconfig

安装前须知

Node 要求
未声明
跟随宿主运行时
peer 依赖
2 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
lib/index.js
bundle 已声明 · patch 随包

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整
无 high / critical 命中
未通过
配置组合装入一次性 DSH_HOME 后配置树能否合并
命中 high 或 critical 规则
未通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测通过
安装完成后由真实宿主启动一次,检查入口是否激活

检测结论明细

共 33 次命中
收录判定1 条规则 · 1 次命中
发布者与仓库所有者不同l0-author-repo-differs
静态结构3 条规则 · 3 次命中
执行非字面量代码dynamic-exec-nonliteral
lib/index.js:12975return new Function("return 2n ** 32n")();
从网络取回代码并执行remote-fetch-execute
lib/index.js:12975return new Function("return 2n ** 32n")();
代码中存在外部 URLremote-url-reference
lib/chunks/chunk-JD2643UU.js:2960http://[${value} https://json-schema.org/draft/2020-12/schema http://json-schema.org/draft-07/schema# http://json-schema.org/draft-04/schema# https://
配置组合5 条规则 · 25 次命中
依赖存在严重漏洞dep-vulnerability-critical
受影响依赖certifi@2026.7.22
GHSA-6q48-6c7w-9gw2certifi@2026.7.22修复版本 2026.10.18公告原文certifi bundles emSign root CAs with compromised intermediate CA keys
依赖存在高危漏洞×6dep-vulnerability-high
受影响依赖transformers@5.9.0python-multipart@0.0.9torch@2.9.1
CVE-2026-9856transformers@5.9.0修复版本 5.10.0公告原文Transformers save_pretrained path traversal allows arbitrary file writes through chat template names
CVE-2024-53981python-multipart@0.0.9修复版本 0.0.18公告原文Denial of service (DoS) via deformation `multipart/form-data` boundary
另有 4 条同类漏洞未列出
依赖存在中危漏洞dep-vulnerability-medium
受影响依赖python-multipart@0.0.9
CVE-2026-40347python-multipart@0.0.9修复版本 0.0.26公告原文python-multipart affected by Denial of Service via large multipart preamble or epilogue data
依赖存在未定级漏洞×12dep-vulnerability-unknown
受影响依赖torch@2.9.1transformers@5.9.0python-multipart@0.0.9certifi@2026.7.22
CVE-2026-24747torch@2.9.1修复版本 2.10.0
CVE-2026-9856transformers@5.9.0修复版本 5.10.0公告原文Transformers save_pretrained path traversal allows arbitrary file writes through chat template names
另有 10 条同类漏洞未列出
依赖存在低危漏洞×5dep-vulnerability-low
受影响依赖python-multipart@0.0.9torch@2.9.1
CVE-2026-53538python-multipart@0.0.9修复版本 0.0.30公告原文python-multipart: Semicolon treated as querystring field separator enables parameter smuggling
CVE-2026-53540python-multipart@0.0.9修复版本 0.0.31公告原文python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
另有 3 条同类漏洞未列出
源码审查2 条规则 · 4 次命中
进程以非零码退出×2l3.nonzero-exit
源码审查结果
运行时抛出异常×2l3.runtime-error
源码审查运行日志启动时找不到依赖 @deepseek-ai/dsh-typert-protocol,检测环境里没有提供它

依赖结构

3 项
serialport直接依赖随包安装
@deepseek-ai/dsh-toolspeer由宿主提供
@deepseek-ai/dsh-typert-protocolpeer由宿主提供