icyaaaww/dsh-tui-secret-guard ↗★ 0
dsh-tui-secret-guard
Blocks high-confidence secrets before dsh-TUI sends them to a model.
安装
$
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.