← ClaudeAtlas

api-resource-consumptionlisted

Unrestricted Resource Consumption (OWASP API4) — missing rate limits, uncapped pagination, costly operations, and cost/$ amplification (SMS/email, third-party calls). Tier 2 (DoS-capable). Use to test rate-limit presence/bypass and resource exhaustion safely within RoE.
AnandJogawade/Zazy-Pentest-Plugin-for-Claude · ★ 26 · API & Backend · score 82
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# API4 — Unrestricted Resource Consumption Missing limits let a caller exhaust compute, storage, spend, or downstream quotas. Prove the gap with minimal, controlled load — never a real outage. ## Trigger phrases `api4, rate limit, resource exhaustion, pagination abuse, cost amplification, dos api, bulk request, quota, throttling bypass` ## Execution gate (Tier 2) Ask (a) "lab/authorized to exploit/stress within RoE?" → if yes, run bounded tests; if no, (b) "run detection-only (confirm limits exist, no sustained load)?" → send a small burst to detect throttling and stop. Record answers in `./.zazy/scope.md`. Never run uncapped load on production. ## Method 1. **Rate-limit presence** — send a controlled burst (e.g., 50 reqs) to login/OTP/search; look for `429`/`Retry-After`/lockout. Absence on auth = brute-force enabler (see `api-broken-auth`). 2. **Pagination/size caps** — `?limit=9999999`, `?per_page=999999`, `?page_size=100000`, unbounded `include=`/`expand=`/`fields=`; oversized but valid JSON bodies; deep nesting. 3. **Costly operations** — endpoints that trigger SMS/email/password-reset, file conversion, report/PDF generation, image resize, exports; each call costs the target money/CPU. 4. **Amplification** — GraphQL alias/batch (`graphql`), JSON-RPC batch (`api-json-rpc`), bulk endpoints packing many operations per request. 5. Measure cost signals: response time growth, memory/timeout errors, `202` queued jobs multiplying. ## Bypass / evasion (rate-limit) Rotate `X-