dsh-safe-delete
工具守卫将 agent 执行的 rm 目标移入 macOS 废纸篓而非直接删除,shell 感知词法器覆盖复合与伪装命令;设置页通用设置中可随时关闭。
Tools guard that moves agent-issued `rm` targets to the macOS Trash instead of deleting, with a shell-aware lexer covering compound and disguised commands; a switch in Settings → General turns it off.
怎么安装
dsh plugin add dsh-safe-delete 简介
dsh-safe-delete A DeepSeek Harness host-side plugin that makes agent-issued rm commands recoverable: targets are **moved to the macOS Trash** instead of deleted, across GUI sessions, automation runs, headless bridges, and subagents. One switch in **Settings → General** turns it off — disabled, commands run with native DSH behavior. Capabilities **Recoverable deletion** — an rm in command position is denied and rewritten to /usr/bin/trash -v; the model receives a report of exactly what was moved, so nothing silently disappears. **Every session, one guard** — registers once on the DSH tools regi…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-03
- 创建于
- 2026-09-01
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh-plugin, macos, safe-delete, trash
同类推荐
dsh-secure-audit
PensiveFei/dsh-secure-audit
DSH 只读安全合规插件:提示注入检测、中文 PII 脱敏、本机配置安全审计,输出脱敏且可复现的报告。
dsh-auto-approve
Jiao-XXX/dsh-auto-approve
在 workspace-write 与 danger-full-access 之间增加 `auto` 权限档:分类器一次性放行例行沙箱升级,危险或不确定的操作仍转人工审批。
dsh-plugin-vet
wulun811/dsh-plugin-vet
DSH 插件信任流水线:确定性静态扫描判定、可选运行时守卫与蜜罐诱饵、agent 审查协议技能与浏览器盾牌状态灯,只报警不执法。
dsh-agent-approval
MoonlitDropOfBlood/dsh-agent-approval
由独立审批子代理裁决每次沙箱提权,可配置审批模型并带审计记录。