LLMJacking: Stolen API Keys Rack Up $1M Cloud AI Bills
Written by AI from the linked story. Not reviewed by an editor. How this works
Attackers are stealing cloud credentials and API keys to hijack access to expensive AI foundation models, running workloads at victims' expense in a scheme dubbed 'LLMJacking.' The criminal ecosystem has matured into a division of labor, with separate groups handling initial access and reselling that access as a service, making detection and attribution harder. Because AI inference workloads can consume enormous compute in minutes, victims may face six-figure cloud bills before they even notice the breach. This incident highlights that API keys and cloud tokens are high-value credentials that demand the same — or stricter — protection as privileged user passwords.
Tactical Insight
Immediate actions
- Audit all cloud and AI service API keys immediately, rotating any that are long-lived, over-permissioned, or stored in plaintext in code repositories.
- Enable budget alerts and hard spending caps on every cloud account so anomalous AI inference charges trigger an automatic alarm or service suspension.
Detection measures
- Configure real-time monitoring for unusual spikes in API call volume, model invocation counts, and cloud spend, with alerts routed to the security team.
- Implement UEBA or cloud-native anomaly detection (e.g., AWS GuardDuty, Azure Defender for Cloud) to flag credential use from unexpected IPs, geolocations, or time windows.
Long-term improvements
- Enforce least-privilege scoping for all AI service credentials, using short-lived tokens or workload identity federation instead of static API keys wherever possible.
- Maintain a complete, up-to-date inventory of all API keys and service accounts with documented owners, expiry dates, and permitted use cases.
- Establish an incident response runbook specifically for cloud credential compromise that includes immediate key revocation, spend suspension, and cloud-provider escalation steps.