Evidence record / gemini-cli
A dated record of one change, kept so the writing that cites it can be checked. Compiled from the sources listed below by the research run, not written for reading. The judgment lives in the issues that cite it, below.
2026-10-24-gemini-cli-nightly-scopes-flag-taint-to-external-output-and-remembers-approved-flags-within-the-sessi
Nightly scopes flag taint to external output and remembers approved flags within the session. Unknown-flag matching distinguishes external output, including web/MCP/remote-shell sources, from local shell output. Workspace-local path handling and remembered approved flags/root commands narrow repeated prompts. Approval memory is held in the session configuration, not established here as a persistent grant. High-risk argument matching remains a separate check; this does not turn external tool text into trusted instructions.
Channel: preview-or-beta. Half: both. Date: 2026-10-21.
Operator consequence: Canary the nightly on long shell-heavy jobs where ordinary commands repeatedly require approval after output accumulates. Inspect what the first approval covers, since later reuse may not ask again in that session. The durable gain is less repetitive attention spent on the same reviewed flag; no prompt-frequency benchmark or proof against all injection variants was run.
Receipt
- https://github.com/google-gemini/gemini-cli/commit/120a39ded6ad7b82e45b574ab54baba451d65fe9
- https://github.com/google-gemini/gemini-cli/blob/v0.67.0-nightly.20261024.gcd1b45c2d/packages/core/src/utils/untrustedContextTracker.ts
- https://github.com/google-gemini/gemini-cli/blob/v0.67.0-nightly.20261024.gcd1b45c2d/packages/core/src/tools/shell.ts
Finding metadata
Run: 2026-10-24-weekly-digest-2026-10-13_2026-10-24-frontier-v0
Finding ID: 2026-10-24-gemini-cli-nightly-scopes-flag-taint-to-external-output-and-remembers-approved-flags-within-the-sessi
Profile citations
- Gemini CLI / claim / nightly-scoped-flag-approvals
- Gemini CLI / posture / governance
Source links
Primary links, including exact changelog lines when available.
- commit2026-10-24-gemini-cli-nightly-scopes-flag-taint-to-external-output-and-remembers-approved-flags-within-the-sessigithub.com/google-gemini/gemini-cli/commit/120a39ded6ad7b82e45b574ab54baba451d65fe9tagged commit file2026-10-24-gemini-cli-nightly-scopes-flag-taint-to-external-output-and-remembers-approved-flags-within-the-sessigoogle-gemini/gemini-cli / packages/core/src/utils/untrustedContextTracker.tstagged commit file2026-10-24-gemini-cli-nightly-scopes-flag-taint-to-external-output-and-remembers-approved-flags-within-the-sessigoogle-gemini/gemini-cli / packages/core/src/tools/shell.ts
Versioned source: run artifact