鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

dsh-security-guard

DSH 运行时安全守卫:配置加载导入约束、HTTP Host 头校验、附带 VM 沙箱逃逸源码补丁(4 个 CVE)。AI 辅助制作。

安全权限
访问 GitHub
文档README

DSH Security Guard / DSH 安全守卫

AI-assisted production. Vulnerability triage, patch implementation, and plugin code were produced by an AI coding assistant (TraeWork / Trae) under human supervision. / 漏洞定位、补丁代码与插件实现均由 AI 编程助手(TraeWork / Trae)在人工监督下完成。

A runtime security guard plugin for DeepSeek Harness (DSH) that applies defense-in-depth measures at the Cordis plugin layer. It does not modify the original source code — instead, it shadows runtime methods and intercepts HTTP requests to replicate the fixes from the DSH Security Patch.

DSH 运行时安全守卫插件,在 Cordis 插件层施加纵深防御。不修改原始源码——通过运行时方法遮蔽与 HTTP 请求拦截来复制安全补丁的修复语义。

Security Coverage / 安全覆盖

CVEVulnerability / 漏洞类型Plugin Coverage / 插件覆盖Status / 状态
QVD-2026-52631Config loader arbitrary code execution / 配置加载任意代码执行Shadows ctx.loader.import to validate builtins, confine relative imports, and reject path-like bare specifiersFull / 完整
QVD-2026-57410HTTP Host header forgery RCE / Host 头伪造远程代码执行prependListener on http.Server rejects forged loopback Host claims from non-loopback peersFull / 完整
QVD-2026-52644VM sandbox exec escape / VM 沙箱 exec 逃逸Cannot be covered by a plugin. The execView sanitizer lives in a VM-internal closure. Apply the source patch.Not covered / 无法覆盖
QVD-2026-52646Prompt injection chain sandbox escape / 提示注入链式沙箱逃逸Cannot be covered by a plugin. The service deny-list is in the sandbox context factory. Apply the source patch.Not covered / 无法覆盖

Important Caveat / 重要说明

The plugin cannot fix QVD-2026-52644 and QVD-2026-52646 because those mitigations are in VM-internal closures and the sandbox context factory — code paths that no Cordis plugin can intercept. You must apply the source patch for full protection.

插件无法修复 QVD-2026-52644 和 QVD-2026-52646,因为这两处修复在 VM 内部闭包和沙箱上下文工厂中——Cordis 插件无法触及这些路径。必须应用源码补丁以获得完整防护。

Installation / 安装

▼
bash
复制代码
dsh plugin add ruanhaodong-tt/DSH-Security-Patch

Or add to your profile's cordis.patch.yml:

▼
yaml
复制代码
- insert: - id: dsh-security-core name: dsh-security-guard/core inject: [loader] - id: dsh-security-web name: dsh-security-guard/web inject: [webServer]

Configuration / 配置

The web guard accepts an optional trustedHosts array for non-loopback authorities that should be allowed:

▼
yaml
复制代码
- insert: - id: dsh-security-web name: dsh-security-guard/web inject: [webServer] config: trustedHosts: ["harness.internal:3080"]

Verification / 验证

The plugin logs its activation on startup:

▼
text
复制代码
[INFO] dsh-security-core: ctx.loader.import shadowed (QVD-2026-52631) [INFO] dsh-security-web: HTTP Host guard active (QVD-2026-57410)

You can also verify by sending a forged Host header:

▼
bash
复制代码
curl -H "Host: localhost:3080" http://<public-ip>:3080/api/ # should return 403

License / 许可证

MIT © 2026 一条大咸鱼

Disclosure / 声明

This plugin was produced with AI assistance. It is not an official patch from DeepSeek, and has not been audited by the upstream. Use at your own risk.

本插件由 AI 辅助制作,并非 DeepSeek 官方补丁,未经上游审计。请自行评估风险后使用。

安全权限

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:ruanhaodong-tt/dsh-security-guard

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
cc-safety-net
执行前守卫,在工具调用运行前拦截破坏性 Git 与文件系统命令,以及对 SSH 密钥、.env 等机密文件的访问。
dsh-workspace-write-plus
增加工作区修改++权限档,文件工具仍锁在工作区,可用通配符放行 Git Bash 等程序以跳过 Windows 进程沙箱。
user-management
用户管理:给 dsh web 加登录门禁,未登录访问弹登录/注册页,首个注册者自动成为管理员;管理员可管理用户/角色,带登录与访问审计。
dsh-security-guard
DSH 插件安全卫士:28 条规则静态扫描、风险评分、白名单/黑名单、本地 Web 仪表盘与 DSH 内风险弹窗。
dsh-route-fence-linter
审计 profile 内所有插件 HTTP 路由的浏览器信任围栏:插件路由在 Web 服务器的最长前缀匹配中优先,因此缺少围栏的路由会被静默暴露;逐条给出文件与行号级别的证据。