gemini-cli-integration
Pass
Audited by Gen Agent Trust Hub on Mar 30, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is highly susceptible to indirect prompt injection. It facilitates the ingestion of untrusted external data into the agent's context by analyzing entire codebases.
- Ingestion points: Found in
SKILL.mdvia commands likegemini -p "@./ ..."andgemini --all_files. - Boundary markers: The skill does not provide or recommend using delimiters (e.g., XML tags or triple backticks) to isolate codebase content from system instructions.
- Capability inventory: The tool documentation in
references/gemini-cli-helpindicates capabilities for file editing, reading, and executing arbitrary tools via extensions and MCP servers. - Sanitization: No evidence of input validation or sanitization of file content is present in the skill instructions.
- [COMMAND_EXECUTION]: The skill promotes the use of autonomous execution modes that bypass human-in-the-loop safety checks.
- Evidence:
SKILL.mdexplicitly recommends--approval-mode yoloand--yolo, which the CLI help confirms will 'Automatically accept all actions'. - Risk: When combined with the indirect prompt injection surface described above, an attacker could hide instructions in a repository that the agent would then execute autonomously (e.g., deleting files, exfiltrating data, or modifying sensitive configurations).
Audit Metadata