Research

Someone Is Asking Web Servers for Your .mcp.json Through Cloudflare Relays. Block the Path, Not the Relay, and Make Sure the File Isn't There to Find

Someone Is Asking Web Servers for Your .mcp.json Through Cloudflare Relays. Block the Path, Not the Relay, and Make Sure the File Isn't There to Find

If you run a website, request https://your-site/.mcp.json, /mcp.json, /.cursor/mcp.json, /.claude/settings.json and /claude_desktop_config.json from outside your network today. Anything other than a 404 or 403 means a deploy copied your project's dot-files into the web root. If any of them answered, rotate every key inside, then exclude those paths in your build. Then block requests for those paths at your WAF, and leave the addresses they come from alone if they are shared relays. This post shows why.

What our traps saw

Our edge runs decoy paths for AI agent configuration files: they answer with an inert fake instead of a 404, and record who asked. Between November 9 and November 23, 2026 they caught 13 requests for these files from addresses in 104.28.0.0/16, a Cloudflare range used as relay exit space (WARP and similar). That is our own sites only, and it is a small number. The pattern is what matters:

  • Four pairs, one shape. On November 9, November 15 and twice on November 23, a pair of requests asked for exactly /.cursor/mcp.json and /mcp.json, each pair from a different relay address, with one request in each pair claiming to be Googlebot. The real Googlebot doesn't come from consumer relay space, and it doesn't switch identity between two requests.
  • One wider walk. On November 21, one relay address used plain curl to walk /.mcp.json, /mcp.json, /claude_desktop_config.json and /.claude/settings.json in about a minute, inside a session of nearly four hours that also asked for NetScaler login pages, /backup.sql and /.aws/credentials.

These same relay addresses mostly ask for .env files. Agent configs are new on their list, and they sit there for the same reason: secrets. An MCP config often holds API keys, tokens and server URLs in plain text.

What these tools look like

The public recon tool ReconPipe, on GitHub, keeps exactly this kind of list. Its sensitive-paths list puts .env variants and .aws/credentials next to about 20 AI-client configs (.cursor/mcp.json, .mcp.json, mcp.json, .claude/settings.json, claude_desktop_config.json, .windsurf, .gemini, .continue, .codex and more), then parses any answer for an "mcpServers" block and pulls out anything that looks like a key or token. We read its code as text. We are not saying it produced the requests we saw: it sends one fixed browser user agent and never claims to be Googlebot, and an October sweep against us asked for JetBrains Junie and Amazon Q configs, which its list doesn't include. At least two tools are doing this. The idea is common property now.

Block the path, not the relay

The tempting response is to block the address. For relay exits that is the wrong move, for two reasons:

  1. The address is shared. A WARP exit carries thousands of unrelated people. Block it and you block your readers and customers who happen to share it.
  2. The address rotates. The same client came back from a different exit in each pair above. Blocking the address costs the prober a few seconds.

The thing that does not change is the request. Nobody has a legitimate reason to ask your public website for /.mcp.json or /.claude/settings.json. Write the WAF rule on the path: block or challenge requests for .mcp.json, mcp.json, claude_desktop_config.json and anything under /.claude/, /.cursor/, /.vscode/mcp.json, /.windsurf/, /.gemini/, /.continue/, /.codex/, /.junie/ and /.amazonq/, whoever sends them. On Cloudflare that is one custom rule on the URI path. It catches every tool on this list and never touches an innocent visitor.

We got this wrong ourselves, and fixed it today

Our own tooling made the address-blocking mistake. Our published feed already withheld shared relay addresses, so subscribers never received them. But our IP lookup told anyone who asked about one of these relay exits that it was "malicious, block, high confidence", and claimed we published it in our blocklist when we didn't. Our firewall had also blocked that exit on ordinary pages, including our pricing page, for a visitor with a normal browser user agent. Was that the prober, which also uses normal browser user agents, or someone who happened to share the exit? We can't tell, and that is the point. We also found that our behavioral auto-blocker had a path to add single addresses like this to our firewall list without checking whether they were shared.

As of today's deploy, our lookups (the enrichment API and the enrich-ioc tool on our Jeevesus MCP server) answer for a shared exit with: do not block the address, block the behavior, and here is everything we saw it do. The verdict for a shared exit tops out at suspicious, and the auto-blocker skips shared and protected addresses. The canaries still record every request; the behavior is the indicator.

Am I affected?

  • Are the files reachable? Request each path above from a phone off your network. 404 or 403 is what you want.
  • Did anyone fetch them? Search your web server or CDN logs for those paths with a 200 response. A 200 means someone may have your keys: rotate them at the issuer, not just in the file.
  • Is your repo going to leak them on the next deploy? Check your build output folder for dot-directories. Static site generators and "copy the whole repo" deploy steps are the usual cause.
  • Is someone planting them? That is the other half of this story. Read every .claude/settings.json and .mcp.json in your repositories and check who changed them; our free check-repo tool does it for you.

Read next: We Shipped the Check 17 Days Before Google Named the Attack

How we know

Request counts come from our edge decoy records for our own websites, November 9 to 23, 2026; the earlier relay activity goes back to September 18. The relay range was identified from Cloudflare's published proxy ranges (104.28.0.0/16 is not on them) and the ASN on each request. ReconPipe's behavior is from reading its source on GitHub; we did not run it. The fix to our lookups shipped today and was checked against the same address afterwards.


Every indicator in this post is in the feed. Free.

1.58M+ IOCs, STIX 2.1 / TAXII, 88% novel vs ThreatFox, exploited-CVE leads ahead of CISA. No credit card — a free API key in 30 seconds, and you can audit every claim above against the live endpoints.

Get your free key → analytics.dugganusa.com/stix/register