Skip to content

Add plugin 插件安全体检 v0.1.0 - #483

Open
TheLastSheep wants to merge 3 commits into
ZToolsCenter:mainfrom
TheLastSheep:codex/plugin-guard
Open

Add plugin 插件安全体检 v0.1.0#483
TheLastSheep wants to merge 3 commits into
ZToolsCenter:mainfrom
TheLastSheep:codex/plugin-guard

Conversation

@TheLastSheep

@TheLastSheep TheLastSheep commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

变更

  • 提供全中文的 ZTools 插件目录安全体检界面。
  • 新增 1 个只读 MCP 工具,供 Agent 扫描用户已授权的插件目录。
  • 清单完整声明 macOS、Windows、Linux 三端支持。

安全

  • 不修改被扫描目录、不跟随符号链接,也不接受路径型 MCP 参数。
  • 文件数量、目录体积、发现证据和响应均有硬上限。
  • 清单、消息和文件证据统一脱敏并分页返回。

验证

  • npm run build:41/41 通过。
  • dist 51,336 B;最终 ZIP 19,219 B,低于 15 MB 限制。
  • root/dist 中文入口均加载成功,无页面或控制台错误。
  • 独立交叉审查通过,P0-P3 均无。

验证边界

Windows/Linux 真机 ZTools 宿主尚未手动点击验证,因此保留 Draft 状态。

- 加固插件目录授权、敏感证据脱敏与分页报告
- 提供只读的已授权插件安全扫描工具

AI-Co-Authored-By: Codex
@TheLastSheep TheLastSheep changed the title Add plugin Plugin Guard v0.1.0 Add plugin 插件安全体检 v0.1.0 Sep 1, 2026
@TheLastSheep
TheLastSheep marked this pull request as ready for review September 1, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants