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