icyaaaww/dsh-tui-secret-guard0

dsh-tui-secret-guard

Blocks high-confidence secrets before dsh-TUI sends them to a model.

包名
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.