zerodegress/dsh-model-redactor ↗★ 1
dsh-model-redactor
Model-visible redaction plugin for DeepSeek Harness: redacts secrets from model input and output streams
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zerodegress/dsh-model-redactor说明文档
阅读完整 README ↗Configuration
| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Master switch. |
replacement | string | [REDACTED] | Replacement text (1..128 chars). Must not itself match a built-in secret pattern. |
customRegexes | Array | [] | Extra regex rules. |
customWords | Array | [] | 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.