When an LLM key becomes a six-figure bill
LLMJacking turns stolen enterprise access to large language models into immediate costs for the victim. In incidents investigated by Mandiant in 2026, fraudulent usage exceeded $100,000 in a day in some cases. At some organizations, charges reached $1 million before access was cut off. That speed makes this a more urgent form of resource theft than cryptojacking, where costs typically build over time. The intrusions crossed cloud and AI providers, affecting organizations in North America, South America, and Asia Pacific across financial services, retail, technology, and transportation. The opening detail that matters is the pace: a compromised key can trigger a sharp burst of API activity and a large bill within hours.
*Figure 1: Usage chart showing LLMJacking generating a spike in API requests*
Google Threat Intelligence Group (GTIG) says the criminal market behind these attacks is becoming specialized. Building on its [previous reporting](https://cloud.google.com/blog/topics/threat-intelligence/from-prompting-to-autonomy-the-evolution-of-adversarial-ai) on underground sales of LLM credentials, GTIG identified financially motivated groups operating across multiple regions. Some actors break into organizations; others run “LLM Mixers,” illicit gateways that pool, route, and resell unauthorized model access. In one investigation, two distinct clusters coordinated those jobs. That division of labor suggests a maturing market, though the available cases don’t show how broadly it has spread.
This report traces the attack lifecycle and offers detection, hardening, and remediation guidance. For defenders, the central problem is straightforward: a model endpoint or cloud identity that looks like ordinary infrastructure can become a direct path to expensive, unauthorized inference.
How attackers get in
LLMJacking targets the model infrastructure behind an application. Attackers look for publicly exposed endpoints or valid API keys, bypassing customer-facing interfaces such as support chatbots that can also be manipulated to perform unauthorized tasks like code generation ([as previously reported](https://www.cio.com/article/4155404/ai-token-freeloaders-are-coming-for-your-customer-support-chatbot.html)). One example in Figure 1 shows an automated script checking an exposed service by calling `/api/create`, then attempting to run the attacker’s own models. Public access can turn an overlooked endpoint into both an attack surface and a hosting expense.
*Figure 2: Threat Actor tests publicly exposed Ollama endpoints and attempts to register their own models*
Across the investigations, however, the most common entry point was compromised cloud identity: IAM credentials, Service Account keys, GitHub Personal Access Tokens (PATs), or active session tokens. Attackers used these credentials to get inside organizational environments and reach LLM services.
In mid-2026, UNC6993 entered a cloud instance through a misconfigured Service Account key and used its access to grant further access to an LLM API. The group also ran a fake application portal to steal session tokens. It directed users to the real LLM service, then persuaded them to paste a raw JSON payload containing an active token. That token let the attackers bypass password and multifactor authentication (MFA) controls.
Other incidents show how varied the path in can be. One actor paired a stolen PAT, which opened private code repositories, with exploitation of a suspected web application vulnerability in a package running inside a containerized cloud environment. Another used compromised corporate IAM credentials and cloud federation tokens to generate fresh access keys that bypassed MFA. In a separate case, an attacker entered with a broadly privileged cloud Service Account key.
Directly stolen LLM API keys were also in play. One group collected exposed corporate keys from public GitHub repositories, then tested them with minimal requests using `max_tokens=1`. The small requests helped confirm which credentials worked while avoiding the volume spikes that might alert endpoint detection and response (EDR) or security information and event management (SIEM) systems. If you’re monitoring for abuse, a low request count alone won’t tell you a key is safe.
Turning access into control
Once inside, attackers searched for credentials and ways to retain access. They enumerated cloud services, repositories, and data stores; mapped services and identity policies across regions; and cloned sensitive codebases to find secrets, configuration values, and developer credentials. In one case, they also reviewed access logs for credentials to other cloud environments. Targeted queries against data warehouse metadata sought database credentials, administrator passwords, and sensitive columns, alongside object storage activity associated with data theft. Several intrusions used cloud permissions and virtual machine settings to expand control. An attacker used a compromised workload’s service account to create temporary credentials for a more privileged account, then took infrastructure credentials, internal database passwords, and third-party API keys from cloud secret managers. Other actors created unauthorized IAM or service accounts and inserted SSH keys into compute instances. One group attached administrative policies to service roles, created IAM accounts with full administrative rights, and opened management sessions to running virtual machines to install unauthorized SSH public keys. Another disguised backdoor service accounts as internal billing optimization utilities and placed SSH keys in compute instance metadata. These are durable footholds: removing the original stolen key may not remove the access established afterward. Attackers also targeted LLM routing software itself. In one case, a follow-on cluster used pre-validated Virtual Keys from the group that gained initial access, then exploited a user ID rebind flaw in LiteLLM’s `/key/regenerate` endpoint, CVE-2026-40217. The flaw let the actor turn standard Virtual Keys into `PROXY_ADMIN` master credentials, giving it deep, persistent control over the environment.Monetizing stolen model access
The goal is to make money from hijacked model capacity, whether by proxying tokens, streaming automated requests, or provisioning GPU hardware. Attackers enabled managed generative AI services and created extra API keys to scale usage. UNC6993, for example, tried to generate more keys and enable services in victim cloud projects; its activity quickly produced more than $100,000 in charges. Another actor enrolled victim accounts in Pay-As-You-Go plans, selected premium models, and launched high-volume inference streams. To get around rate limits, the actor repeatedly created and deleted short-lived service accounts, while checking the provider’s billing interface to track the damage. The numbers here are underwhelming as a measure of the attackers’ effort, but stark as a measure of how quickly one compromised account can expose a victim to cost. Some groups ran their own proxy services and agentic workloads. One actor used custom Node.js proxy bundles to offer access to multiple frontier models under the name `D1337-KAIROS`. It deployed a containerized backdoor using the [Manus](https://manus.im) agent framework. The agent queried an upstream model to interpret instructions and run commands locally, with [SearXNG](https://github.com/searxng/searxng) for metasearch and [agent-infra/sandbox](https://github.com/agent-infra/sandbox) for execution. To add compute, the actor provisioned GPU instances, sought high-end hardware in multiple regions, and requested quota increases through the cloud provider’s API. It also hosted [LiteLLM](https://github.com/BerriAI/litellm) gateways on external servers to route traffic. GTIG also saw stolen API quotas resold through LLM Mixers. Open-source gateways and custom relays let operators combine credentials, meter use, and hide where requests originated. UNC6993 used [new-api](https://github.com/QuantumNous/new-api), a centralized model hub and gateway, and [gcli2api](https://github.com/su-kaka/gcli2api), which turns command-line tools into standard model API endpoints. GTIG believes UNC6993 sells access through underground storefronts. One service, `jet-night.com`, made more than 500,000 API calls in under eight hours using stolen third-party keys, passing nearly $1 million in token costs to a victim. GTIG suspects Jet Night depends on stolen credentials because its prices sit well below typical market rates: an unlimited plan costs about $60 a month and claims to include frontier models, while comparable consumer service would usually cost $100 to $250. The service has also reported outages on its public Telegram channel. GTIG believes revoked victim keys may explain them.
*Figure 3: Screenshot of Jet Night Plans and Pricing Structure*
In another case, an actor built custom `ai-relay` infrastructure on deceptive lookalike domains. One domain was designed to resemble a victim’s legitimate internal host. The relays siphoned commercial LLM access into the `newapi[.]pro` resale network, using the victim’s account quota to serve underground customers.
What defenders should watch
GTIG expects LLMJacking to attract more criminals than traditional resource theft such as cryptojacking, because underground mixers can turn stolen model access into quick revenue. As companies put higher-tier models and agentic workflows into production, attackers are likely to improve their searches for exposed tokens and flaws in model-routing middleware. The resale market could let them drain quotas and leave enterprises with the bill before anyone spots the compromise. That forecast is plausible, but the incidents already offer a practical warning: monitor changes to cloud LLM accounts and services. Mandiant found that some affected environments did not have LLM services enabled when attackers first arrived. Stolen keys were then used to enable services such as Bedrock or the Gemini API. An unauthorized service activation should be treated as a critical security event; once an API is available, attackers can generate substantial charges in minutes or hours. Google Security Operations customers can find related detections in the Cloud Threats, Mandiant Frontline Threats, and Mandiant Hunting Rules rule packs. One listed rule is “AWS Account Key Creation.”Mitigation and Remediation
LLM jacking often starts with familiar cloud weaknesses: exposed credentials, excessive permissions, or vulnerable software in the supply chain. The alert names in the preceding list—from new AWS and GCP keys and accounts to firewall changes, SSH keys, startup scripts, and archive transfers over curl or wget—can help defenders spot that activity. But alerts work only when identity, code, and cloud configuration are watched together. Start with access. Store secrets in a centralized manager and rotate them automatically to shorten the window in which a leaked key can be used. Give users and service accounts only the permissions their jobs require, including explicit restrictions on cloud LLM services. Scan GitHub, GitLab, and other code repositories for committed credentials, and audit cloud configurations regularly for exposed endpoints and unexpected access paths. Then put limits around what a compromised credential can do—and cost. Apply API quotas per model, set spending caps, and scope keys to specific model endpoints, environments, and usage limits. That way, a token intended for a basic utility model can’t automatically call a more expensive frontier model. Rate limiting through a web application firewall such as Google Cloud Armor can constrain individual clients; VPC firewall rules can also restrict outbound traffic to known IP addresses where practical. A few quieter signals deserve attention. Attackers may test credentials with small requests such as `max_tokens=1` or zero-temperature pings before launching larger workloads. Watch model gateway and API logs for those low-volume patterns. Use security posture tools to find unapproved models, tools, and infrastructure across hybrid environments, and use graph-based risk analysis to connect cloud assets, application code, and data flows that might form a multi-step attack path. Supply chain controls matter just as much. Scan application code, containers, and machine learning dependencies—including PyTorch and Hugging Face libraries—for vulnerabilities. Patch model proxy and routing gateways such as LiteLLM promptly; the fragment cites privilege escalation and authentication bypass flaws including CVE-2026-40217. If an LLM application runs generated code or database queries, isolate that work in highly virtualized, process-isolated serverless sandboxes. Limit model downloads and pipeline dependencies to trusted internal registries or approved enterprise catalogs, and use automated offensive agents to probe exposed endpoints and simulate credential validation attempts.Monitor the cloud audit trail
Cloud logs can show the progression from discovery to model use to attempted concealment. The practical catch is that some of the most useful records are off by default or require separate configuration. For AWS, inspect CloudTrail events from `bedrock.amazonaws.com`. Track direct model calls through `Converse`, `InvokeModel`, and `InvokeModelWithResponseStream`. Spikes in `ThrottlingException`, `ValidationException`, or `ResourceNotFoundException` may point to automated spraying against cloud infrastructure. Discovery activity can appear in `ListFoundationModels`, `ListInferenceProfiles`, and `GetFoundationModelAvailability`; attempts to gain access to additional models may involve `PutUseCaseForModelAccess` or `CreateFoundationModelAgreement`. Logging changes warrant special scrutiny. Review calls to `GetModelInvocationLoggingConfiguration`, `PutModelInvocationLoggingConfiguration`, and `DeleteModelInvocationLoggingConfiguration. A non-IaC principal disabling invocation logging should trigger a high-severity response. User-Agent strings can add context: look for automation and SDKs such as `claude-cli`, `aws-sdk-rust`, and `aws-sdk-go-v2` making direct calls to cloud infrastructure. Azure requires a split view. Activity Logs cover the control plane, while Diagnostic Logs are needed for data-plane inference. Enable Diagnostic Logs and look for heavy POST traffic to Completions or Chat Completions endpoints. On the management side, watch for unexpected deployment creation through `Microsoft.CognitiveServices/accounts/deployments/write`, and for resource discovery through `Microsoft.CognitiveServices/accounts/read` and `Microsoft.CognitiveServices/accounts/deployments/read`. Attempts to inspect or change diagnostic settings—`Microsoft.Insights/diagnosticSettings/read`, `Microsoft.Insights/diagnosticSettings/write`, and `Microsoft.Insights/diagnosticSettings/delete`—may signal an effort to determine whether inference activity is recorded or to interfere with that record. For GCP, consult [Cloud Audit Logging](https://cloud.google.com/logging/docs/audit) for Gemini Enterprise Agent Platform calls to `aiplatform.googleapis.com`. Inference events live in Data Access logs, which are disabled by default because of their volume and ingestion cost; IAM audit policies must be configured to capture them. Alert when the service is enabled through `google.api.serviceusage.v1.ServiceUsage.EnableService`, as described in Google’s [service usage audit logging documentation](https://docs.cloud.google.com/service-usage/docs/audit-logging). Once enabled, Data Access logs can reveal inference through `google.cloud.aiplatform.v1.PredictionService.Predict`, `google.cloud.aiplatform.v1.PredictionService.GenerateContent`, and `google.cloud.aiplatform.v1.PredictionService.StreamGenerateContent`. For reconnaissance, monitor `google.cloud.aiplatform.v1.ModelService.ListModels`, `google.cloud.aiplatform.v1.EndpointService.ListEndpoints`, and `google.cloud.aiplatform.v1.PublisherModelService.ListPublisherModels`. Without those logs, the visibility gap is substantial: a team may see services being enabled while missing the model calls that follow.Watch for efforts to inspect or weaken logging
Cloud audit settings can reveal whether someone is checking how visible their activity is. Look for calls to google.iam.v1.IAMPolicy.GetIamPolicy, which can show whether Data Access logs are enabled for a project or resource. Requests to list or retrieve log sinks—google.logging.v2.ConfigServiceV2.ListSinks and google.logging.v2.ConfigServiceV2.GetSink—may indicate someone is examining where logs are exported.
Indicators of compromise
The authors shared indicators to help the security community hunt for the activity described in the post. The GTI Collection is available to registered users.
Network indicators
| Indicator | Description |
|---|---|
| jet-night.com | LLM Mixer |
| newapi.pro | LLM Mixer |
Table 1: Network Indicators