gemini-runner
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/run_gemini.pyutilizessubprocess.runto invoke theagyCLI tool and various sibling runner scripts. While it correctly uses list-based arguments to mitigate shell injection, the execution flow is determined by theAGY_CLI_PATHenvironment variable and local script paths. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection by reading external content into the model prompt.
- Ingestion points: The skill reads data from local files via the
--prompt-fileand--session-filearguments inscripts/run_gemini.py. - Boundary markers: While the skill injects a read-only instruction for analysis roles, the
references/runtime-reference.mdfile explicitly states this is a soft constraint that the model can be injected into ignoring. - Capability inventory: The skill has the capability to trigger local CLI operations (via
agy) which may include write actions depending on the local configuration. - Sanitization: The ingested content is concatenated into the final prompt without escaping or validation, relying on the model's obedience to soft instructions.
Audit Metadata