International
The Morning Dev

Only the news worth knowing

‹
 

SecurityFan score 45 · Tier B

Which files bots request to find exposed API keys

DEV · By Jacek Garbuliński ·

Which files bots request to find exposed API keys

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

  1. Check that configuration files holding API keys are not publicly reachable on your websites.
  2. Rotate any API key that may already have been served from a public URL.

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…

How do you feel about this?

0 Comments

    Which files bots request to find exposed API keys – The Morning Dev