commit
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
gitandgh(GitHub CLI) commands to perform repository operations such as staging, committing, pushing, and inspecting history. Subprocess calls in the accompanying Python scripts are implemented using argument lists rather than shell strings, preventing shell-level injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes commit messages that may incorporate untrusted data. It implements strong 'Heredoc Safety Rules' for Bash/Zsh and 'PowerShell Here-String Rules' to ensure messages are treated as literal data, preventing command injection during the commit process.
- Ingestion points: Commit messages drafted from user input and repository metadata.
- Boundary markers: Uses quoted heredocs (
'EOF') and single-quoted here-strings to wrap commit messages. - Capability inventory: File system access via
git, network access viagh api, and process execution viasubprocess.run. - Sanitization: Input to the
wrap_message.pyscript is processed via regex to ensure only expected identifiers (e.g., repository names, issue numbers) are used in API calls. - [EXTERNAL_DOWNLOADS]: The
wrap_message.pyscript performs network lookups to the GitHub API via theghCLI to resolve issue and pull request references. This targets well-known official GitHub infrastructure.
Audit Metadata