Skip to content

Stolen cloud credentials used to run and resell AI models

Sysdig researchers saw attackers take cloud credentials from a vulnerable Laravel system and use them to reach hosted AI models, including Anthropic’s Claude.2

Over $46,000 a day in model costs, Sysdig’s estimate if undiscovered.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
LLMjackingMay 2024Limited

43 of 50

Stopped Limited: the payment went out through the bank’s own system This case: LLMjacking. A cap limits it.

What happened

Attackers ran AI models on a victim’s cloud account.

  1. The way in. Attackers exploited a system running a vulnerable version of Laravel and took cloud credentials from it.

  2. The models. They used the credentials to reach hosted AI models, including Anthropic’s Claude.

  3. The plan. They planned to sell access to other criminals through a reverse proxy while the account owner paid.2

How the gate handles it

With the sealed gate, the model calls would have stopped at a daily spend cap.

The cloud key would have lived only in the gate, not on the server, and a daily model spend cap would have stopped the calls. Press Play to watch the same call.5

Model calls far over the daily budget with the cloud keySample6
  1. requestPOST /model/anthropic.claude-v2/invokerepeat: until_spendLimited429spend_usd: 200

LimitedThe cloud key lives only in the gate; a daily model spend cap stops the calls.

How easy

A cloud team could cut off model calls past a daily budget in three steps.

Sample
Seal a keyaws
AWS access key
Paste your AWS access key
The server never holds the AWS key.
AWS rulesaws
Model calls
Daily model spend cap$200 a day · calls past it are limited
Applies to every key in Web app.
Where approvals goAsk first
Slack
Microsoft Teams
Telegram
Email
A person approves or denies each call that asks first.

Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7

In code

Or in five lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Seal the keysealedbox keys sealThe server gets sbk_live_3Ke7…w9.
2Set the rulessealedbox rules addModel calls past $200 a day are cut off.
3Connect approvalssealedbox approvals connectAsk-first calls go to Cloud approvals.
Try it

Put the gate in front of your agent today.

Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.

Start free$ sealedbox try5-minute practice run9
Scope

What the gate doesn’t change, and three failures like this one.

Related cases
Answers11

Questions about this case and the gate.

Still have a question?Book a callAll questions
Where does the cloud key live?

Sealed in the gate, never on the server. It opens inside the chip for one call at a time, after the rules pass.

Could attackers resell access with a copied key?

A copied SealedBox key works only through the gate, under the same cap, until you stop it.

Does this need changes to our Laravel app?

Two settings: the SealedBox key where the AWS library expects its key, and the gate’s address as the base address.

Which plans include spend caps?

Every plan, Free included, along with rules, limits and the stop button.

What if the gate itself goes down?

The call fails, with no real key to go around the gate. A second sealed machine serves every customer if one fails.