a1swg1159-pixel/dsh-prompt-shield1

dsh-prompt-shield

适用于 DeepSeek Harness 工具输出结果的运行时提示词注入防护盾。

AI 分析

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

套件
dsh-prompt-shield
版本
0.1.0
授權
MIT
最近更新
2026年8月15日

安裝

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

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.