git-pushing
Pass
Audited by Gen Agent Trust Hub on Mar 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bash script
scripts/smart_commit.shto run Git commands. - [DATA_EXFILTRATION]: The script
scripts/smart_commit.shperformsgit add .followed bygit push. This can lead to the accidental upload of sensitive files (like.envor credentials) to a remote repository if they are not explicitly ignored. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection via user-supplied commit messages:
- Ingestion points: The
MESSAGEvariable inscripts/smart_commit.shaccepts untrusted user input. - Boundary markers: None are present to delimit the commit message from instructions.
- Capability inventory: The script executes
git commitandgit push, which can affect remote repositories and CI/CD pipelines. - Sanitization: There is no validation or escaping of the user-provided message before it is passed to the shell command.
Audit Metadata