API resilience / fuzzing — malformed-input and edge-case probing of endpoints to surface error-handling flaws, info leaks in stack traces, type-confusion bugs, and DoS-safe robustness gaps. Tier 2 (can crash/exhaust). Use to stress an endpoint's input handling once the surface is mapped, within RoE and without causing outages.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Api Breaker?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-api-breaker)
---
name: api-breaker
description: API resilience / fuzzing — malformed-input and edge-case probing of endpoints to surface error-handling flaws, info leaks in stack traces, type-confusion bugs, and DoS-safe robustness gaps. Tier 2 (can crash/exhaust). Use to stress an endpoint's input handling once the surface is mapped, within RoE and without causing outages.
---
# API Breaker (Malformed-Input Resilience & Safe Fuzzing)
Throw structurally broken, oversized, and type-confused input at endpoints to expose weak error handling, info leaks, and robustness bugs — safely, without downing the service.
## Trigger phrases
`api fuzzing, malformed input, error handling, stack trace leak, type confusion, robustness, dos-safe probing, edge case`
## Execution gate (Tier 2)
Ask (a) "lab/authorized to fuzz aggressively within RoE (may crash the endpoint)?" → if yes, run bounded fuzzing; if no, (b) "run light, non-destructive probing only (malformed inputs, no sustained/oversized load)?" → send a small malformed set and stop. Record in `./.zazy/scope.md`. Never run uncapped fuzzing on production.
## Method
1. **Map inputs** (`${CLAUDE_PLUGIN_ROOT}/payloads/INJECTION-POINTS.md`) — every JSON key/value, type, header, param, path.
2. **Type confusion** — send the wrong JSON type for each field: string↔number↔bool↔array↔object↔null (`{"id":[1]}`, `{"id":{"x":1}}`, `{"id":null}`). Watch for 500s, casts, or logic flips.
3. **Malformed structure** — truncated/invalid JSON/XML, trailing data, duplicate keys, wrong `Content-Type` vs body (`api-content-type-confusion`), missing required fields, extra unexpected fields.
4. **Boundary/overflow values** — huge ints, `-1`, `0`, very long strings, unicode/emoji/null bytes (`%00`), negative/huge pagination (bounded — see `api-resource-consumption`), deeply nested JSON/XML (modest depth first).
5. **Error-handling inspection** — capture stack traces, framework/DB versions, internal paths, SQL fragments, schema hints in error bodies (feeds `api-recon`/`api-injection`).
6. **Automated, bounded fuzzing** — `restler`/`ffuf`/Burp Intruder with rate caps and a kill-switch; diff status/length/time per mutation.
## Modern / rare techniques
- **[RARE] Type-confusion logic flips** — e.g., `{"isAdmin":[]}` or `{"price":"0"}` taking a different code path (ties to `api-bopla`/`api-injection` NoSQL operators).
- **[RARE] Error-message schema leak** — verbose 500s disclose table/column/field names enabling targeted injection.
- **[RARE] Parser-depth robustness** — moderate nesting already errors → report unsafe recursion before causing real DoS.
## Escalation / chaining
Leaked versions/paths → targeted exploits; type confusion → `api-injection`/`api-bopla`; verbose errors → recon goldmine; robustness gaps → `api-resource-consumption` (DoS) under its gate.
## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike): RESTler, ffuf, Burp Intruder with bounded payload sets and throttling; monitor target health between batches. See `zazy-orchestrator`.
## Verification (background, before reporting)
Reproduce the error/leak/flip with a minimal single request (not just under load); confirm an info leak is genuinely sensitive. Stop at proof; never sustain input that degrades service. True positives only.
## Evidence
The malformed request + the revealing response (stack trace, leaked version/schema, unexpected logic/500), input point named. Impact + remediation (uniform safe error handling, strict schema/type validation, input size/nesting caps, no verbose errors in prod).