Technology News & Analysis

LLMjacking: 7 Ways to Stop Cloud AI Theft Before It Hits Your Bill

LLMjacking turns stolen cloud credentials into an attacker-funded AI service. Learn seven controls to reduce model abuse, cost spikes and data exposure.

By Reetesh Rumajogee3 min read

LLMjacking is a cloud security and cost problem

LLMjacking is the abuse of compromised cloud accounts, API keys or model endpoints to run attacker-controlled workloads. Google Threat Intelligence has documented campaigns that monetized access to cloud-hosted models while victims paid the bill. The impact can include unexpected spend, throttling, data exposure and a damaged security posture.

Model calls can look like legitimate application traffic, so prevention requires identity, quota, endpoint and prompt telemetry working together.

LLMjacking cloud AI theft using compromised model access

Seven controls that reduce the risk

1. Eliminate long-lived keys

Prefer short-lived workload credentials, workload identity and secret rotation. Search repositories and CI logs for exposed keys.

2. Scope model permissions

Separate inference, fine-tuning, storage and administration. Inference-only applications should not create credentials or change quotas.

3. Apply workload quotas

Set spend and request ceilings per application, environment and model. Alert on changes in tokens, latency, geography or model mix.

4. Centralize endpoint telemetry

Capture identity, workload, model, tokens, response status and policy outcome without collecting sensitive prompts unnecessarily.

5. Watch for monetisation patterns

Repeated calls, public endpoint exposure and unexpected regions can indicate that your account is being used as someone else’s backend.

Cloud AI usage monitoring for LLMjacking detection

6. Make emergency revocation fast

Prepare a runbook to disable a key, quarantine a workload, reduce a quota and preserve logs within minutes.

7. Link security and FinOps

Security sees suspicious access while finance sees spend anomalies. Share alerts so an unusual bill becomes an investigation signal.

After a cost spike

Preserve audit logs, identify the credential and first abnormal request, revoke access, inspect persistence, confirm exposure and follow provider procedures.

Incident response team investigating cloud AI abuse

Why LLMjacking can evade simple alerts

LLMjacking is difficult to identify when teams monitor only total spend. A compromised key may generate requests that resemble a legitimate application, and an attacker can distribute activity across regions, models or projects. The important clues are often changes in context: a workload calls a model it has never used, a credential appears from an unexpected location, token volume rises without a matching release or a previously quiet project begins generating large inference bills.

Build a normal-use profile for each application. Record expected models, regions, identities, request volumes, deployment windows and budget owners. The profile does not need to be perfect. It needs to make unusual combinations visible and give the responsible team a clear first action.

Protect the full credential lifecycle

Secret scanning should cover source repositories, build logs, tickets, container layers and local configuration files. When a secret is found, revoke it first, then investigate how it was exposed. Replacing the value without checking access logs can leave an attacker with another active credential or a persistence mechanism.

Separate development, staging and production projects, and keep inference permissions distinct from administration. A service that only needs to call a model should not be able to create keys, change quotas, attach new billing accounts or read unrelated storage. These boundaries reduce the value of one compromised identity.

Make response measurable

A useful response runbook should state who can disable a key, quarantine a workload, lower a quota, contact the cloud provider and preserve evidence. Test those steps during a low-risk exercise. Measure how long it takes to stop new requests, confirm that the bill has stabilised and restore the application with a clean identity.

Review spend and security together

Security alerts and finance alerts should share project, workload and identity identifiers. Finance can flag an unexpected cost pattern while security explains whether it matches a deployment. Together they can distinguish genuine product growth from abuse faster than either team working alone. Our AI vendor-risk checklist provides related questions for supplier and model oversight.

Final takeaway: LLMjacking is a reminder that AI capacity is an attractive cloud resource. Strong identity boundaries, quotas, telemetry and rapid response protect both models and budget.

Source: Google Threat Intelligence on LLMjacking. See our AI vendor-risk checklist.

Scroll to Top