Skip to content
Back to skills

Api Resource Consumption

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 17, 2026
securityapibackend

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-resource-consumption --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Resource Consumption?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Resource Consumption
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-api-resource-consumption/badge)](https://www.skillsdirectory.com/skills/anandjogawade-api-resource-consumption)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-resource-consumption
description: 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.
---

# 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-Forwarded-For`/`X-Real-IP`/`X-Client-IP`; change path case/trailing-slash/encoding; API-key rotation; HTTP/2 multiplexing / single-packet attack; null-byte/param pollution on the identifier; verb or version swap (`/v1` limited, `/v2` not). See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`.

## Modern / rare techniques
- **[RARE] Financial/cloud-bill DoS ($ DoS)** — flows that invoke paid third-party APIs (SMS, geocoding, LLM) amplify cost without downing the service.
- **[RARE] ReDoS** — catastrophic-backtracking regex in a search/validation field spikes CPU with one small request.
- **[RARE] Decompression/zip bombs & recursive JSON/XML** — parser DoS via nesting/expansion; probe with modest nesting first.
- **Single-packet attack** — HTTP/2 to land many requests simultaneously (also exposes race conditions).

## Escalation / chaining
No rate limit → amplifies `api-broken-auth` brute force, `api-abuse` business-flow automation, OTP/coupon cracking. Cost amplification → direct financial impact.

## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike). Use Burp Intruder/Turbo Intruder (single-packet) with bounded payload sets; ffuf with rate caps. See `zazy-orchestrator`.

## Verification (background, before reporting)
Confirm the limit is truly absent/bypassable with a second bounded run; show measured impact (no 429 over N reqs, response-time/cost growth) without causing an outage. Stop at proof. True positives only.

## Evidence
Request + evidence of missing/bypassed limit (sustained 200s, oversized page returned, cost signal) with the bound you used. Impact + remediation (per-identity+per-IP limits, pagination maxima, payload/size/timeout caps, spend alerts).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.