ethanrise/dsh-privacy-gateway ↗★ 0
dsh-privacy-gateway
Local privacy gateway for DeepSeek Harness: replaces personal data in conversation messages with placeholders before they reach the model, shows the originals only in the local UI, and creates redacted copies of CSV/XLSX files. 适合对数据隐私敏感,需在发送给模型前过滤敏感信息的场景。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ethanrise/dsh-privacy-gatewayREADME
Read the full README ↗Configuration
In the plugin's cordis.patch.yml row:
| Key | Default | Meaning |
|---|---|---|
maskMessages | true | mask conversation messages before the model sees them (also switchable in the sidebar) |
maskToolResults | false | also mask tool results |
entities | [PERSON, PHONE, EMAIL, ID_CARD, BANK_CARD] | rule types to detect; add IP to enable it |
persistVault | true | keep vault.json on disk |
maxVaultEntries | 20000 | oldest entries are dropped past this |