smart-rebase
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Bash to execute git commands for repository analysis. It includes advanced defensive measures to prevent argument injection, such as consistently using the
--and--end-of-optionsseparators to handle branch names that may start with dashes or contain shell metacharacters.\n- [DATA_EXPOSURE]: The skill accesses branch history and commit metadata to perform its analysis. It usesgit fetchto update remote-tracking branches from the project's configured remotes, which is standard behavior for git-based development tools.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted data from git commit messages.\n - Ingestion points: Commit messages are ingested through
git logandgit cherrycommands in the analysis script.\n - Boundary markers: Data is presented to the user in structured markdown tables, and the skill requires human review of the plan before outputting a command.\n
- Capability inventory: The skill is limited to analysis and string generation; the execution of the final
git rebasecommand is strictly reserved for the human developer, mitigating the risk of autonomous destructive actions.\n - Sanitization: The analysis script implements dedicated
json_escape,sh_quote, andutf8_sanitizefunctions to verify and clean commit messages and branch names, preventing them from interfering with the JSON structure or causing shell command injection.
Audit Metadata