Glossary

What is LLMjacking?

LLMjacking is the use of stolen cloud or AI-provider credentials to call large language models at the victim's expense, or to reach models the attacker could not otherwise use. Sysdig's Threat Research Team named the attack in May 2024.

Last reviewed: 2026-12-04

How attackers get the keys

LLMjacking starts with a credential that can call a model: a provider API key, or a cloud credential with permission to invoke hosted models. Attackers look for them in:

  • secrets left in git history (including deleted history), published packages, container images and mobile builds
  • configuration files such as .env or cloud credential files left in object storage
  • cloud instance metadata, reached through server-side request forgery (SSRF) to read instance-role credentials
  • agent kits, plug-ins and tools that hold or inject keys, when an update can change where the key is sent

Once they have a key, attackers use the model themselves or resell access, and the account owner pays.

Recent examples

  • Perplexity, November 2026. Perplexity reports that an autonomous agent targeted it to obtain Amazon Bedrock access to frontier models. It tried SSRF, storage guessing and API sweeps, peaking at about 48,000 requests in 13 minutes on 2 November, and every probe was blocked. At two other companies the agent did get credentials, but it still could not reach the target models. See LLMjacking defense: lessons from the Perplexity AI attack.
  • Docker Sandboxes CVE-2026-136998, November 2026. An approved third-party agent kit could be updated to send a developer's real AI-provider key to a server the attacker controls, with no new prompt. Fixed in v0.55.0 on 30 November 2026. See agent credential approvals must bind to version and host.
  • Sysdig, May 2024. The first named case: stolen cloud credentials checked against ten AI services, including Amazon Bedrock, with signs the attackers planned to sell the access through a reverse proxy.

Controls that limit LLMjacking

No control makes a key impossible to steal. These decide what a stolen key is worth:

Keys held centrally

Applications and agents get gateway keys. Provider credentials live in your secrets manager and are used only by the gateway, so there is no provider key in an app, repo or image to steal.

Per-key budgets and rate limits

Per-key and per-team monthly budgets with hard limits, plus token-per-minute and request-per-minute limits, cap what a stolen key can spend and how fast.

Budget alerts and the audit log

Soft limits alert before a budget runs out. The audit log records provider, model, tokens and cost for every request, so you can see which key and model were abused. Export it to your SIEM to watch for unusual use.

Least-privilege model access

Assign model aliases to teams so each key reaches only the models its team needs. In the cloud, grant model-invocation permissions only to the identities that need them.

More detail: the AI gateway security checklist, token budgets and chargeback and zero-trust model access.

FAQ

Frequently asked questions.

What is LLMjacking?

Using stolen cloud or model-provider credentials to call AI models at someone else's expense, or to reach models the attacker could not otherwise use.

How does an AI gateway reduce LLMjacking risk?

Applications get gateway keys instead of provider keys. Provider credentials stay in your secrets manager, and per-key budgets, rate limits and the audit log cap and expose abuse.

Who coined the term LLMjacking?

Sysdig's Threat Research Team, in May 2024, after finding stolen cloud credentials being checked against ten cloud-hosted AI services so that access could be resold.

Sources (checked 4 Dec 2026): Perplexity, 2 Dec 2026; Endor Labs, 30 Nov 2026; Sysdig, 6 May 2024.

Keep provider keys out of apps and agents.