LLMJacking: Criminals Are Hijacking Cloud AI Access and Running Up Six-Figure Bills in Hours
Mandiant responded to multiple incidents in 2026 where attackers hijacked an organisation's access to Large Language Models (LLMs), a tactic called LLMJacking. Victims in North America, South America and Asia Pacific spanned financial services, retail, technology and transportation. Unlike cryptojacking, which drains resources slowly, LLMJacking can produce huge cloud bills within hours. Some victims saw more than $100,000 USD in fraudulent charges in a single day, and cumulative costs at some organisations reached $1 million USD before access was cut off.
Google Threat Intelligence Group (GTIG) says a criminal ecosystem is forming around this activity. Some actors specialise in breaking in, while others run "LLM Mixers", illicit gateways that proxy, aggregate and resell unauthorised LLM access to underground subscribers. In one investigation, two separate clusters worked together to compromise and monetise enterprise LLM infrastructure.
The attackers skip chatbot front ends and go straight to backend model resources. Some look for publicly exposed LLM endpoints, such as open Ollama services where they try to register their own models. Across the investigations, however, the most common way in was exposed or stolen cloud identity tokens: IAM credentials, Service Account keys, GitHub Personal Access Tokens and active session tokens. In one case, a misconfigured Service Account key led to LLM API access, and a fake application portal tricked users into pasting an active access token, bypassing passwords and multifactor authentication (MFA). Another actor used federation tokens to generate fresh access keys and sidestep MFA.
Attackers also harvest LLM API keys exposed in public GitHub repositories. One group tested stolen keys with minimal single-token requests, which let them confirm the keys worked without triggering the victim's EDR and SIEM volume alerts. After getting in, attackers escalate privileges, solidify access and look for more cloud credentials.
Why it matters
MFA and volume-based alerting are the controls that failed here: stolen session tokens and federation-generated keys sidestep MFA, and single-token test requests stay under anomaly thresholds. Any organisation using cloud-hosted AI services with long-lived keys or broad Service Accounts is exposed, and the first sign may be a bill rather than an alert. This forces teams to treat spend and API usage as security signals, and to extend credential hygiene to AI keys.
What to do
- Scan public and private GitHub repositories for exposed LLM API keys and cloud credentials, and rotate any found.
- Audit Service Account keys and IAM credentials for broad project permissions and remove those not needed.
- Check that LLM endpoints such as Ollama are not publicly accessible.
- Set billing and usage alerts that flag sudden spikes in LLM API requests.