LLMJacking: Stolen Cloud Credentials Fuel Million-Dollar AI Abuse
Written by AI from the linked story. Not reviewed by an editor. How this works
Attackers are systematically stealing or scraping exposed cloud credentials and API keys to hijack corporate access to large language model services, then reselling that access on underground markets. Victim organizations are left with cloud bills exceeding $1 million before they even realize the breach occurred. The core failure lies in poor credential hygiene—keys left in public repositories, misconfigured environments, or inadequately monitored API usage. This matters because AI cloud services can rack up enormous costs in minutes, meaning the financial damage can be catastrophic before traditional alerting thresholds are triggered. Small 'probe' requests designed to evade detection highlight the need for behavioral anomaly monitoring, not just volume-based alerts.
Tactical Insight
Immediate actions
- Rotate and revoke all exposed or potentially compromised cloud API keys immediately, and audit public repositories (GitHub, etc.) for accidentally committed credentials.
- Enable cloud provider cost anomaly alerts and hard spending caps on all LLM/AI service accounts to automatically halt runaway usage.
Long-term improvements
- Adopt secrets management tools (e.g., HashiCorp Vault, AWS Secrets Manager) to eliminate hardcoded or static API keys in codebases and configurations.
- Enforce least-privilege IAM policies so that compromised credentials can only access the minimum required services and quotas.
- Implement dedicated service accounts per application with short-lived, automatically rotated credentials rather than long-lived API keys.
Detection measures
- Deploy behavioral anomaly detection on cloud API usage to flag unusual patterns such as low-volume probe requests followed by sudden spikes in LLM calls.
- Centralize cloud access logs (CloudTrail, GCP Audit Logs, Azure Monitor) and set alerts for access from new IP ranges, geographies, or at unusual hours.