commit-and-rewrite-git
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill enforces multiple security-oriented operational rules, such as requiring backup branches before history-altering commands (rebase, reset, amend) and mandating the use of
--force-with-leasewith specific SHAs for push operations to prevent accidental data loss or overwriting of remote history. - [COMMAND_EXECUTION]: The
bisect_oracle.pyscript executes test commands provided by the agent during agit bisectworkflow. The implementation uses thesubprocess.runAPI with list-based arguments andshell=False, which prevents shell injection vulnerabilities. The instructions further mitigate risk by requiring the agent to use absolute paths for test scripts stored outside the repository being analyzed. - [EXTERNAL_DOWNLOADS]: The skill recommends the installation of standard development tools such as
commitlintandlefthookfor repository maintenance. The instructions specify using the project's native package manager and only performing these actions if requested by the user, adhering to standard development practices for well-known tools. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data from git logs and status outputs. While this is an ingestion surface, the risk is mitigated by instructions that require the agent to follow established project styles and seek user confirmation before replacing existing configurations or performing significant history rewrites.
Audit Metadata