dsh-honey-guard

在密钥离开本机前,将其确定性地替换为结构合法的蜜罐假值(OpenAI、AWS、GitHub、PEM、Bearer 模式);支持手动标记检测器认不出的值、用户可见的显式还原、蜜罐跨会话出现时的金丝雀告警,以及可选的 JSONL 替换计数日志(只记来源与类别计数,绝不记录真实值)。

插件介绍

在密钥离开本机前,将其确定性地替换为结构合法的蜜罐假值(OpenAI、AWS、GitHub、PEM、Bearer 模式);支持手动标记检测器认不出的值、用户可见的显式还原、蜜罐跨会话出现时的金丝雀告警,以及可选的 JSONL 替换计数日志(只记来源与类别计数,绝不记录真实值)。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-honey-guard

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:elegant01/dsh-honey-guard

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。