icyaaaww/dsh-tui-secret-guard ↗★ 0
dsh-tui-secret-guard
在 dsh-TUI 将高置信度敏感信息发送给模型前进行拦截的插件。
AI 分析
核心用途是在客户端本地拦截并阻止 API 密钥、密码等敏感信息外泄。适合在终端(TUI)环境中使用 DeepSeek Harness、且对代码或配置隐私安全有严格要求的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:icyaaaww/dsh-tui-secret-guard說明文件
閱讀完整 README ↗Configuration
enabled: true
genericAssignments: true
minGenericLength: 24
showStatus: true
genericAssignmentsdetects values assigned to names such asAPI_KEY,CLIENT_SECRET,ACCESS_TOKEN, andPASSWORD.minGenericLengthcontrols only generic assignments. Provider-specific formats retain their own strict lengths.showStatusdisplayssecret guard: armedand a process-local blocked count. It does not persist counters or content.
Placeholders including ${ENV_NAME}, YOUR_API_KEY, redacted, and masked values are ignored. A blocked prompt must be edited and submitted again; automatic redaction is intentionally avoided because silently changing code or credentials can produce misleading model output.