icyaaaww/dsh-tui-secret-guard0

dsh-tui-secret-guard

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

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.