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:
- defer environment loading until after workspace trust checks
- ignore workspace .env and .gemini/.env when the workspace is untrusted
- only load trusted home-directory env files in that case
- isolate task-level env and directory behavior to reduce cross-task leakage
More from coding & agent
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11