Redbot Labs / Attack Intelligence

AI Inference Resource Exhaustion

Record ID
RB-086
Severity
High
Category
Prompt Injection
Confidence Score
95
Published
Updated

Summary

AI Inference Resource Exhaustion occurs when an attacker abuses accessible AI functionality to consume disproportionate processing capacity, memory, request slots or service quotas. Insufficient workload limits allow abusive requests to delay or interrupt legitimate operations and may increase operating costs. The attack can originate through a public application or an ordinary user account without stolen provider credentials.

Executive Summary

AI applications must control how much work a user can cause the underlying system to perform. Requests that appear similar at the application interface can place different demands on model-serving infrastructure.

An attacker may exploit this imbalance through workloads that occupy shared capacity or consume available quotas. If admission controls and resource limits are ineffective, legitimate users may experience delayed responses, rejected requests or service interruption.

OWASP identifies excessive inference consumption as an availability and economic risk. Inference-engine documentation also recognizes the need to constrain request parameters that influence resource use.

This narrative focuses on service availability. Unlike AI Model / API Resource Hijacking, it does not require stolen credentials or unauthorized control of a billing account. Unlike Context Window Saturation, its objective is to exhaust operational capacity rather than displace instructions from an agent’s working context.

Validation should establish whether the application can contain an abusive workload while continuing to serve legitimate users.

Attack Overview

Primary objective

Degrade or interrupt an AI service by consuming resources needed to process legitimate requests.

Access conditions

The attacker can submit requests through an exposed application, inference API or permitted user account. Authentication alone does not establish that the resulting workload is appropriately bounded.

Control failure

The application accepts more work than its capacity, isolation or scheduling controls can safely support. Limits may exist at one layer while leaving downstream processing insufficiently constrained.

Operational consequence

Shared resources become unavailable or slow to respond. Depending on the deployment, the effect may extend beyond the initiating user to other customers, business processes or applications.

Evidence boundaries

High utilization is not proof of an attack. Legitimate demand, inefficient application behavior and infrastructure faults can produce similar symptoms. Attribution requires examination of request patterns, identities and operational evidence.

Attack Flow

  1. Accessible functionality: An attacker identifies an AI feature they can invoke.
  2. Workload submission: Requests cause substantial or sustained processing.
  3. Insufficient containment: Admission controls, workload budgets or concurrency limits fail to contain the activity.
  4. Shared-capacity pressure: Processing slots, memory or service quotas become constrained.
  5. User impact: Legitimate requests slow down, fail or cannot start.
  6. Operational response: Defenders restrict the workload, recover capacity and verify service restoration.

The exact resource bottleneck depends on the application and deployment architecture.

Affected Systems

  • Public-facing AI assistants.
  • Hosted inference APIs.
  • Self-hosted model-serving infrastructure.
  • Shared GPU and CPU worker pools.
  • AI gateways and request queues.
  • Document-processing and multimodal AI services.
  • Enterprise applications that depend on shared inference quotas.
  • Background workflows using the same capacity as interactive services.

Business Impact

Inference resource exhaustion can interrupt services that depend on timely AI responses, even when the underlying model and stored data remain intact.

Potential consequences include:

  • Delayed or unavailable customer-facing features.
  • Interrupted internal workflows.
  • Failed or postponed background processing.
  • Additional infrastructure or provider charges.
  • Increased support and incident-response workload.
  • Reduced availability for users sharing the affected capacity.

Business impact depends on workload isolation, available capacity and the importance of dependent processes. Service disruption does not, by itself, establish disclosure or alteration of sensitive information.

Testing Methodology

Establish service objectives

Define acceptable response times, error rates and recovery behavior before testing. Identify which user journeys and dependent applications must remain available.

Define testing boundaries

Agree on workload ceilings, cost limits, monitoring coverage and stop conditions. Use an isolated or nonproduction environment wherever possible. Do not conduct uncontrolled exhaustion testing against production services.

Map enforcement points

Identify where the application accepts, queues, processes and cancels work. Determine which component owns each limit and whether downstream services enforce compatible boundaries.

Validate identity-based isolation

Use separate authorized test identities to assess whether one workload can consume another identity’s allocation. Include a normal-use control session to measure effects on legitimate activity.

Exercise bounded workloads

Increase test demand within the agreed limits. Observe whether admission controls reject excess work predictably and whether already accepted requests remain manageable.

Check cancellation and recovery

Verify whether timed-out or cancelled requests release backend resources. Assess whether queued work drains safely after the test stops.

Document outcomes

Record the limiting control, observed bottleneck, impact on the control session and recovery time. A confirmed finding should demonstrate a control failure within scope, rather than simply show that hardware has finite capacity.

Detection Guidance

Correlate demand with service health

Compare request activity with queue depth, processing duration, resource utilization and user-visible errors.

Track workload concentration

Identify accounts or sessions responsible for a disproportionate share of accepted work. Investigate changes relative to their established use.

Observe rejected and abandoned work

Review limit violations, repeated timeouts and requests that continue consuming resources after a client disconnects.

Separate demand from intent

Distinguish suspected abuse from legitimate adoption, scheduled batch processing and application defects. Preserve enough identity and timing information to support that assessment.

Use proportionate telemetry

Operational measurements should generally be sufficient for initial detection. Avoid collecting full prompt content by default when metadata can answer the investigation question.

Mitigation Guidance

Control admission

Accept work only when it fits the service’s defined capacity and policy. Apply limits consistently across interactive, streaming and background interfaces.

Set workload budgets

Establish appropriate limits for individual requests, active workloads and aggregate use. Review the deployed engine’s supported controls instead of assuming default values match the application’s needs.

Separate competing workloads

Use appropriate scheduling or capacity separation for interactive users, batch jobs and sensitive business processes.

Contain failure

Define predictable rejection and fallback behavior. Ensure a capacity problem does not cause the application to bypass authorization or expose internal diagnostics.

Bound retries

Prevent application retries from multiplying demand during an outage. Coordinate retry behavior across clients, gateways and workers.

Verify cancellation

Ensure expired or abandoned work is cancelled where supported, and monitor for resources that remain occupied afterward.

Review recovery

Maintain procedures for restricting abusive activity, restoring capacity and confirming normal service. Reassess controls when models, workload types or infrastructure change.

MITRE Mapping

MITRE ATT&CK T1499: Endpoint Denial of Service Relevant when resource exhaustion degrades or blocks service availability. MITRE ATT&CK T1499.003: Application Exhaustion Flood Applicable when repeated requests consume application resources and prevent legitimate use. These mappings depend on observed behavior. Elevated operating cost alone does not establish denial of service.

OWASP Mapping

MITRE ATT&CK T1499: Endpoint Denial of Service Relevant when resource exhaustion degrades or blocks service availability. MITRE ATT&CK T1499.003: Application Exhaustion Flood Applicable when repeated requests consume application resources and prevent legitimate use. These mappings depend on observed behavior. Elevated operating cost alone does not establish denial of service.

Technical References

OWASP LLM10:2025: Unbounded Consumption
Risk guidance covering excessive inference consumption and associated availability and cost consequences.
https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/

MITRE ATT&CK T1499: Endpoint Denial of Service
https://attack.mitre.org/techniques/T1499/

MITRE ATT&CK T1499.003: Application Exhaustion Flood
https://attack.mitre.org/techniques/T1499/003/

vLLM: Security Documentation
Implementation guidance covering request-parameter resource limits and deployment protections. Specific settings depend on the deployed version.
https://docs.vllm.ai/en/latest/usage/security/

Related Attack Intelligence