Agent skill
performing-api-fuzzing
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/performing-api-fuzzing
SKILL.md
name: performing-api-fuzzing description: >- Fuzz REST/GraphQL APIs for IDOR, injection, broken auth, and mass assignment. domain: cybersecurity subdomain: red-team tags:
- api-fuzzing
- rest-api
- graphql
- ffuf
- idor version: "1.0" author: defconxt license: AGPL-3.0 metadata: mitre-attack: ["T1190"] tools: ["ffuf", "nuclei", "arjun", "kiterunner"]
Performing API Fuzzing
Overview
API fuzzing discovers vulnerabilities by testing endpoints with unexpected input. Targets BOLA/IDOR, mass assignment, injection flaws, and auth bypasses.
Prerequisites
- Tools: ["ffuf", "nuclei", "arjun", "kiterunner"]
- Authorized testing engagement with written scope
Key Concepts
See workflow sections for technique-specific concepts.
Workflow
Step 1: Endpoint Discovery
ffuf -u https://api.target.com/api/FUZZ -w api-endpoints.txt -mc 200,201,301,401,403
kr scan https://api.target.com -w routes-large.kite
Step 2: Parameter Discovery
arjun -u https://api.target.com/api/users -m GET
ffuf -u 'https://api.target.com/api/users?FUZZ=test' -w params.txt -mc all -fc 404
Step 3: IDOR Testing
ffuf -u https://api.target.com/api/users/FUZZ -w <(seq 1 1000) -H "Authorization: Bearer TOKEN" -mc 200
Step 4: Input Fuzzing
ffuf -u https://api.target.com/api/search -X POST -d '{"query":"FUZZ"}' -w sqli.txt -mc all -fc 400
Step 5: Auth Testing
nuclei -u https://api.target.com -t api/ -severity critical,high
Detection Opportunities
| Signal | Source | Description |
|---|---|---|
| High request rate | API gateway | Unusual volume |
| Sequential IDs | Logs | IDOR patterns |
title: API Endpoint Fuzzing
id: d5e6f7a8-9b0c-1d2e-3f4a-5b6c7d8e9f0a
status: experimental
logsource:
category: webserver
detection:
selection:
cs-uri-stem|startswith: '/api/'
sc-status: [404, 405]
timeframe: 1m
condition: selection | count() by c-ip > 50
level: medium
tags:
- attack.t1190
Verification
- Technique executed successfully within scope
- Results documented with evidence
- Detection artifacts identified
- Cleanup performed after testing
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?