
forgottenl5My site gets about two human visitors a day. In the last 30 days it also got 23,530 requests, and 63%...
My site gets about two human visitors a day. In the last 30 days it also got 23,530 requests, and 63% of them were hunting for secret files: .env, git configs, cloud keys, and now AI-tool credentials like .claude/.credentials.json and .cursor/mcp.json.
I built BotCost to show people what AI crawlers cost them in bandwidth. Then I looked at my own logs. The bots weren't costing me money. They were looking for keys, and half the ones calling themselves AI crawlers were lying.
botcost.dev is a small static site on Cloudflare Pages: a landing page, a browser-based log analyzer, and a signup form. It went live on May 11, 2026. I pulled everything Cloudflare kept on it through December 4.
I sorted every request by the path it asked for: the site's real pages, secret and vulnerability probes, AI-tool key probes, guessed pages like /about and /signin, and everything else.
Of 23,530 requests in the last 30 days, 14,740 asked for files that should never be public. Another 8% guessed at pages the site doesn't have, like /signin and /careers. The 22% that hit real pages were mostly bots fetching the homepage too: real browsers loaded a page about 130 times in the whole month.
What the 14,740 secret-hunting requests asked for (Nov 5 to Dec 4, 2026, estimated from a 10% sample)
| Target | Requests | Share |
|---|---|---|
| WordPress / PHP exploits | 5,430 | 36.8% |
| .env files | 4,240 | 28.8% |
| Other probes | 2,450 | 16.6% |
| Deploy & infra config | 790 | 5.4% |
| Cloud keys (AWS, GCP, Firebase) | 630 | 4.3% |
| Git repos | 370 | 2.5% |
| AI-tool keys & configs | 300 | 2.0% |
| Login & admin panels | 260 | 1.8% |
| Backups & dumps | 210 | 1.4% |
| SSH keys | 60 | 0.4% |
WordPress exploits and .env files made up two-thirds of it, on a site that has never run WordPress or PHP. The scanners don't check what you run first. They try everything on every domain they can find.
About 300 requests in 30 days went after 23 different paths that only make sense if you use AI coding tools. Scanners are guessing that developers deploy their AI configs along with their code.
| Path | What it would leak |
|---|---|
/.claude/.credentials.json (plus //, ./ and %2f variants) |
Claude Code login tokens |
/.cursor/mcp.json, /mcp.json, /.well-known/mcp.json
|
MCP server configs, often with API keys inline |
/.anthropic/config.json, /anthropic/.env
|
Anthropic API keys |
/.openai/config.json, /openai/credentials.json, /%2Fopenai%2F.env
|
OpenAI API keys |
/llm/.env, /src/llm/azure_openai.py, /azure-openai-webapp/.env
|
Keys in LLM app code |
/.continue/config.json, /copilot/.workspace
|
Other coding-assistant configs |
/api/model/invoke |
An open model endpoint to run on your bill |
The variants matter. .claude//.credentials.json and .claude%2f.credentials.json exist to slip past servers and firewall rules that only block the exact path. Someone is putting real work into this list.
It is a small share of the total, but these keys are worth far more than a WordPress login. Anyone holding a leaked model key can spend on your account until you notice.
570 requests in 30 days used the name of a known AI crawler. 280 of them, 49%, went straight to secret-file paths. A real crawler reading pages for search or training has no reason to ask for /.env.
| Claimed name | Requests | Went to secret paths |
|---|---|---|
| Amazonbot | 110 | 110 (all) |
| OAI-SearchBot | 110 | 30 |
| Perplexity-User | 70 | 70 (all) |
| YouBot | 40 | 40 (all) |
| ChatGPT-User | 40 | 20 |
| Claude-SearchBot | 10 | 10 (all) |
| CCBot, cohere-ai, PetalBot, Claude-User, ClaudeBot, PerplexityBot | 190 | 0 |
Every request calling itself Amazonbot, Perplexity-User or YouBot was a scanner wearing a borrowed name. The trick works because many sites allow known AI crawlers through while blocking unknown bots.
The rest of the secret hunters didn't bother with a bot name. 77% of them sent an ordinary Chrome or Safari user agent. Only 1.7% identified themselves as security scanners. If you filter bots by user agent, you let almost all of this through.
All 188,766 requests since launch moved 0.86 GB. On a small static site that is free or close to it. The bandwidth argument for blocking bots only starts to matter at real scale.
What did matter: until December 4 my site answered every unknown path with its homepage and a 200 OK. That is the default single-page-app fallback on Cloudflare Pages when there is no 404.html. Nothing leaked, because the homepage is all there was to send back. But 74% of the secret probes got a 200, and to a scanner a 200 on /.env says "worth a closer look." I added a real 404 page, and the probes now get 404s.
The probes also weren't all generic. About 60 asked for /wrangler.toml, the config file for Cloudflare Workers, on a site that runs a Cloudflare Worker.
/.env and /does-not-exist yourself. You want a 404 for both. A 200 for anything you never published is the mistake above..claude/, .cursor/, mcp.json, .env* and wrangler.toml to your deploy ignore list, not just .gitignore.I built BotCost to answer "what are AI bots costing me?" My own data says the better question for most sites is "who is hunting my keys, and who is pretending to be a crawler?" That is where the tool is heading next. The analyzer runs in your browser, and your log never leaves your machine. It's open source on GitHub.
The anonymized data behind this post is public under CC BY 4.0: all 1,092 probe paths, the top user agents, and daily totals since launch, on Hugging Face and Kaggle. I'm curious whether others see the same AI-credential probes. If you check your logs for .claude, .cursor or mcp.json, tell me what you find in the comments.
Originally published at botcost.dev.