xiayuhkust/dsh-toolbelt--packages-secret-guard ↗★ 0
dsh-plugin-secret-guard
Blocks model-facing tools from reading secret and PII files (.env, keys, credentials) in DeepSeek Harness. Deny with reason via the tools/pre-execute waterfall.
AI 분석
核心用途是保护本地隐私与安全,防止AI工具意外读取敏感配置文件。适合对本地数据安全有高要求的DSH用户。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
配置
- id: secret-guard
name: dsh-plugin-secret-guard
config:
extraPatterns: ['server.txt', '*.token'] # 追加规则
# patterns: [...] # 整体替换默认规则
默认规则见 src/index.mjs 的 DEFAULT_PATTERNS。匹配按 basename 通配(* 通配符),大小写不敏感。