zerodegress/dsh-model-redactor1

dsh-model-redactor

Model-visible redaction plugin for DeepSeek Harness: redacts secrets from model input and output streams

AI 分析

核心用途是自动过滤和替换输入输出流中的 API 密钥、Token 等敏感数据。适合对数据隐私和安全合规有严格要求的用户。

パッケージ
dsh-model-redactor
バージョン
0.1.0-rc.6
ライセンス
MIT
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zerodegress/dsh-model-redactor

ドキュメント

README 全文を読む ↗

Configuration

FieldTypeDefaultDescription
enabledbooleantrueMaster switch.
replacementstring[REDACTED]Replacement text (1..128 chars). Must not itself match a built-in secret pattern.
customRegexesArray[]Extra regex rules.
customWordsArray[]Exact-word rules.

Built-in rules are fixed and cannot be disabled. They cover OpenAI-style sk-, Bearer, Basic, GitHub tokens, Slack tokens, JWTs, assignment patterns, PEM private-key blocks, and AWS AKIA access key IDs.