← Back to list

dsh-write-protect

DeepSeek Harness Other New Low risk

Keep declared workspace subpaths (e.g. .git) read-only, honor a read-only rules file at the workspace root, grant extra writable roots under workspace-write, and let the model request session-scoped write access; enforced for sandboxed CLI commands and the write/edit tools.

为 DSH 沙箱增加工作区子路径只读保护 (例如 .git), 支持工作区根下的只读规则文件, 可在 workspace-write 下声明额外可写根, 并允许模型申请本会话的可写授权; 命令沙箱与 write/edit 工具都生效.

How to install

DeepSeek Harness dsh plugin add dsh-write-protect

About

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…

Recommendation signals

62 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
62 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
3
mo. downloads
296
Last push
2026-09-24
Created
2026-09-07

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
deepseek-harness, dsh, dsh-plugin, git, sandbox

Related plugins

DeepSeek Harness Featured
Score77

dsh-auto-mode

NanmiCoder/dsh-auto-mode

Adds an Auto permission preset between Workspace Write and Full access: routine work stays in the official workspace-write sandbox while the current session model reviews escalation and destructive calls, granting one exact wider access once, asking when the intent is ambiguous, and denying critical paths.

☆ 162 ↓ 3.3K Other ↗
DeepSeek Harness
Score75

dsh-passwords

slywalker2006/dsh-passwords

Turns DeepSeek Harness into a server-grade multi-tenant platform: remote access + auto HTTPS, subuser permissions & token/daily quotas, sandbox enforcement, encrypted auth & audit log.

☆ 64 ↓ 5.2K Other ↗
DeepSeek HarnessMCP Server Featured
Score73

sofagent

KongFangXun/sofagent/tree/main/engine/dsh-plugins/cordis-plugin-sofagent-audit

Commit-time audit harness for AI coding agents: 24 git-diff rules (secrets, out-of-scope edits, prompt injection), HMAC-signed audit trail, snapshot rollback, and an MCP server with 84 tools. Installable via dsh plugin add.

☆ 49 ↓ 2.7K Other ↗
DeepSeek Harness Featured
Score72

dsh-vault

Ox0400/dsh-vault

Encrypted local credentials vault for the Harness: a web settings page and vault_* tools to store, search and copy passwords, API keys, TOTP secrets and card data, with health audits, expiry rotation, imports/exports and read-only/ask access modes.

☆ 11 ↓ 15.9K Other ↗