6 min read
Your Agent Never Sees the Trust Dialog
A repo can run code the moment an agent opens it, because the trust dialog that stops it is built for people and headless runs skip it. Here's where your agents open repos and how to close the gap.
2 posts tagged with “claude-code”
A repo can run code the moment an agent opens it, because the trust dialog that stops it is built for people and headless runs skip it. Here's where your agents open repos and how to close the gap.
The upstream fix for CVE-2026-21852 protects interactive users. It does not protect headless mode. We tested this against our own production deployment and watched 18 API requests redirect to an attacker-controlled server in 30 seconds. Here is what we found and how to fix it.