全部插件

DSH / BUNDLE / BUNDLES

dsh-plugin-guard

v0.3.0taxueseek / dsh-plugin-guard63b402d0cd

可安装组合包组合包与其他模块社区 · Topic 自动分析

概览

dsh-plugin-guard

DSH plugin gate + clinic: static audit before and after install, hash lock, peer search, mechanical detox. Never executes the target plugin.

README / ZH

插件文档

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

安装

dsh 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