← Back to list

dsh-file-shield

DeepSeek Harness Other Low risk

Blocks an agent from reading, searching, writing, or editing chosen files and directories, keeping their contents out of the conversation — including sensitive-word files whose text can make later provider requests fail with a 400. Rules are picked from a file/directory browser on the plugin page.

屏蔽 agent 对指定文件或目录的读取、搜索、写入与编辑,使其内容不进入对话——含敏感词的文件也在其中,避免它们的文字让之后的 provider 请求以 400 失败。规则在插件页面上点选。

How to install

DeepSeek Harness dsh plugin add github:Yazzyk/dsh-file-shield

About

dsh-file-shield 一个 dsh(DeepSeek Harness)插件:把指定的文件或目录对 agent **完全屏蔽**。命中规则的路径,读取类工具在派发前就被拒绝,同路径的写入与编辑一并拒绝,搜索类工具也不会把被屏蔽文件的内容或路径带进对话。 规则既可以在 Web GUI 的 **Plugins → dsh-file-shield** 页面里手动点选文件或目录来增删,也可以在 profile 的 cordis.patch.yml 里作为部署默认写死。 最常见的用法是挡住**含敏感词或机密内容的文件**:这类文字一旦被读进对话,provider 的内容审核会让之后每个请求都返回 400,会话就此卡死;提前屏蔽它们,等于从源头掐掉这件事。 A DeepSeek Harness (dsh) plugin that blocks an agent from reading, searching, writing, or editing chosen files and directories, keeping their contents — including text a provider rejects with a 400 — out of the conversation. Rules are picked from a file/directory brows…

Recommendation signals

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

Meta

License
MIT
Language
JavaScript
GitHub stars
1
mo. downloads
Last push
2026-09-19
Created
2026-09-19

Links

GitHub ↗ Report issue ↗

Basic safety check

Findings
curated 收录但无 npm 包/安装命令
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
agent-security, ai-agents, cordis, cordis-plugin, deepseek-harness, dsh, dsh-plugin, file-access-control

Related plugins

DeepSeek Harness
Score78

dsh-auto-review

PerryLink/dsh-auto-review

Second-model auto-review on the approval answerer chain: a read-only reviewer subagent returns structured allow/deny verdicts with reasons, fail-closed by default.

☆ 192 ↓ 4.9K 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.

☆ 63 ↓ 5.2K Other
DeepSeek Harness Featured
Score73

dsh-web-startup-auth

GDWhisper/dsh-web-startup-auth

Replaces the dsh web startup to allow binding 0.0.0.0, gated by username/password login: signed session cookies, /api route protection, an auth tab in the settings panel, and a reset CLI that rotates the signing key to invalidate all sessions.

☆ 47 ↓ 2.8K 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.

☆ 47 ↓ 2.7K Other