Gemini CLI patch blocks zero-click RCE in untrusted workspaces

luisfelipe-alt · ghdev · 2026-07-21

A Google Gemini CLI PR hardens a2a-server against zero-click RCE and environment poisoning in untrusted workspaces.

The patch changes startup and config loading so workspace .env files are ignored until trust is verified, and it isolates per-task environment state using AsyncLocalStorage plus a Proxy around process.env.

Key changes:

Original post →

More from coding & agent

coding & agent channel →