gemini-runner
Pass
Audited by Gen Agent Trust Hub on May 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/run_gemini.pyutilizessubprocess.runto execute the localgeminiCLI and other runner scripts during fallback operations. While the script avoids direct shell injection by passing command arguments as a list, it executes the model with the--yoloflag by default, which enables auto-approval for model-generated actions and increases the impact of potential manipulation. - [PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection (Category 8).
- Ingestion points: Untrusted data is ingested via the positional
promptargument, and the--prompt-fileand--session-fileparameters inscripts/run_gemini.py. - Boundary markers: The
build_promptfunction assembles the final prompt by concatenating roles, metadata, session context, and the prompt body using simple string formatting. It lacks robust boundary markers or explicit instructions for the model to ignore instructions embedded within the data segments. - Capability inventory: The skill facilitates the execution of model-generated commands via the Gemini CLI, with auto-approval enabled by default.
- Sanitization: There is no validation or sanitization of input strings before they are interpolated into the prompt and passed to the CLI.
Audit Metadata