dsh-model-redactor: DeepSeek Harness Model-Visible Content Redaction Plugin
2026-09-15
DeepSeek Harness plugin
DeepSeek
DSH plugin
dsh-model-redactor
data desensitization
security log
The `dsh-model-redactor` plugin provided by DeepSeek Harness (DSH) intercepts and rewrites sensitive data to prevent it from leaking into logs or model context. It redacts inputs and outputs during the `agent/pre-step` and `llm/stream` phases, and its built-in rules cover multiple common key formats. Installation requires adding configuration to a Cordis patch, with support for custom replacement text as well as regex and word matching rules. When using it, note that the replacement text must not conflict with built-in patterns. The plugin also runs with the permissions of the current process, so it is recommended to review its source code to ensure security.
Read More