SecurityFan score 45 · Tier B
Which files bots request to find exposed API keys
DEV · By Jacek Garbuliński ·
The Brief
- Bots now request files that apps and AI tools use to store API keys on ordinary websites.
- An exposed AI API key lets anyone who finds it send requests billed to the key's owner.
- A website that serves one of these files hands its key to anyone who requests it.
Why it matters
If a site serves an app or AI tool configuration file containing a key, attackers can find it automatically and run paid requests on the owner's account.
Who’s affected
- Website operators whose sites serve app or AI tool configuration files
- Developers who store AI API keys in web-accessible project directories
What to do
- Check that configuration files holding API keys are not publicly reachable on your websites.
- Rotate any API key that may already have been served from a public URL.
- #api-keys
- #security
- #web-security
- #ai-tools
- #secrets-exposure
Bots now look for exposed API keys on ordinary websites by asking for the files in which apps and AI tools keep them. An AI key is worth finding, because whoever holds it can send requests that its owner pays for. A site that serves one of those files hands its key to anyone who…