Guide · LLMjacking

LLMjacking. How stolen AI API keys are abused, and how to catch it early.

A working key for a model service is money: someone else can run models on it and pay nothing. Attackers steal those keys from the same places as every other secret, check them in seconds and sell the access on. The owner learns from the bill.

What is LLMjacking?

LLMjacking is the use of stolen credentials for cloud or AI model services to run large language models at the victim’s expense. Sysdig’s Threat Research Team named the pattern in May 2024 after seeing stolen cloud credentials used to reach models hosted on a cloud AI platform. Access is often resold, so the people running prompts may never have touched the victim’s environment. OWASP lists the cost side of this, Denial of Wallet, under LLM10:2025 Unbounded Consumption.

It is a credential problem first. The attacker does not need a vulnerability in the model or the AI platform. A working key is enough, and keys are stolen from the same places as every other secret.

How big is the problem?

Big enough that one stolen key can cost more per day than many security budgets per month. Sysdig’s estimates are worst cases, based on quotas being used to the limit, but they show the order of magnitude.

$46,000+Per day: Sysdig's worst-case consumption estimate for the first case it described, May 2024.
$100,000+Per day: Sysdig's estimate by September 2024, when the most capable models were used.
10×Increase in LLMjacking requests Sysdig saw during July 2024.
55DeepSeek API keys found on one reverse proxy, February 2025.

Sources: Sysdig, 6 May 2024, 18 September 2024 and 7 February 2025.

How has LLMjacking developed?

It has grown from opportunistic key theft into an organized resale market that adopts new models within days.

  1. Sysdig names LLMjacking

    Cloud credentials taken from a system running a vulnerable version of Laravel (CVE-2021-3129) are checked against ten AI services, and the activity is linked to a reverse proxy used to share access.

  2. Tactics evolve

    Sysdig reports attackers enabling models themselves and, in later cases, deleting the model invocation logging configuration.

  3. New models, days later

    Within a few days of DeepSeek-V3's release on 26 December 2024, it was available in a reverse proxy; support for DeepSeek-R1 was added the day after its 20 January 2025 release.

  4. Microsoft names a resale network

    Microsoft describes Storm-2139, which used exposed customer credentials scraped from public sources to access generative AI services and resold access to other actors.

  5. API keys read from job environments

    Fireworks AI discloses that environment variables holding API keys and tokens were accessed, and links the incident to a group selling stolen model access. Read our brief.

How does an LLMjacking attack work?

An LLMjacking attack works in five steps: steal a key, check it, unlock models, share access, and let the owner pay.

  1. StealKeys are taken from vulnerable services, exposed configuration and public code repositories.
  2. CheckScripts test each key against many AI services to see what it can reach.
  3. UnlockWith enough permission, attackers enable models and check or switch off invocation logging.
  4. ResellAccess is shared through reverse proxies, so many users run prompts on one key.
  5. The owner paysConsumption shows up on the victim's bill, often before anyone looks at a log.

The checking step is the one to remember. In the first case Sysdig described, the attacker sent a deliberately invalid model request: the error that came back revealed whether the key had model access, without running a model or producing a big bill. The attacker also checked whether model invocation logging was configured. Those are cheap, quiet calls, and they come first.

Where are AI API keys stolen from?

AI API keys are stolen from wherever secrets are left readable: application configuration, job environments, code and cloud metadata.

Vulnerable web applicationsA framework bug gives an attacker the server, and with it the cloud credentials in its environment.
Public code and packagesKeys committed to repositories or bundled in published packages, scraped automatically.
Job and CI environmentsEnvironment variables of build, evaluation or training jobs. Fireworks' first incident is an example.
Developer laptops.env files, shell profiles, credential files and AI tool configuration. See securing AI coding agents.
Secret stores with broad read accessA role that can read every secret is a single point from which every key leaks.

What should you monitor to catch LLMjacking?

Monitor the calls that come before the bill: access checks, model enablement and logging changes, then usage from places you don’t recognise. For models on AWS, Amazon Bedrock records API calls in CloudTrail, and model invocation logging can send request and response details to CloudWatch Logs or S3.

  • Model access checks from unusual principals. Model calls that fail, from identities that never call models.
  • Model enablement. Changes to which foundation models an account can use. Sysdig notes attackers can enable models themselves, so disabling models is not a control on its own.
  • Logging changes. Reads or deletions of the model invocation logging configuration.
  • Usage shape. New regions, new source networks, or volume outside your applications’ pattern.
  • New keys you didn’t create. Fireworks asked affected customers to check for unrecognised API keys and users.
  • Spend alerts. Budget alerts are a last line, not a first one, but they should exist on every account with model access.

When a key is exposed, rotate it at the issuer. As the Fireworks bulletin puts it, deleting the stored copy does not invalidate the credential.

How do you catch LLMjacking earlier?

You catch it earlier by giving the attacker a key that no legitimate workload uses, so its first use, even the cheap access check, is a signal. Real-key monitoring has to separate abuse from your own traffic; a decoy key has no traffic of its own to separate.

Watching real keys

  1. A stolen key is checked, models are enabled, access is resold.
  2. Usage grows until it stands out from normal traffic or the budget alert fires.
  3. The team rotates every key that might have been exposed and reviews the bill.

A decoy key among them

  1. A key that nothing legitimate uses sits next to the real ones and is collected with them.
  2. The first access check made with it opens a finding.
  3. The team knows which location was read, before abuse of the real keys shows up on a bill.

FalseTrail plants AWS access keys you mint, in a credentials profile, a Kubernetes Secret or AWS Secrets Manager. The key is real but has no permissions. Any call made with it, even a denied one, opens a finding with the API, region and outcome, read from your own CloudTrail. A decoy secret in Secrets Manager that nothing legitimate reads opens a finding on any request that names it. Deploy .env files and per-run CI placements put decoys in the other places keys are taken from. FalseTrail does not classify attackers as human or AI; whoever or whatever uses the key is detected the same way.

A finding does not stop the abuse of keys that were stolen alongside the decoy. It tells you early that a location was read, so you can rotate what sat next to it. See detecting AI agents with decoy credentials, the glossary and what AI-driven attacks change.

A starting checklist

  1. List every key that can reach a model service: cloud credentials with model permissions and direct AI API keys.
  2. Remove model permissions from credentials that don’t need them.
  3. Turn on CloudTrail and model invocation logging where models run, and alert on changes to that logging.
  4. Alert on model enablement, failed model calls from unusual identities and new keys.
  5. Set budget alerts on every account with model access.
  6. Plant a decoy key next to real ones in .env files, CI and secret stores, and route its findings to your SOC.

Questions

What is LLMjacking?

LLMjacking is the use of stolen credentials for cloud or AI model services to run large language models at the victim's expense, often by reselling the access. Sysdig's Threat Research Team named the pattern in May 2024.

How much can LLMjacking cost?

Sysdig estimated a worst case of over $46,000 a day in model consumption for the first case it described in May 2024, and over $100,000 a day by September 2024 for the most capable models. Actual bills depend on the model, quotas and how long the abuse runs.

Is disabling unused models enough?

No. Sysdig observed attackers enabling models themselves with the permissions they had stolen, and says model disablement should not be treated as a security measure. Least privilege on the credential matters more.

Can FalseTrail detect LLMjacking?

FalseTrail can plant an AWS access key with no permissions next to real keys. Any call made with it, including a denied model call, opens a finding with the API, region and outcome. That tells you the place it was planted has been read and the key is being tried, whoever or whatever is trying it.

Sources

  1. Sysdig, LLMjacking: Stolen Cloud Credentials Used in New AI Attack (6 May 2024)
  2. Sysdig, The Growing Dangers of LLMjacking: Evolving Tactics and Evading Sanctions (18 September 2024)
  3. Sysdig, LLMjacking targets DeepSeek (7 February 2025)
  4. Microsoft, Disrupting a global cybercrime network abusing generative AI (27 February 2025)
  5. Fireworks AI, security bulletin on the October 2026 security incident
  6. OWASP, LLM10:2025 Unbounded Consumption
  7. AWS, Monitor Amazon Bedrock API calls using CloudTrail
  8. AWS, Monitor model invocation using CloudWatch Logs and Amazon S3

See the next attempt at access at its first use.

On-prem, your cloud or hybrid. Zero outbound connections; raw evidence stays in your environment.