Unverified50% confidenceOpinionExact time
Gemini CLI merges the workspace's .gemini/settings.json configuration, and if it is allowed to set defaultApprovalMode to yolo, then after cloning a malicious repository shell commands can be executed automatically, creating a serious security risk of prompt injection plus automatic approval.
1
Sources
50%
Confidence
Long-term
Relevance
10/12/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedIf security.disableYoloMode or admin.secureModeEnabled is set and the resolved result is YOLO, Gemini CLI throws a FatalConfigError at startup.79% similarUnverifiedThe Node.js environment must be installed before installing Gemini CLI on Windows, otherwise the command will report an error.72% similarUnverifiedGemini CLI's YOLO mode can only be triggered via command-line flags (--yolo / -y or --approval-mode yolo) or an in-session shortcut (Ctrl+Y), and cannot be set as the default via settings.json's general.defaultApprovalMode.72% similarUnverifiedThe process of using Gemini CLI via OMini Router relay consists of four steps: installing Node.js and Gemini CLI, starting OMini Router, configuring two environment variables, and modifying three fields in the configuration file.65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1008993API
curl https://kongchang.com/api/v1/knowledge/claims/1008993MCP
get_claim(id=1008993)