全部插件

dsh-plugin-guard

dsh-plugin-guard · 版本 0.3.0 · 更新于 2026年11月29日

一个插件,两个界面。只做静态分析,全程不执行目标插件。

  • 逐版审核
  • 开发运行时
  • MIT
  • 0次下载

说明

以下为插件作者提供的原文。

dsh-plugin-guard

一个插件,两套功能。只做静态分析,不执行目标插件。

面工具干什么
门禁plugin_audit安装前静态审计,给出 score / verdict
门禁plugin_verify安装后对哈希和能力集,变了就 block
诊所plugin_peers本地指纹同类;query 搜 GitHub topic:dsh-plugin
诊所plugin_detox机械脱毒:砍生命周期、把危险 API 换成抛错桩

脱毒不是等价改写,装脱毒副本前必须再 audit 一次。

plugin_peers:只给 path 时只扫本地 bundles;只给 query 时搜 GitHub topic:dsh-plugin + 精选目录,条数不够才动 argo。remote: true/false 可强制。远程条目 verdict=unknown,装前必须再 plugin_audit。

安装

sole plugin --profile web add github:taxueseek/dsh-plugin-guard
# 重启 dsh web

判定

  • 分数从 100 起:P0 −40,P1 −12,P2 −3
  • 任一 P0 或分数 < 40 → block
  • 任一 P1 或分数 < 75 → warn
  • 其余 → allow

P0 只给「自动执行 + 危险组合」:curl|bash、敏感路径外送、eval 吃网络内容、装时脚本投毒。工具里提供 exec 但要模型点才跑,是 P1,不是 P0。

不是什么

  • 不是输出脱敏
  • 不是通用 SAST
  • 不能证明插件安全
  • 脱毒不能保证功能还在

许可

MIT

版本历史

  • 0.3.02026年11月29日 · 44 KB
dsh-plugin-guard · SoleAPI Agent 插件 | SoleAPI