icyaaaww/dsh-tui-secret-guard0

dsh-tui-secret-guard

在 dsh-TUI 将高置信度敏感信息发送给模型前进行拦截的插件。

AI 分析

核心用途是在客户端本地拦截并阻止 API 密钥、密码等敏感信息外泄。适合在终端(TUI)环境中使用 DeepSeek Harness、且对代码或配置隐私安全有严格要求的开发者。

包名
dsh-tui-secret-guard
版本
0.1.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:icyaaaww/dsh-tui-secret-guard

Configuration

enabled: true
genericAssignments: true
minGenericLength: 24
showStatus: true
  • genericAssignments detects values assigned to names such as API_KEY, CLIENT_SECRET, ACCESS_TOKEN, and PASSWORD.
  • minGenericLength controls only generic assignments. Provider-specific formats retain their own strict lengths.
  • showStatus displays secret guard: armed and 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.