Top Method: High-Volume Input Flooding & Cost Exploitation

Attackers frequently overwhelm LLMs by submitting a large volume of requests or crafting inputs that are near the context window's maximum length, leading to excessive computational resource consumption and potential 'Denial of Wallet' due to increased inference costs.

The top 3

  1. Top Financial Impact: Denial of Wallet Attacks: Attackers exploit pay-per-use LLM APIs to generate massive, unexpected bills, with reported incidents causing tens of thousands of dollars in hours or over $82,000 in a single day.
  2. Top 3 Methods for Cost-Maximizing Prompts: Attackers craft prompts for excessively long outputs (e.g., "write a story that is 100,000 words long"), complex reasoning tasks, or continuous input overflows to force computationally expensive operations and maximize token consumption.
  3. Top 3 Technical Defenses for Prompt Flooding: Effective technical defenses against LLM prompt flooding and resource exhaustion include implementing strict input validation (type, format, length, content), applying robust rate limiting per user/IP, and deploying granular resource allocation management with real-time cost monitoring and automatic shutoffs.

Sources

Open the full topic