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.
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.
- 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.
- Tactics evolve
Sysdig reports attackers enabling models themselves and, in later cases, deleting the model invocation logging configuration.
- 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.
- 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.
- 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.
- StealKeys are taken from vulnerable services, exposed configuration and public code repositories.
- CheckScripts test each key against many AI services to see what it can reach.
- UnlockWith enough permission, attackers enable models and check or switch off invocation logging.
- ResellAccess is shared through reverse proxies, so many users run prompts on one key.
- 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.
.env files, shell profiles, credential files and AI tool configuration. See securing AI coding agents.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
- A stolen key is checked, models are enabled, access is resold.
- Usage grows until it stands out from normal traffic or the budget alert fires.
- The team rotates every key that might have been exposed and reviews the bill.
A decoy key among them
- A key that nothing legitimate uses sits next to the real ones and is collected with them.
- The first access check made with it opens a finding.
- 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
- List every key that can reach a model service: cloud credentials with model permissions and direct AI API keys.
- Remove model permissions from credentials that don’t need them.
- Turn on CloudTrail and model invocation logging where models run, and alert on changes to that logging.
- Alert on model enablement, failed model calls from unusual identities and new keys.
- Set budget alerts on every account with model access.
- Plant a decoy key next to real ones in
.envfiles, CI and secret stores, and route its findings to your SOC.