dsh-baseline:DSH 上的 fail-closed 安全基线闸门
dsh-baseline 是 bbo777 维护的 DSH admin-security 插件(0.1.0),通过策略门控网络出口、ctx.tools.guard 单调子代理上限,以及 SHA-256 哈希链记录工具判定与结果,默认 fail-closed。支持 loose/standard/strict 模式与 allowedHosts 白名单,安装命令为 dsh plugin --profile web add dsh-baseline,需 DSH 0.2.1-rc.2 至 0.3.0 与 Node 22.5+。文章说明安装、配置覆盖语义、与 permgate 互补关系及能力边界。
阅读全文