ethanrise/dsh-privacy-gateway ↗★ 0

dsh-privacy-gateway

本地隐私网关,脱敏对话和文件中的个人数据 适合对数据隐私敏感,需在发送给模型前过滤敏感信息的场景。

套件
dsh-privacy-gateway
相容性
待驗證
Harness 依賴範圍
>=0.1.5-alpha.1 <0.1.6-0 || >=0.1.6-0 <0.1.7-0 || >=0.1.7-0 <0.1.8-0 || >=0.1.8-0 <0.1.9-0 || >=0.1.9-0 <0.1.10-0 || >=0.2.0-0 <0.2.1-0 || >=0.1.5 <0.3.0-0
Cordis 依賴範圍
^4.0.1
版本
0.3.0
授權
MIT
最近更新
2026年9月30日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ethanrise/dsh-privacy-gateway

Configuration

In the plugin's cordis.patch.yml row:

KeyDefaultMeaning
maskMessagestruemask conversation messages before the model sees them (also switchable in the sidebar)
maskToolResultsfalsealso mask tool results
entities[PERSON, PHONE, EMAIL, ID_CARD, BANK_CARD]rule types to detect; add IP to enable it
persistVaulttruekeep vault.json on disk
maxVaultEntries20000oldest entries are dropped past this