Cloudflare WAF bypass via agent trust in telemetry data

This title was summarized by AI from the post below.

Claude Code got hacked by getting blocked by a firewall. Read that again. Cloudflare's WAF does its job, blocks a malicious request, logs the header word for word. Nothing wrong so far. Then an agent gets asked to review the blocked traffic. It reads that header as plain metadata, because that's literally what it is. No "ignore previous instructions." No fake system tags. Just a ticket number, a compliance citation, and two claims it can check itself (both true). Once it confirms those, it trusts everything else in the payload. Patches the DNS record. Adds a CNAME. Reports the issue resolved. 90% success rate against Claude Code, on Cloudflare's own recommended setup. WAF, EDR, IAM all did their job and none of it caught it, because nothing the agent did was outside its permissions. Tenet Security found the same pattern on Datadog and Sentry too. On Sentry it got worse, the coding agent never even saw the injected content, only a second AI's summary of it, and trusted that instead. The thing I can't stop thinking about, obvious injection attempts get refused all the time. It's the boring, structured, half true telemetry that gets through. If your agent has a read tool and a write tool in the same session pointed at any log or alert data, you already have this shape sitting in your stack. What's your bar for letting an agent act on "trusted" data with no human checking first?

  • diagram

To view or add a comment, sign in

Explore content categories