unbounded-consumption
하는 일
이 스킬은 거대한 프롬프트, 끝없는 도구 루프, 예산 부재 때문에 AI 제품이 고갈될 수 있는 방식을 설명합니다. AI 서비스를 운영하며 안전한 한도를 설정하려는 팀을 위한 스킬입니다.
사용하는 경우
- ✓팀이 AI 엔드포인트가 사용자별로 프롬프트 크기와 토큰 사용량을 제한하는지 확인해 달라고 요청할 때.
- ✓에이전트가 단계나 비용 상한 없이 도구 호출을 반복할 수 있는 에이전트 루프를 검토할 때.
- ✓보고서에 제한 없는 AI 사용이 큰 청구서나 장애를 어떻게 일으킬 수 있는지 설명해야 하는 경우.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/unbounded-consumption/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리 AI 엔드포인트와 에이전트 루프가 사용자별로 프롬프트 크기, 단계 수, 비용에 제한을 두는지 확인해 주시겠어요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 코드에서 크기 제한, 단계 상한, 재시도 한도, 예산 검사를 찾고, 그것이 없는 경로를 나열합니다.
기술 내용 (원본 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
자주 묻는 질문
제한 없는 소비란 무엇인가요?
AI 서비스를 제한 없이 쓸 수 있어, 비용이 많이 들거나 모든 사용자에게 서비스가 느려질 수 있는 경우입니다.
무료 계정이 왜 중요한가요?
스킬은 상한 없이 비싼 모델에 닿는 무료 가입이 악용을 쉽게 만든다고 설명합니다.
스킬은 어떤 제한을 제안하나요?
프롬프트 크기 제한, 최대 에이전트 단계 수, 재시도 상한, 사용자별 예산을 언급합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.