Unverified50% confidenceDecision RuleExact time
If security.disableYoloMode or admin.secureModeEnabled is set and the resolved result is YOLO, Gemini CLI throws a FatalConfigError at startup.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/12/2026
First Seen
Valid until: 1/10/2027
Sources
Related Entities
Related Claims
UnverifiedGemini 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.79% 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.70% similarUnverifiedThe Node.js environment must be installed before installing Gemini CLI on Windows, otherwise the command will report an error.65% similarUnverifiedIn Gemini CLI's current source code, enabling YOLO mode does not automatically turn on the sandbox; the sandbox must be explicitly enabled via --sandbox, GEMINI_SANDBOX, or tools.sandbox.63% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1008990API
curl https://kongchang.com/api/v1/knowledge/claims/1008990MCP
get_claim(id=1008990)