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

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

Source links

Primary links, including exact changelog lines when available.

Versioned source: run artifact