git-pushing
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill accepts external input through a commit message argument, which can be exploited if the agent populates this argument using untrusted data from the environment.
- Ingestion points: The script
scripts/smart_commit.shreceives input through the first command-line argument ($1). - Boundary markers: There are no markers or specific instructions to isolate the message content from the agent's core instructions.
- Capability inventory: The skill has the capability to stage all files in the directory (
git add .), create commits, and perform network operations viagit push. - Sanitization: The script uses double-quoting (
"$MESSAGE") to prevent shell expansion, but it does not perform any validation or sanitization of the message content itself. - [COMMAND_EXECUTION]: The skill executes a local bash script to perform Git operations, which involves reading the file system, staging all current changes, and pushing data to a remote repository.
Audit Metadata