All articles

    AI Keys Leaked on Purpose: First Abuse in 12 Minutes

    We planted fake AI API keys in public. Within 12 minutes an automated tool was testing whether they could drive AI agents. Here is what that means for your supply chain.

    VendorBreach Team · · Updated · 5 min read

    Twelve minutes. That's how long a set of AI API keys sat on a public Hugging Face page before someone started using them.

    The VendorBreach Team knows because we put them there.

    At VendorBreach we run a network of decoy AI services on six continents. Fake model gateways, fake self-hosted model servers, fake MCP tool servers. They exist for one reason: to watch what attackers do with AI infrastructure when they think nobody's looking. Part of that is leaving bait where developers leak real secrets every day. So we did what a rushed developer does. We committed a config file with API keys in it and walked away.

    The keys were fake. Every one of them was a canary, tagged so that if it ever came back to us we'd know exactly where it was harvested and how long it took.

    It came back fast.

    What showed up

    Within twelve minutes of the file going public, a client calling itself "keyhunter" started hitting our fake gateway with those keys. It came from a network in Uzbekistan. It didn't try to write malware or steal data. It did something more useful to it.

    It checked whether the keys worked.

    Every five minutes, like clockwork, it sent the same small set of requests. A "hi" to three different model names. Then a request asking the model to call a tool. Over and over. Hundreds of uses per key by the end of the first evening.

    That second request is the tell. Anyone can check whether a key is alive. Checking whether the model behind it can call tools means you care about agent use. A key that can drive an agent is worth more than one that can only chat. This wasn't a curious kid. This was someone grading inventory.

    This is a supply chain problem

    Most people hear "leaked API key" and think it's a developer hygiene issue. Rotate the key, add a pre-commit hook, move on.

    Wrong frame.

    GitGuardian's State of Secrets Sprawl 2026 counted about 28.65 million new secrets pushed to public GitHub in 2025. AI-service secrets specifically jumped 81% to more than 1.27 million. And the part nobody likes to talk about: when they retested credentials confirmed valid back in 2022, more than 64% still worked in January 2026.

    Read that again. Most leaked secrets aren't rotated. They just sit there, live.

    Now think about where those keys come from. Your developers, sure. But also your vendors' developers. The agency that built your chatbot. The SaaS tool that wired your support desk into a model. The contractor with a hobby repo. Every one of them holds keys that bill to somebody, and a lot of those keys are tied to accounts that touch your data.

    When one of those keys leaks, the attacker isn't breaking into your vendor. They're logging in as them. No exploit. Just a valid key.

    Why attackers want AI keys

    There's real money in this. Sysdig's research on LLMjacking estimated victims can be hit with more than $46,000 a day in model charges, and over $100,000 a day on the most expensive models. They also describe a black market reselling stolen model access, including to people banned from the services and to buyers in sanctioned countries.

    So the economics are simple. Harvest keys from public places. Test them at scale. Sort the good ones by what they can do. Sell access or burn it on someone else's bill.

    What we watched is the middle of that pipeline. The testing step. Automated, patient, and fast enough that a key leaked at the start of a meeting is in somebody's inventory before the meeting ends.

    What the canaries showed us

    A few things stood out.

    Speed beats your process. Twelve minutes is faster than most companies triage a secret scanning alert. If your plan for a leaked key is "we'll catch it in the weekly review," you've already lost the race.

    The platform matters. We planted lures on GitHub, Hugging Face and Docker Hub. Hugging Face got hit first, by a wide margin. That's not where most security teams are looking. Model hubs are full of notebooks, demos and configs pushed by people who think of themselves as data scientists, not developers, and nobody's running secret scanning on their weekend experiments.

    They don't care what you are. The keys sat in a config for a made-up internal tool at a made-up company. Didn't matter. The harvester never looked at the company. It looked at the key.

    The honest caveat: this is one lure and one actor, on day one. It's an anecdote, not a dataset. But it lines up with everything the bigger studies say, and we'll have weeks of data across three platforms soon.

    What you should do about it

    None of this needs a new product category. It needs you to stop treating leaked keys as a developer problem and start treating them as a third-party risk.

    Ask your vendors the question. Not "do you have a secrets management policy." Everybody has a policy. Ask how fast they rotate a key after it leaks, and whether they've ever measured it. If the answer is a pause, you have your answer.

    Watch the places your vendors' people actually work. GitHub is table stakes. Model hubs, container registries and public notebooks are where the AI work is happening, and where the leaks are going.

    Plant your own canaries. A fake key that should never be used is the cheapest alarm you'll ever buy. Put them in your repos, your CI, the shared drives you give vendors. If one ever gets used, you know something leaked and roughly where. You find out in hours instead of on next month's cloud bill.

    Assume valid credentials are the attack. Your detection should treat a legitimate key used from a strange network at machine speed as an incident, not as normal traffic because the key checked out.

    Bottom line

    We leaked keys on purpose and someone was grading them for agent use within twelve minutes. Your vendors leak keys by accident every day. Same harvesters. Same speed. Different bill.

    The question isn't whether a key tied to your supply chain is sitting in public right now. It probably is. The question is whether you'd know before the attacker finishes testing it.