DSH Honey Guard: Outbound Honeypot Sanitization—Turning Keys into Dummy Values Before Leaving the Host
dsh-honey-guard is a DSH honeypot redaction plugin maintained by elegant01 (v0.1.0, MIT). It hooks into agent/pre-step and tools/post-execute to scan outbound messages for OpenAI/DeepSeek-style keys, AWS AKIA identifiers, GitHub tokens, Bearer credentials, PEM private keys, and more, replacing them with structurally valid Honey-Tokens. Mapping is deterministic within a session but uncorrelatable across sessions. It provides honey_mark, honey_restore, honey_stats, and Canary Trap functionality. Install via the dsh plugin command in the README: dsh plugin --profile desktop add <file-path>. Ideal for DSH users who want to keep secrets out of sessions and logs.
Read More