Gemini CLI PR Fixes Flaw Leting Tainted Shell Commands Save Always-Allow Rules

kanchinadd98 · ghdev · 2026-11-07

google-gemini/gemini-cli PR #30196 fixes a security bug: choosing "Always allow" on a tainted shell command (untrusted flags, or after build files changed) still saved a session or persistent allow rule for the command root — e.g. one approval whitelisted all future npm ... commands.

Key changes:

New test cases in policy.test.ts and acpUtils.test.ts verify the behavior.

Original post →

More from coding & agent

coding & agent channel →