The skill contains legitimate Git automation scripts that execute git subprocesses and can modify branches, worktrees, and local configuration. Most static findings are documentation examples or false positives, but executable worktree and branch management should require user awareness because it changes repository state and filesystem paths.
The documentation includes forced worktree removal using paths outside the current repository. It is intentional Git guidance, but can delete local worktree content if followed without care.
The documentation includes forced worktree removal using paths outside the current repository. It is intentional Git guidance, but can delete local worktree content if followed without care.
The documentation recommends reading or modifying hidden Git-related files in a user environment. This is a legitimate workflow pattern but still affects persistent user configuration or repository internals.
The documentation recommends reading or modifying hidden Git-related files in a user environment. This is a legitimate workflow pattern but still affects persistent user configuration or repository internals.
The Python script executes git subprocesses that can checkout, pull, merge, create branches, and manage worktrees. Arguments are passed as argv lists, reducing injection risk, but repository state can still be modified.
The Python script executes git subprocesses that can checkout, pull, merge, create branches, and manage worktrees. Arguments are passed as argv lists, reducing injection risk, but repository state can still be modified.
The Python script executes git subprocesses that can checkout, pull, merge, create branches, and manage worktrees. Arguments are passed as argv lists, reducing injection risk, but repository state can still be modified.
The Python script executes git subprocesses that can checkout, pull, merge, create branches, and manage worktrees. Arguments are passed as argv lists, reducing injection risk, but repository state can still be modified.
The Python script executes git subprocesses that can checkout, pull, merge, create branches, and manage worktrees. Arguments are passed as argv lists, reducing injection risk, but repository state can still be modified.
The Python script executes git subprocesses that can checkout, pull, merge, create branches, and manage worktrees. Arguments are passed as argv lists, reducing injection risk, but repository state can still be modified.
The worktree manager resolves a configurable base directory and creates or removes worktrees. It is intended functionality, but user-supplied paths can affect filesystem locations outside the main worktree.
The worktree manager resolves a configurable base directory and creates or removes worktrees. It is intended functionality, but user-supplied paths can affect filesystem locations outside the main worktree.
print(f" Base dir: {wt_config.get('baseDir', '../worktrees')}")
The worktree manager resolves a configurable base directory and creates or removes worktrees. It is intended functionality, but user-supplied paths can affect filesystem locations outside the main worktree.
The documentation includes forced worktree removal using paths outside the current repository. It is intentional Git guidance, but can delete local worktree content if followed without care.
The documentation recommends reading or modifying hidden Git-related files in a user environment. This is a legitimate workflow pattern but still affects persistent user configuration or repository internals.
The documentation recommends reading or modifying hidden Git-related files in a user environment. This is a legitimate workflow pattern but still affects persistent user configuration or repository internals.
The documentation recommends reading or modifying hidden Git-related files in a user environment. This is a legitimate workflow pattern but still affects persistent user configuration or repository internals.
The script writes a branching configuration file under the repository .claude directory. This is expected behavior but is persistent filesystem modification.
03
风险问题
已确认的安全问题与仍需审核的项目分开展示。
此次已完成的审计未记录已确认的安全发现。
04
补救措施
本次审计记录了建议的修复措施。实施这些措施是维护者的责任。
FIX-001
中
Git subprocesses modify repository state.
Require explicit confirmation before checkout, pull, merge, branch deletion, forced worktree removal, or other destructive Git operations.
FIX-002
中
Worktree paths may be supplied by users or configuration.
Resolve worktree paths, reject unsafe parent traversal outside an approved base directory, and show the final path before creating or removing files.
FIX-003
低
Documentation includes forced worktree removal and global Git ignore examples.
Label these commands as optional and potentially destructive, and prefer project-local configuration examples where possible.