← 返回列表

dsh-write-protect

DeepSeek Harness 其他 低风险

为工作区指定子路径提供只读保护 (例如 .git), 并支持在 workspace-write 下声明额外可写根。

Protect declared workspace subpaths such as .git from writes, and optionally grant extra writable roots under workspace-write.

怎么安装

DeepSeek Harness dsh plugin add dsh-write-protect

简介

dsh-write-protect 给 DSH 沙箱补上工作区里某一段路径的只读保护, 典型用途是不让模型改 .git. 也可以在 workspace-write 下声明工作区外的额外可写根, 让 bash 与 write / edit 写到相邻目录, 而不必切到 danger-full-access. write / edit 工具在所有平台都会挡住保护路径, 并放行额外可写根. bash 等命令在 Linux / macOS 上同样生效; Windows 上 bash / pwsh 既挡不住 .git, 也拿不到额外可写根. 读取不受影响. 官方沙箱只有 "整个工作区可写" 和 "全只读" 两档, 管不到工作区内部的某一段, 也不能把工作区外的个别目录并进 allow-list; Codex 一类实现默认会保护 .git, 本插件补这一块. 安装 shell dsh plugin --profile web add azazo1/dsh-write-protect 固定版本: shell dsh plugin --profile web add azazo1/dsh-write-protect#v0.1.1 GitHub Release 同时挂不带版本号的预构建包, 安装时跳过 allowBuilds: shell dsh plugin --profile web add ht…

推荐参考

51 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
用户关注 · 参考最近的查看、安装命令复制和外链访问
51 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
TypeScript
GitHub 星标
1
月下载
最近更新
2026-09-11
创建于
2026-09-07

链接

基础安全检查

检查结果
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
deepseek-harness, dsh, dsh-plugin, git, sandbox

同类推荐

DeepSeek Harness
推荐77

dsh-permission-rules

PerryLink/dsh-permission-rules

Claude Code 风格的声明式权限规则:按序 allow/deny/ask 的 YAML 规则,在 tools/pre-execute 瀑布上匹配工具名、参数、工作区路径与 agent 身份,带完整会话日志审计、干跑模式与热重载。

☆ 115 ↓ 6.3K 其他
DeepSeek Harness 精选
推荐72

upstream-radar

MicroMilo/upstream-radar

持续监控 DSH 与插件发布,在一次性隔离环境中复测精确发布物,发布机器可读的兼容性证据,并在修复后自动核对和关闭受管理的问题。

☆ 12 ↓ 15.8K 其他
DeepSeek Harness 精选
推荐71

dsh-auth-gate

TecFancy/dsh-auth-gate

DSH 网页端登录门插件:账号口令或共享令牌认证、会话 cookie、登录限速,附用户管理 CLI(0.4.1 起声明 dsh.bundle manifest,`dsh plugin add` 一键挂载)。

☆ 13 ↓ 6.6K 其他
DeepSeek Harness
推荐68

dsh-auth-gateway

xbzbing/dsh-auth-gateway

为 dsh web 提供密码与 TOTP 双因素认证网关:登录前拦截全部 HTTP/WebSocket 请求,含按来源锁定、全局限流与一次性备份代码。

☆ 10 ↓ 1.8K 其他