zhujiaqi/dsh-secret-paste
zhujiaqi★ 2JavaScript最后同步: 2026-08-20
DeepSeek Harness plugin: detect pasted secrets, store them in the credentials seam, and send [secret:REF] placeholders to the model.
README 摘要
dsh-secret-paste A DeepSeek Harness plugin that detects secrets pasted into the composer, stores them in the official credentials seam, and sends a [secret:REF] placeholder to the model instead of the plaintext. The real value never reaches the message, the session history, or any transcript. 🌐 中文:README.zh.md | English Why You paste an API key or a token into the chat. Without protection it goes straight to the model and into the session log — which is exactly where a secret should never land. This plugin intercepts the paste, stores the value in the official DSH credential seam ( /.dsh/.credentials.yaml , mode 0600), and replaces it in the draft with [secret:REF] . The model only ever sees the placeholder, and can read the real value on demand through a dedicated tool. How it works Step What happens Detect @sanity-labs/secret-scan (1,100+ rules derived from gitleaks / TruffleHog) runs on the pasted text. Store The value is written with the official credentials.set Web API — no new server route. Replace The matched range becomes [secret:PASTE N] in the draft. Resolve The model calls the secret resolve(ref) tool when it actually needs the value. The plaintext value lives in exactl…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784