Researchers say most tested open-source AI coding agents can be tricked by malicious repositories into generating and running dangerous shell commands. Adversa calls the issue "GuardFall," a structural guard-bypass pattern rather than a single CVE, and says 10 of 11 tested agents were vulnerable, including Hermes, OpenCode, and Roo-code. The attacks use long-known Bash parsing tricks such as quote removal and $IFS spacing to evade denylist-style protections, with highest risk in auto-execute or CI/CD pipeline use.
Why it matters: Developers and organizations using AI coding agents could have credentials stolen or systems damaged just by letting an agent inspect poisoned project files. Maintainers should harden command-execution guards, and users should disable auto-approve modes, sandbox agents tightly, and treat untrusted repositories and external data sources as potentially hostile.
Kevin Townsend
2026.06.30
100% relevant
This article establishes a distinct new story about Adversa's newly reported "GuardFall" technique affecting multiple open-source AI coding agents, not a previously tracked single-product agent flaw or repository-specific attack.
← Back to all stories