惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
GbyAI
GbyAI
P
Proofpoint News Feed
B
Blog
MyScale Blog
MyScale Blog
V
V2EX
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
量子位
Jina AI
Jina AI
博客园 - 叶小钗
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
罗磊的独立博客
L
LangChain Blog
I
InfoQ
云风的 BLOG
云风的 BLOG
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理
小众软件
小众软件
V
Visual Studio Blog
月光博客
月光博客
The Cloudflare Blog
雷峰网
雷峰网

A10 Networks

The Evolution of AI Red Teaming: Lessons Learned | A10 Networks How to Secure AI Applications From Modern Threats? | A10 Networks How to Secure AI Applications From Modern Threats? | A10 Networks A10 Thunder 3360S ADC: 150 Gbps for AI & Enterprise | A10 Networks AI Security Is an Architecture Problem | A10 Networks What Is an AI Gateway? The AI Control Plane | A10 Networks AI in Financial Services: Why Leadership Is the Risk OWASP Now Has Two AI Top 10s: What Changed? OWASP Now Has Two AI Top 10s: What Changed? TrojAI by A10 Networks AI Security Platform TrojAI Defend for MCP by A10 Networks TrojAI Detect by A10 Networks TrojAI Defend by A10 Networks Secure, High-Performance Networking Solutions | A10 Battling Bots, Fraud & AI Threats Summit | Retail IT & Cybersecurity What Is Healthcare Data Compliance? | A10 Networks Interop Best of Show Runner's Up - People's Choice | A10 Networks Interop Best of Show Runner's Up - Security for AI | A10 Networks What Is FIX Protocol Trading? | A10 Networks A10 Joins OpenAI's Trusted Access for Cyber Flexible Licensing for Multiple Clouds | A10 Networks A10 Acquires TrojAI to Advance Enterprise AI Security HFT Infrastructure: High Frequency Trading Explained | A10 Networks A10 Networks Acquires TrojAI Inc., Expanding AI Roadmap | A10 Networks What Is Low-latency Trading? | A10 Networks Multi-Vector DDoS: 11 Amplification Vectors | A10 Healthcare Cloud Compliance: HIPAA & GDPR Guide | A10 LLM Hallucination & Misinformation | OWASP LLM09:2025 Healthcare Network Protection for Hospitals & Clinics RAG Security: Vector & Embedding Weaknesses | OWASP LLM08
LLM Unbounded Consumption & DoS Attacks | OWASP LLM10
Richard Tuma · 2026-05-28 · via A10 Networks

Unbounded consumption occurs when an LLM application allows excessive or uncontrolled inference operations, leading to resource exhaustion, financial loss, service degradation, or model theft. Inference, the process of generating responses to prompts, is computationally expensive. When applications fail to restrict or manage inference usage, attackers can exploit this to cause denial of service (DoS), trigger denial of wallet (DoW), degrade service performance, extract or replicate models, or exploit side channels. Because LLMs often operate in cloud-based, pay-per-use environments, uncontrolled consumption can have immediate operational and financial consequences.

Key Takeaways

  • Unbounded consumption occurs when LLM applications allow uncontrolled inference, enabling attackers to cause denial of service, drain financial resources, degrade performance, or steal model intellectual property
  • Denial of Wallet (DoW) is a financially motivated attack unique to cloud-based AI services, where attackers generate excessive API operations specifically to exploit pay-per-use billing and impose unsustainable costs on the provider
  • Model extraction via API is a growing threat: attackers use crafted queries and prompt injection to collect sufficient outputs to replicate a functional shadow model, circumventing traditional IP protections without ever accessing model weights directly
  • Side-channel attacks can exploit input filtering mechanisms to harvest model weights and architectural information, compromising the model's security and enabling further downstream exploitation
  • Mitigation requires a combination of rate limiting, input size validation, resource allocation monitoring, logit/logprob obfuscation, output watermarking, and graceful degradation under heavy load

Why This Is Dangerous

LLMs require significant CPU/GPU compute, memory, network bandwidth and API usage quotas. If these resources are not tightly controlled, attackers can overwhelm infrastructure, drive unsustainable cloud costs, steal intellectual property and force service outages. Unbounded consumption is both a security and economic risk.

Common Vulnerability Patterns

Variable-length Input Flood: Attackers send numerous inputs of varying lengths to exploit processing inefficiencies, exhausting memory and compute.

Denial of Wallet (DoW): In pay-per-token or pay-per-inference environments, attackers generate high volumes of requests, creating unsustainable financial costs.

Continuous Input Overflow: Inputs repeatedly exceed the model’s context window, forcing expensive processing and causing degradation.

Resource-intensive Queries: Attackers craft prompts designed to trigger the most computationally expensive operations, such as complex reasoning chains, long generation sequences, or intricate structured outputs.

Model Extraction via API: Attackers systematically query the model API to collect outputs and reconstruct a partial or shadow model. This threatens intellectual property, competitive advantage, and model integrity.

Functional Model Replication: Attackers use the model to generate synthetic training data, then fine-tune another model to replicate its behavior, bypassing traditional extraction detection.

Side-channel Attacks: Attackers exploit input filtering mechanisms or architectural quirks to infer model weights, architecture details and internal behavior. This can facilitate deeper exploitation.

Example Attack Scenarios

Scenario 1 – Oversized Input

An attacker submits extremely large inputs, exhausting memory and CPU resources, potentially crashing the system.

Scenario 2 – High-volume Requests

A flood of API calls renders the service unavailable to legitimate users.

Scenario 3 – Expensive Query Exploitation

Specially crafted prompts trigger computationally heavy inference paths, causing performance collapse.

Scenario 4 – Denial of Wallet

An attacker exploits pay-per-use billing to create unsustainable costs.

Scenario 5 – Functional Model Replication

An attacker generates large amounts of synthetic data from the API and fine-tunes a competing model.

Scenario 6 – Filtering Bypass and Side-channel Attack

An attacker bypasses filtering to extract model details via side-channel methods.

Prevention and Mitigation Strategies

Input Validation: Enforce strict size limits, validate input length and structure, and reject excessive payloads.

Limit Exposure of Logits and Logprobs: Restrict or obfuscate detailed probability outputs and avoid exposing sensitive inference metadata.

Rate Limiting: Enforce request quotas, limit per-user or per-IP usage and apply API throttling.

Resource Allocation Management: Monitor CPU/GPU usage, dynamically cap per-session resource allocation and prevent single-user resource monopolization.

Timeouts and Throttling: Set processing time limits and throttle long-running requests.

Sandbox Techniques: Restrict model access to internal services, limit network reachability and control data access scope. This also mitigates insider risks and side-channel exposure.

Logging, Monitoring and Anomaly Detection: Track unusual request patterns, detect abnormal inference volumes and respond to suspicious consumption spikes.

Watermarking: Embed detectable signals in outputs to identify unauthorized replication or misuse.

Graceful Degradation: Under heavy load, maintain partial service rather than full failure.

Limit Queued Actions and Scale Robustly: Restrict queue depth, implement dynamic scaling and use load balancing.

Adversarial Robustness Training: Train models to recognize and mitigate extraction attempts.

Glitch Token Filtering: Maintain lists of known glitch tokens and scan outputs before adding them to context windows.

Implement Access Controls: Implement RBAC, enforce least privilege, and restrict access to training environments and repositories.

Centralized Model Inventory: Maintain governed registries for production models.

Use Automated MLOps Deployment: Use governed pipelines with approval workflows and tracking to prevent unauthorized deployments.

The Core Security Principle

LLMs are high-cost computational systems. If access is not controlled, attackers can exhaust resources, drain finances, extract intellectual property, or collapse availability. Unbounded inference equals unbounded risk.

The Key Takeaway

Unbounded consumption is a denial-of-service risk, financial exploitation risk and a model theft risk. Mitigated it will require strict usage limits, resource governance, monitoring and anomaly detection, controlled API exposure, and secure MLOps practices. Control the inputs, control the usage and control the cost.

< Back to Glossary of Terms