用於遞迴刪除檢查、提示注入、越獄與機密外洩偵測的 DSH Host 外掛。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-09-29
授權條款
Apache-2.0
01它能幫你完成什麼?
Guard DeepSeek Harness messages, tool arguments, results, and recursive delete commands against documented detection families.
Allow, ask, block, deny, or corrective-feedback decisions through official DSH seams, with a `/defend` summary and `defend_report` tool.
DeepSeek Harness operators who want deterministic safeguards around agent interactions and destructive shell commands.
Review detection activity without exposing matched text.
In-memory report totals and recent-match metadata without matched content.
Users who need a DSH command or tool surface for recent defense activity.
02如何將外掛接入 DeepSeek Harness?
先決條件
- Node.js `^22.19.0 || >=24.0.0`.
安裝步驟
- 01
Run `dsh plugin --profile web add "github:PerryLink/dsh-defend#main"` or `dsh plugin --profile web add dsh-defend`.
$ dsh plugin --profile web add "github:PerryLink/dsh-defend#main"
- 02
Restart and run `dsh --profile web --dump-config | grep -A3 'id: dsh-defend'`.
$ dsh --profile web --dump-config | grep -A3 'id: dsh-defend'
驗證整合成功
- Use `dsh --profile web --dump-config | grep -A3 'id: dsh-defend'` to verify the profile row.
復原
- Run `dsh plugin --profile web remove dsh-defend`.
03DSH 整合程度與能力邊界
Pure-host DeepSeek Harness plugin with destructive-delete and detection layers on official interception points.
Destructive-delete guard
Recursive delete shell commands at `tools/pre-execute`.→Refusal unless documented path conditions are met; dry-run markers pass.
Can deny or ask for guarded destructive shell commands.Detection layer
Inbound messages, tool arguments, and tool results.→Allow, ask, or block decisions at three documented interception points.
Can reject steps, deny tool execution, or provide corrective feedback.
04適合誰?何時不該用?
適合
- DeepSeek Harness operators who want deterministic safeguards around agent interactions and destructive shell commands.
- Users who need a DSH command or tool surface for recent defense activity.
不適合
- The plugin produces decisions on official seams but does not replace the sandbox or approval systems as enforcement authorities.
- Novel phrasing, lookalike-Unicode encodings, and multi-step attacks can evade the documented rule library.
- The documented opt-in unmarked session audit can make a session unresumable on affected hosts.
05相容性、維護與安全提醒
- The plugin produces decisions on official seams but does not replace the sandbox or approval systems as enforcement authorities.
- Novel phrasing, lookalike-Unicode encodings, and multi-step attacks can evade the documented rule library.
- The documented opt-in unmarked session audit can make a session unresumable on affected hosts.
Apache-2.0 · README-backed author documentation
06常見問題
dsh-defend 會取代 DSH 沙箱或核准嗎?
不會。README 說明它只在官方攔截點產生 deny、ask 與 block 決策;沙箱和核准系統仍是執行主體。
dsh-defend 會掃描哪些內容?
README 記載的攔截點包括輸入使用者訊息、工具參數與工具結果;刪除防護在受保護工具執行前運作。
偵測器能抓到所有攻擊嗎?
不能。README 明確列出新奇措辭、形似 Unicode 編碼與多步驟攻擊都可能形成偵測缺口。
07相關的 DSH 工作流程
cc-safety-net
作者 kenryu42
面向 AI 程式設計智慧體的執行前安全防護外掛,在工具呼叫前攔截破壞性 Git、檔案操作和敏感檔案訪問,相容多種編碼 Agent 與命令列工具。
dsh-uumit-remote
作者 uumit-ai
為 DeepSeek Harness 提供遠端訪問能力,支援從其他裝置連線和使用會話。
deltabox-lite
作者 delta-box
為 AI 程式設計代理提供輕量沙箱,可檢視檔案差異、提交更改或中止操作。
tencentmeeting-cli
作者 tencentcloud
騰訊會議命令列工具(CLI),基於騰訊會議開放平臺 OAuth2 授權,支援會議管理、錄製管理、參會報告等功能。
08資料與來源
**Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness.**
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-29。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
