Threat libraryStolen AI keys and spend

Stolen AI keys and spend: find leaks, cap the bill.

Leaked provider keys and open model servers are found, used and resold by others. The bill, and whatever they built with it, land on you.

A runaway loop · stoppedIllustrative

A runaway loop · stopped: research-agent to provider A, "same prompt, call 4812 of this run". Checks: Agent-run budget failed, Daily cost ceiling flagged. Verdict: contained, Loop stopped early.

In short

LLMjacking is the theft of access to AI models: a leaked provider key, a stolen cloud credential or a model server left open, used by someone else and often resold. Denial of wallet is the bill that follows, or a runaway agent loop with the same effect. Secrets hygiene, spend caps and invocation logs answer it.

Last reviewed

A provider key committed to a repository is found and used to run models on your account.

Secrets are found in code and history, and gateway spend stops at a hard budget.

Public incidents

What has happened, graded by evidence.

The trade is now commercial: validated access is sold on, and open servers become other people's infrastructure.

Graded by evidenceEvidence gradesDocumented: A primary source, or several consistent ones. Claimed: One vendor, one outlet or the attacker; not confirmed elsewhere. Demonstrated: A researcher's proof of concept, with no named victim.Read the research

LLMjacking · public casesIllustrative

LLMjacking · public cases: Jan 2025 AI database left open; Jan 2026 Access resold (one vendor's telemetry); Jun 2026 Open model servers counted (one vendor's count).

  • Claimed World28 Jan 2026

    Stolen AI access, sold on

    What happened

    Attackers resold validated access to exposed AI endpoints. Pillar Security logged 35,000 attack sessions against exposed AI endpoints and saw access to 30+ providers resold. It is one vendor's telemetry.

    Pillar Security: Operation Bizarre Bazaar, 28 Jan 2026

    Source
  • Claimed World17 Jun 2026

    Open model servers, no login

    What happened

    Self-hosted model servers reachable from the internet without authentication. Sysdig counted about 175,000 publicly reachable Ollama instances, which ship without authentication, and caught one hijacked server used as the reasoning engine of an attack pipeline.

    Sysdig: LLMjacking evolved, 17 Jun 2026

    Source
  • Documented WorldJan 2025

    An AI provider's open database

    What happened

    An unauthenticated database exposed chat history and secret keys. Wiz found a DeepSeek database reachable from the internet with no authentication, holding chat logs, keys and back-end details. It was closed after Wiz reported it.

    Wiz Research: exposed DeepSeek database, Jan 2025

    Source

The answer

How ColossalX answers, step by step.

Close the leak, see the use you do not route, and make spend stop instead of report.

Core

  1. Find leaked keys

    How it works

    Secrets scanning finds AI provider keys in code, history and images. Keys in current code, old commits and container images are found, and an opt-in check can learn whether a found key still works, so the live ones are revoked and replaced first.

  2. See unrouted use

    How it works

    Cloud audit logs show model use that skips the gateway. CloudTrail, Azure and Google Cloud logs reveal Bedrock, Azure OpenAI and Vertex AI calls made outside the gateway, with the identity that made them, so a stolen credential stands out.

  3. Cap the spend

    How it works

    Budgets stop spend, a daily ceiling applies, and runaway loops end. A hard budget stops requests rather than reporting them. A model with no configured price still counts against a token cap and raises an alert, so a cap is never silently blind.

  4. A key per agent

    How it works

    Per-agent credentials make misuse attributable; provider keys stay sealed. Each agent calls with its own credential instead of a shared provider key, provider keys are sealed at rest, and a stolen agent key gives itself away when its traffic stops looking like its agent.

A request · over budgetIllustrative

A request · over budget: support-bot to provider A, "chat request, large model, long context". Checks: Monthly budget reached failed, Agent credential valid passed. Verdict: refused, Stopped at hard limit.

Said plainly

What lives outside ColossalX.

Spend caps hold for traffic through the gateway. The rest needs settings in your cloud and on your servers.

  • Lives with

    Your cloud provider

    What to do

    Provider-side quotas and alerts belong in your cloud account. Set provider-side spending limits and alerts on each AI account, including accounts nobody routes through the gateway. ColossalX caps gateway traffic; it cannot cap calls made around it.

  • Lives with

    Your model servers

    What to do

    Authentication on self-hosted servers is set where they run. Self-hosted servers such as Ollama ship without a login. Put them behind authentication and the gateway, and never expose their port to the internet.

Today

One step you can take today.

Search your repositories and their history for AI provider keys today, revoke and replace any you find, and set a provider-side spending limit on each AI account.

Who asks for these controlsCERT-In

Today · three checksIllustrative

Today · three checks: Repositories Keys in code and history; Found keys Revoked and replaced; Each AI account A provider spend limit. Your first spend guard.

Honest by design

What we will not tell you.

Spend · stated plainlyIllustrative

Spend · stated plainly: Hard budget Gateway traffic only; Unpriced models Token cap and alert; Around the gateway Found, not capped. Limits over promises.

x, not measured

Spend caps apply to traffic through the gateway; use made around it is found, not capped.

All 3 limits
  • A model with no configured price is held to a token cap, not a money budget.
  • Operation Bizarre Bazaar and the open-server count each come from one vendor.

Questions

Questions buyers ask

What is LLMjacking?

LLMjacking is unauthorised use of someone else's access to AI models, usually through a leaked provider key, a stolen cloud credential or an exposed model server. Attackers use the access themselves or resell it: Pillar Security logged 35,000 attack sessions in one campaign and saw access to 30+ providers resold.

What is denial of wallet?

Denial of wallet is an attack, or an accident, that runs up AI spend until the budget or the service gives out: stolen keys used at scale, or an agent stuck in a loop calling a model again and again. Hard budgets and loop stops turn it from a bill into an alert.

How do we find AI use that skips the gateway?

Read the cloud audit logs you already keep. ColossalX reads AWS CloudTrail, Azure and Google Cloud logs to reveal Bedrock, Azure OpenAI and Vertex AI calls made outside the gateway, with the identity that made each one. A credential calling models it never called before is the signal to act on.

Can ColossalX cap spend on models without a price?

Yes, by tokens. A model with no configured price still counts against a token cap and raises an alert, so the cap is never silently blind, while a money budget needs a price. Once you set a price for that model, its spend counts against the money budget as well.

Next step

Know your x before someone else spends it.

See where AI keys sit in your code, what runs around your gateway and what each agent spent.

  1. 01Tell us which AI you run
  2. 02See this attack tried, safely
  3. 03Decide what to fix first