Gemini CLI Patch Fixes Variable Expansion Bypass Vulnerability
thalha-a9 · ghdev · 2026-08-19
This PR fixes incomplete checks in detectBashSubstitution() and detectPowerShellSubstitution() that allowed variable expansion patterns to bypass security gates added for GHSA-wpqr-6v78-jr5g. It also implements defense-in-depth hardening for the gemini-automated-issue-dedup.yml workflow. Changes include blocking ${VAR} and $VAR in shell-utils.ts with an allowlist for safe automatic variables, validated by 120 test cases covering dual-platform scenarios and edge cases.
More from Safety
- AI pause debate: regulate speed or require safety directly? — birchlse · 2026-11-30
- Google nukes 20-year-old account over 'Gemini misuse' — a lesson in concentration risk — l4rz · 2026-11-30
- Neel Nanda slams ARC-AGI champs' work on hard-to-monitor agent communication as harmful to safety — akbirthko · 2026-11-30
- Philosophy Is 'Antifragile': Could Diverse-Argument Reasoning Bypass MIRI-Style Alignment Problems? — jessi_cata · 2026-11-30
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30
- 187 African books tested: AI detectors show no systematic false positives on Black authors — TuhinChakr · 2026-11-30