a1swg1159-pixel/dsh-prompt-shield1

dsh-prompt-shield

A runtime prompt-injection shield for DeepSeek Harness tool results.

AI 分析

核心用途是防御针对工具输出的提示词注入攻击。适合在处理不可信的远程数据、仓库文件或 Shell 输出时,需要增强安全防护的 DSH 用户。

パッケージ
dsh-prompt-shield
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:a1swg1159-pixel/dsh-prompt-shield

ドキュメント

README 全文を読む ↗

Configuration

After installation, edit the inserted profile row:

- id: prompt-shield
  name: dsh-prompt-shield
  config:
    mode: block
    include:
      - "*"
    exclude:
      - create_goal
      - update_goal
    maxScanChars: 100000
    decodeBase64: true

include and exclude accept * wildcards over tool names. Exclusion wins. The default scans every tool because untrusted instructions can arrive through remote sources as well as repository files and shell output.