- Home
- Skills
- APIs & Backend
- API Contract and Fuzzer
Works with the AI Agents you already use
API Contract and Fuzzer
Generate API test matrices, detect breaking contract drift, and run scope-guarded autonomous fuzzing.
$12
API Contract and Fuzzer
Example session with this skill installed
Generate a test matrix from my openapi.json spec and check for breaking changes against the previous v1_openapi.json version.
- Read your context and instructions
- Compiled the api contract
I have analyzed your OpenAPI specifications. I generated a comprehensive test matrix and identified two breaking changes between the versions.
API Analysis & Contract Drift Report
Breaking Changes Detected
| Endpoint | Field | Change Type | Impact |
|---|---|---|---|
GET /users/{id} | email | Removed | High - Breaks client data fetching |
POST /orders | promo_code | Type Change (String -> Obj) | Medium - Breaks existing payload formats |
API Test Matrix (Sample)
| Method | Path | Scenario | Type | Expected Status |
|---|---|---|---|---|
| GET | /users/{id} | Valid UUID | Positive | 200 OK |
| GET | /users/{id} | Non-existent ID | Negative | 404 Not Found |
| GET | /users/{id} | SQL Injection String | Fuzz | 400/422 Bad Request |
| POST | /orders | Missing Required total | Boundary | 422 Unprocessable |
| POST | /orders | Negative quantity | Boundary | 400 Bad Request |
Autonomous Fuzzer Readiness
The fuzzer is configured for http://127.0.0.1:8080 with a 500ms SLA.
- Target: Staging/Localhost only.
- Payloads: XSS, SQLi, and Boundary integers loaded.
- Oracle: Monitoring for 5xx crashes and
Tracebackstrings in responses.
Next steps
- Run
python scripts/api_fuzzer.py --spec openapi.json --base-url http://localhost:8080 --dry-runto verify connection. - Execute the full matrix using your preferred E2E runner.
- Fix the
emailfield removal in the new spec to maintain backward compatibility.
Connects securely to your tools. The creator never sees your data.
About this skill
API development often fails at the edges, leading to breaking changes and unhandled crashes. This skill converts OpenAPI specs into exhaustive test matrices and runs autonomous fuzzing to find vulnerabilities before they hit production.
What it does
- Test matrix generation creates positive, boundary, and negative E2E scenarios from OpenAPI specs.
- Breaking drift detection compares two API versions to identify incompatible schema changes.
- Autonomous fuzzing executes scope-guarded requests to find 5xx errors and stacktrace leaks.
- Performance auditing flags endpoints that breach defined SLA latency thresholds.
- Security guarding ensures active fuzzing stays within authorized staging or localhost targets.
How it works
- Matrix Generation: Run
generate_api_matrix.pyagainst an OpenAPI JSON file to produce a Markdown or JSON test suite. - Drift Sentinel: Compare
old_openapi.jsonagainstnew_openapi.jsonto flag breaking contract changes. - Fuzzing Dry-Run: Execute
api_fuzzer.pywith the--dry-runflag to validate paths and payloads. - Active Fuzzing: Run the fuzzer against a live staging URL with SLA monitoring and crash detection enabled.
Frameworks & tools
Built for Python 3.10 environments using standard libraries. It integrates with OpenAPI 3.x specifications and local/staging web servers for active testing.
Why this beats prompting it yourself
Writing negative test cases manually is repetitive and error prone. This tool automates the edge-case logic and provides a deterministic fuzzer that catches framework stacktrace leaks that simple LLM prompts often miss.
Use cases
- Auditing a new API version for breaking changes before a deployment.
- Generating a full QA test plan from a raw Swagger definition.
- Stress testing staging endpoints for 5xx crashes and database leaks.
Known limitations
Requires Python 3.10 or higher. Fuzzing is strictly scope-guarded and should not be run against production environments.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Requires Python 3.10+. Fuzzing is restricted to authorized staging/localhost targets via scope guard. Valid OpenAPI/Swagger JSON is required as input.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Accounts
GitHub
- Software
Python
Permissions
Allowed Hosts