dsh-kubectl-guard
按 kubeconfig context 管控 kubectl 调用的策略插件:本地集群外硬拒绝不可逆操作,其余写操作请求人工确认。
Policy plugin that gates kubectl by kubeconfig context: hard-deny irreversible verbs outside local clusters, ask for the rest.
怎么安装
dsh plugin add dsh-kubectl-guard 简介
dsh-kubectl-guard A DeepSeek Harness policy plugin that gates kubectl by kubeconfig context. Irreversible verbs against a non-local cluster are denied outright. Recoverable writes ask first. Reads and local clusters are untouched. It registers no tools of its own — it inspects the command argument of shell tool calls, so it covers whatever the agent runs. Install Requires pnpm, which dsh plugin shells out to. **From npm:** dsh plugin --profile web add dsh-kubectl-guard **From source**, if you want to hack on it: git clone https://github.com/gengwg/dsh-kubectl-guard cd dsh-kubectl-guard dsh plu…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 1
- 月下载
- –
- 最近更新
- 2026-09-07
- 创建于
- 2026-09-01
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin, kubectl, kubernetes, safety
同类推荐
dsh-secure-audit
PensiveFei/dsh-secure-audit
DSH 只读安全合规插件:提示注入检测、中文 PII 脱敏、本机配置安全审计,输出脱敏且可复现的报告。
dsh-auto-approve
Jiao-XXX/dsh-auto-approve
在 workspace-write 与 danger-full-access 之间增加 `auto` 权限档:分类器一次性放行例行沙箱升级,危险或不确定的操作仍转人工审批。
dsh-plugin-vet
wulun811/dsh-plugin-vet
DSH 插件信任流水线:确定性静态扫描判定、可选运行时守卫与蜜罐诱饵、agent 审查协议技能与浏览器盾牌状态灯,只报警不执法。
dsh-agent-approval
MoonlitDropOfBlood/dsh-agent-approval
由独立审批子代理裁决每次沙箱提权,可配置审批模型并带审计记录。