ディレクトリに戻る

dsh-defend

キュレーションリスト掲載メンテナンス: 活発

perrylink/dsh-defend

Prompt-injection, jailbreak and secret-leak defense for DeepSeek Harness: Aho-Corasick detection with allow/ask/block interception and sanitized audit events. Maintenance status: FROZEN since 2026-10-05.

GitHub で見るホームページ
$ dsh plugin --profile web add "github:PerryLink/dsh-defend#main"

25

スター

1

フォーク

TypeScript

言語

Apache-2.0

ライセンス

2026-08-16

作成日

2026-11-01

最終プッシュ

再帰削除チェック、プロンプトインジェクション、脱獄、秘密漏えい検出のための 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.

02DeepSeek Harness への導入方法

前提条件

  • Node.js `^22.19.0 || >=24.0.0`.

インストール手順

  1. 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"

  2. 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 統合と能力の範囲

DSH 統合ネイティブ実行

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.
2026-08-162026-09-25v0.3.16

Apache-2.0 · README-backed author documentation

06よくある質問

dsh-defend は DSH のサンドボックスや承認を置き換えますか?

置き換えません。README は、公式の接続点で deny、ask、block の決定を作るだけで、サンドボックスと承認システムが強制主体のままだと説明しています。

dsh-defend は何を走査しますか?

README に記載された接続点は受信ユーザーメッセージ、ツール引数、ツール結果です。削除ガードは保護対象ツールの実行前に動作します。

すべての攻撃を検出できますか?

できません。README は、新しい言い回し、類似 Unicode エンコード、多段階攻撃を検出漏れの可能性として挙げています。

08データと出典

  • 作者による申告github.com85473a6b67c8…

    **Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness.**

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-09-29。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。