Skip to content

Releases: lloydzhou/bash-guard

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 17:34
Release v0.2.0

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 17 Jul 13:00

修复

  • 修复相对路径判断:约 45% 的相对路径操作此前被误判为 system scope,现通过标准化路径处理使相对路径与绝对路径得到一致判断。
  • 修复 apply_patch 命令在工作区内被错误屏蔽的问题,正确提取其中的文件路径并归入 workspace scope。
  • 修复 Glob 工具的 pattern 被误判为路径导致权限计算错误(如 Glob(path=/etc, pattern=**) 被计算为 4004 而非 4000),policy_probe 现仅包含 path。
  • 修复 URL 与 scp 远程路径格式被误识别为本地路径的问题。
  • 修复相同命令在不同执行时得到不同权限模式的不稳定问题。

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 13 Jul 06:56

新增

  • 将权限防护范围从 Bash 扩展到 Read、Edit、Write、Glob 和 Grep,覆盖 Claude Code 与 Codex 的受支持原生工具调用。
  • 审计记录新增 tool_name、operation 和 tool_input_summary 字段;写入内容、编辑替换文本和 Grep 模式仅记录 UTF-8 字节长度,避免记录正文。

变更

  • 原生工具调用复用 system/external/network/workspace 四组八进制权限模型;字段缺失、类型错误、关键路径为空或 Glob 范围不确定时均默认拒绝。
  • Claude Code 插件 Hook 匹配器与 Codex 注册匹配器均更新为 Bash|Read|Edit|Write|Glob|Grep。

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 11 Jul 07:43
发布 0.1.3

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 11 Jul 06:50
发布 0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 11 Jul 05:55
Use macOS 14 release builders