dsh-file-shield: A DeepSeek Harness Plugin for Shielding File Access
dsh-file-shield is a plugin within DeepSeek Harness (DSH) designed to prevent sensitive or policy-violating content from entering conversation history by intercepting file or directory read, edit, and search operations before tool execution, thereby avoiding session blocking. The plugin operates at the `tools/pre-execute` stage, supporting command analysis and result filtering for tools such as bash and pwsh, with blocking rules configurable via Web GUI or YAML configuration files. However, its defense mechanism has limitations, such as the inability to intercept shell obfuscation, host-side reads, or unknown custom tools.
Read More