gemini-cli

Fail

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill provides instructions for installing extensions from unverified remote repositories via gemini extensions install https://github.com/user/ext.git. This allows for the download and execution of untrusted code. Additionally, the skill describes adding MCP servers using npx, which is another vector for fetching and executing remote code at runtime.
  • [COMMAND_EXECUTION]: The documentation explicitly recommends using --approval-mode yolo for automated tasks. This flag instructs the tool to auto-approve and execute all actions, including potentially dangerous shell commands and system changes, without any user review or confirmation.
  • [EXTERNAL_DOWNLOADS]: The skill fetches the primary tool from a trusted source (@google/gemini-cli) but encourages downloading unverified third-party extensions and MCP servers from arbitrary remote locations.
  • [INDIRECT_PROMPT_INJECTION]: The skill exhibits a significant attack surface for indirect prompt injection.
  • Ingestion points: The skill is designed to ingest and process untrusted project files via piped stdin (e.g., cat src/*.py | gemini) and the --all-files flag.
  • Boundary markers: There are no explicit instruction delimiters or markers to help the model distinguish between instructions and data in the provided orchestration examples.
  • Capability inventory: The skill utilizes the terminal() tool for subprocess calls and orchestrates a CLI capable of direct file writes, command execution, and remote extension management.
  • Sanitization: No evidence of sanitization or filtering of external file content is described before the data is passed to the underlying LLM-powered CLI tool.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 18, 2026, 11:22 PM