eliteforge-git-specification
Warn
Audited by Gen Agent Trust Hub on Apr 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Multiple scripts within the
scripts/directory lack proper shell quoting for variables, which can lead to command injection if branch names or user-supplied parameters contain shell metacharacters (e.g.,;,&,|). - In
scripts/rename_git_branch, the variables$old_branchand$new_branchare used unquoted in commands such asgit push --no-verify origin $new_branchandgit push --no-verify origin --delete $old_branch. - In
scripts/delete_merged_branches, the variable$branch(derived from remote branch names) is used unquoted ingit push origin --delete $branchandgit branch -d $branch. - In
scripts/check_merge, the commandgit checkout ${branch}/$versionuses unquoted variables. - [COMMAND_EXECUTION]: The script discovery logic in
SKILL.mdsearches for the scripts directory starting from the current directory,$SKILLS_HOME, and the user's$HOMEdirectory. This broad search path could lead to the unintended execution of malicious scripts if an attacker places a matching directory structure in a higher-priority location on the file system.
Audit Metadata