- injection_resistance.summary hazard lens
Was: GitHub security-advisories page for the repo shows no published advisories and no CVE was found.
Now: The google-gemini/gemini-cli repo's own advisories tab is empty, but Gemini CLI has two Critical (CVSS 10.0) published advisories: GHSA-wpqr-6v78-jr5g (published 2026-04-24 on the run-gemini-cli repo and in the GitHub Advisory Database against npm @google/gemini-cli <0.39.1 and 0.40.0-preview.2; 'Remote Code Execution via workspace trust and tool allowlisting bypasses' - headless/CI runs auto-trusted workspace folders so a malicious .gemini/.env enabled RCE, and --yolo ignored fine-grained tool allowlists; credited to Elad Meged/Novee Security and Dan Lisichkin/Pillar Security via Google VRP) and CVE-2026-12537 / GHSA-jj69-4grx-fqj5 (published 2026-06-24, CVSS 4.0 base 10.0 Critical, 'Improper Neutralization used in an OS Command in the container launcher' allowing pre-sandbox host-level code execution via a crafted .gemini/.env on headless CI; affects Gemini CLI <0.39.1 and run-gemini-cli <0.1.22).
github.com - gaps[4] hazard lens
Was: No CVE identifier found for the Tracebit vulnerability or any Gemini CLI flaw; the repo's GitHub advisories page shows none published.
Now: CVE-2026-12537 exists for Gemini CLI (NVD published 2026-06-24, CVSS 4.0 10.0 CRITICAL, referencing GHSA-wpqr-6v78-jr5g). The Tracebit June-July 2025 bug still has no CVE.
services.nvd.nist.gov - incidents hazard lens
Was: Only one Gemini CLI data-loss incident is listed (2025-07-21, issue #4586).
Now: Irreversible data loss caused by Gemini CLI is a recurring, documented pattern: #1504 (opened 2025-06-25, v0.1.1, agent ran rm -rf docs/journeys without checking contents; labeled priority/p1, closed not planned); #11017 (2025-10-13, v0.8.2, agent ran rm -rf * and deleted the whole codebase; closed as duplicate of #10425); #19729 (2026-02-20, v0.23.0, model auto-gemini-2.5, agent rm -rf'd a .git.bak backup it had created, permanently losing local commit history, reportedly without confirmation; closed 2026-02-23 as completed); #25592 (2026-04-17, v0.38.0, model auto-gemini-3, agent executed sudo rm -rf /mnt/media/music without verifying state, destroying ~238GB of the only copies of a music library; the user says it was their second major data loss with the tool; closed 2026-04-22 as completed).
github.com - dangerous_capabilities.third_party[0].evaluator hazard lens
Was: External safety testers named in Gemini 3 Pro model card (UK AISI, Apollo Research, Vaultis, Dreadnode)
Now: Neither the current Gemini 3 Pro model card PDF (Last Updated May 2026; 10 pages, text-extracted) nor the Gemini 3 Pro FSF report names any external evaluator; both refer only to 'third party evaluator(s)' / 'specialist independent groups'. The words AISI, Apollo, Vaultis and Dreadnode do not appear in either document. The findings themselves (cyber faster than humans on well-defined tasks; CBRN time-saving for trained users / minimal or negative for novices; radiological/nuclear 'moderate malign misuse potential'; ML R&D sabotage increased but inconsistent; 'substantial propensity for strategic deception in certain limited circumstances') are verified in the FSF report.
storage.googleapis.com - system_access.scope_limits hazard lens
Was: Trusted Folders ('security.folderTrust.enabled') is OFF by default
Now: The docs are internally inconsistent: the Trusted Folders page says the feature 'is disabled by default', but the configuration reference lists security.folderTrust.enabled 'Default: true'. Since v0.39.1 (2026-04-24, GHSA-wpqr-6v78-jr5g) folder trust is enforced fail-closed in headless/CI mode by default (the CLI throws FatalUntrustedWorkspaceError unless GEMINI_CLI_TRUST_WORKSPACE=true / --skip-trust), and v0.59.0-preview.0 'enforce[s] fail-closed workspace trust'. The default state should be recorded as 'unknown/inconsistent in docs; enforced in headless mode since v0.39.1'.
geminicli.com - incidents[2].description hazard lens
Was: Google reclassified it P1/S1
Now: Google initially triaged Tracebit's report as P2/S4 and only reclassified it to P1/S1 on 2025-07-23, four weeks after the 2025-06-27 disclosure and two days before the v0.1.14 fix.
tracebit.com - usefulness.benchmarks[2-3] hazard lens
Was: SWE-bench Verified 76.2% and Terminal-Bench 2.0 54.2% sourced to the Gemini 3 Pro model card PDF
Now: Figures are correct but the model card PDF's benchmark table is an embedded image (page 5 has no extractable text); the numbers are verifiable in text at Google's 2025-11-18 Gemini 3 launch post ('SWE-bench Verified (76.2%)', '54.2% on Terminal-Bench 2.0').
blog.google - system_access.scope_limits autonomy lens
Was: Trusted Folders ('security.folderTrust.enabled') is OFF by default
Now: Google's own sources conflict. The settings schema in the v0.58.0 source and the configuration reference both give security.folderTrust.enabled a default of `true`, and packages/cli/src/config/trustedFolders.ts (v0.58.0 and main) implements `settings.security?.folderTrust?.enabled ?? true`; only the trusted-folders docs page (site and v0.58.0 docs/cli/trusted-folders.md) says 'disabled by default'. Code is authoritative: folder trust is ON by default in v0.58.0, and the CLI shows a 'Do you trust the files in this folder?' dialog (Trust folder / Trust parent folder / Don't trust) on first use of a folder. Note the profile's identical 'OFF by default' assertion in sandboxing.notes and danger.rationale also needs the same correction.
raw.githubusercontent.com - sandboxing.notes autonomy lens
Was: Trusted Folders 'safe mode' is a separate, also off-by-default, capability restriction rather than an OS sandbox.
Now: Trusted Folders is on by default per the v0.58.0 settings schema (default `true`) and the configuration reference; the trusted-folders docs page contradicts this ('disabled by default') but the code default is `?? true`.
raw.githubusercontent.com - confirmation.destructive_protection autonomy lens
Was: Docs state every shell command gets the same three-option prompt regardless of impact, and the policy engine has 'No explicit built-in detection for destructive commands' (admins must write deny rules).
Now: The shell tutorial documents a uniform three-option prompt ('Allow once', 'Allow always: Trusts this specific command for the rest of the session', 'Deny') but contains no 'regardless of impact' statement, and the quoted string 'No explicit built-in detection for destructive commands' does not appear on the policy-engine page (the word 'destructive' appears nowhere on it; 'rm -rf /' appears only as an example of a user-written deny rule). The substantive point survives on other evidence: the built-in default policies (write.toml, read-only.toml, yolo.toml) contain no destructive-command heuristics; the only built-in safety checker is an AllowedPathChecker (workspace-path restriction for write_file/replace, wired only in autoEdit mode), plus an opt-in LLM-based 'Conseca' checker (security.enableConseca, default false). The v0.58.0 release note about 'top-level safety checkers in write policy configuration' refers to this path checker, not destructive-command detection.
raw.githubusercontent.com - confirmation.bypass_modes autonomy lens
Was: 'Always allow all tools from this server' MCP dialog option
Now: The documented MCP confirmation options are 'Proceed once', 'Always allow this tool' (tool-level allow-list), 'Always allow this server' (server-level allow-list) and 'Cancel'.
geminicli.com - confirmation.bypass_modes autonomy lens
Was: --approval-mode=auto_edit / general.defaultApprovalMode="auto_edit" (auto-approves edit tools)
Now: autoEdit auto-approves replace and write_file (priority-15 allow rules, gated by the allowed-path safety checker) AND web_fetch (priority-15 allow rule in write.toml), so auto_edit also removes the web_fetch confirmation; run_shell_command still asks.
raw.githubusercontent.com - confirmation.notes autonomy lens
Was: explicit danger-warning text in the docs was not verified
Now: Verified: the policy-engine docs describe yolo as 'A mode where all tools are auto-approved (use with extreme caution)'; the CLI source prints 'YOLO mode is enabled. All tool calls will be automatically approved.' when yolo is set; the footer SandboxIndicator renders 'no sandbox' in the error color (and 'untrusted' / 'current process' / 'all tools' in warning color). The --yolo flag help text itself is jokey: 'Automatically accept all actions (aka YOLO mode, see https://www.youtube.com/watch?v=xvFZjo5PgG0 for more details)?'.
raw.githubusercontent.com - sources[run-gemini-cli].supports autonomy lens
Was: GitHub Action runs Gemini CLI in CI on issues/PRs with GITHUB_TOKEN and Gemini API key; security guidance
Now: The official run-gemini-cli action.yml hardcodes `gemini --yolo --prompt "${PROMPT}" --output-format json` (and `gemini --debug --yolo ...`), i.e. Google's own CI integration runs every invocation in YOLO mode with no approval-mode input; its trust-guidance.md tells users processing untrusted data to 'strictly limit which tools the Gemini CLI is allowed to execute' via settings rather than offering a non-yolo mode.
raw.githubusercontent.com - internet_access.notes autonomy lens
Was: Built-in tools: google_web_search ... web_fetch (... shows a confirmation dialog)
Now: google_web_search is in the built-in read-only allow list (read-only.toml, priority 50) and therefore runs with NO confirmation in default mode; web_fetch is ask_user in default mode and auto-allowed in autoEdit mode. So the agent can reach the internet (via Google Search grounding) without any user prompt in the default configuration.
raw.githubusercontent.com