api-security
Skill4 starsChanged 4 months agoMITView on GitHub
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.
24 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- z91772524-ai/pojia-next-macedited, first seen Sep 28, 2026
- jim60105/copilot-prompttheir own version, first seen Sep 28, 2026
- zhaoxuya520/reverse-skilledited, first seen Sep 22, 2026
- awarexone/AXguardtheir own version, first seen Sep 15, 2026
- 1398281322-a11y/java-backend-guardrailstheir own version, first seen Aug 31, 2026
- conjure-3301/skillstheir own version, first seen Aug 17, 2026
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- zhaoxuya520/reverse-skill★ 40k15% same
- z91772524-ai/pojia-next-mac★ 912% same
- Asaiuta/reverse-workbench-skill★ 415% same
Wrote their own version · 21
- transilienceai/communitytools★ 555same name
- hardw00t/ai-security-arsenal★ 104same name
- UnitOneAI/SecuritySkills★ 78same name
- jefflester/claude-skills-supercharged★ 42same name
- ShieldNet-360/secure-vibe★ 22same name
- ShulkwiSEC/bb-huge★ 22same name
- jim60105/copilot-prompt★ 21same name
- GoldenWing-360/claude-security-skills★ 19same name
- awarexone/AXguard★ 18same name
- YepAPI/skills★ 8same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- apk-reverseSkill
- attack-chainSkill
- binary-diffSkill
- browser-automationSkill
- browser-extension-reverseSkill
- cloud-k8sSkill
- code-auditSkill
- database-securitySkill
- diagram-generatorSkill
- digital-forensicsSkill
- docs-generatorSkill
- dotnet-reverseSkill
- edr-bypass-reSkill
- email-securitySkill
- exploit-validationSkill
- firmware-pentestSkill
- ghidra-reverseSkill
- go-rust-reverseSkill
- hardware-securitySkill
- ida-reverseSkill
- identity-federationSkill
- js-reverseSkill
- llm-securitySkill
- macos-reverseSkill
- malware-analysisSkill
- mobile-reverseSkill
- osint-reconSkill
- ot-icsSkill
- patch-diff-exploitSkill
- pentest-toolsSkill
- src-hunterSkill
- protocol-reverseSkill
- pwn-chainSkill
- radare2Skill
- radio-sdrSkill
- reportingSkill
- dsl-vm-reverseSkill
- reverse-engineeringSkill
- ReverseOps-routerSkill
- supply-chain-securitySkill
- thick-clientSkill
- threat-huntingSkill
- wifi-wirelessSkill
- windows-adSkill
The file
Files
API Security Testing
ACTION REQUIRED (Execute immediately after reading)
NOW: Read../field-journal/precedent-pentest.md— Confirm that the operation of this skill is an authorized routine operationNOW: Confirm if the current task hits the applicable scope of this skillNEXT: Read../tool-index.md, verify tool availability and actual pathsNEXT: Call bootstrap when tools are missing, do not guess pathsACT: Enter the first step of "Workflow" and execute, do not stop at the confirmation state
Covers REST / GraphQL / WebSocket / SOAP full protocols 10-phase methodology, from discovery to CI/CD integration
Applicable Scenarios
- REST API security testing (OpenAPI/Swagger driven or blind testing)
- GraphQL security auditing (Introspection, Batch Queries, Alias Overloading)
- WebSocket security testing
- JWT / OAuth 2.0 authentication testing
- BOLA/IDOR/BFLA authorization vulnerability detection
- API rate limit bypass and DoS testing
10-Phase Testing Workflow
Phase 1: API Discovery and Reconnaissance
Active Discovery:
□ Vespasian: Headless browser crawling → Automatically generate OpenAPI 3.0 / GraphQL SDL specifications
□ Entropy --discover: Extract endpoints from robots.txt + JS files
□ Kiterunner / ffuf: Fuzz undocumented endpoint paths
□ Check common paths: /swagger.json, /openapi.json, /graphql, /api-docs
GraphQL Introspection (Three-level attempt):
1. Standard introspection query
2. Minified query (Bypass WAF full block)
3. Query only __schema { types { name } } (Minimal probing)Phase 2: Authentication Testing
JWT Analysis (jwt_tool / Burp):
□ alg:none attack: Modify header to "alg":"none", clear signature
□ Key confusion: RS256 public key → HS256 symmetric key
□ Weak HMAC key brute force: jwt_tool -C -d wordlist.txt
□ Expiration/Claim tampering: Modify exp/iat/sub/role claims
□ kid injection: ../../etc/passwd → HMAC signature bypass
OAuth 2.0:
□ redirect_uri manipulation → Authorization code leakage
□ CSRF via missing state parameter
□ Token leakage in Referer header
□ Missing PKCE detection
GraphQL Authentication:
□ mutation bypassing authentication via GET request (CSRF)
□ Batch query authentication bypassPhase 3: Authorization Testing (BOLA/IDOR/BFLA)
BOLA (Broken Object Level Authorization):
□ Iterate numeric IDs: /user/1 → /user/2 → /user/3
□ Iterate UUIDs
□ Iterate usernames/emails
□ Burp Autorize: Dual session replay comparison
BFLA (Broken Function Level Authorization):
□ Regular user executing admin APIs
□ HTTP method switching: GET → PUT → PATCH → DELETE
□ API version downgrading: /v2/admin → /v1/admin
□ Mass assignment injection: {"users": [1,2,3]} → {"users": [1,2,3,admin_id]}
Tools: Burp Autorize, AuthMatrix, Entropy (malicious_insider persona)Phase 4: GraphQL Specific
Introspection leakage → Information exposure detection
Alias overloading → 100+ aliases DoS
Batch querying → 10+ concurrent queries DoS
Field duplication → __typename × 500
Directive overloading → Recursive @skip/@include
Circular querying → Deeply nested introspection recursion
Field suggestions → Error message information leakage
GraphiQL/Playground exposure → IDE public risk
GET mutations → CSRF risk
Tracing/Debug mode → Metadata leakage
Tools: FireTail, Escape DAST, api.sh (Phases 1-3)Phase 5: REST Input Validation
□ HTTP method switching: GET→POST→PUT→DELETE→OPTIONS→PATCH
□ Content-Type tampering: JSON→XML→multipart
□ NoSQL injection: {"username": {"$gt": ""}}
□ SSRF via URL parameters: webhook URL/avatar URL/import URL
□ XXE in XML endpoints
□ Parameter pollution: /api?role=user&role=admin
□ Mass assignment: Add is_admin: true to request bodyPhase 6: Business Logic and Differential Testing
□ Entropy compare: diff v1 vs v2 API → Status code changes/field deletions/latency regressions
□ Multi-role workflow testing: admin/user/readonly permissions matrix
□ Coupon/points/price manipulation
□ Race conditions: Concurrent requests testing TOCTOUPhase 7: WebSocket Testing
□ Endpoint discovery
□ Message injection (Inject payload, prototype pollution)
□ Oversized message handling
□ Type confusion
□ Cross-Site WebSocket Hijacking (CSWH)Phase 8: Rate Limiting and DoS
□ Rate limit bypass via headers: X-Forwarded-For, X-Real-IP
□ Path variations: /api/ → /api → /Api/ → /API/
□ Slowloris low bandwidth exhaustion
□ GraphQL batch query deep nesting DoS
□ IP rotation testing (ProxyCat proxy pool)Phase 9: Data Exposure
□ Excessive data exposure: Compare API response vs UI display
□ Pagination enumeration: ?page=1&limit=10000
□ Error message information leakage: Stack traces/internal paths/SQL errors
□ GraphQL nested traversal accessing unauthorized data
□ OpenAPI specification exposing sensitive endpointsPhase 10: CI/CD Integration
□ Entropy --ci --watch: Automatically rerun when spec changes
□ Escape DAST: Automatically block builds based on severity thresholds
□ Persist findings for regression testing
□ StackHawk (Developer-first, ZAP core)Toolchain
| Tool | Purpose | Acquisition |
| Vespasian | Traffic → OpenAPI/GraphQL spec | GitHub: praetorian-inc/vespasian |
| Entropy | LLM generated attack scenarios, 5 personas | GitHub: arjinexe/entropy-chaos |
| Escape DAST | Business logic security testing | escape.tech |
| api.sh | 8-phase full protocol attack pipeline | GitHub: Sharon-Needles/api |
| FireTail | GraphQL 12 specific tests | firetail.ai |
| jwt_tool | Comprehensive JWT testing | GitHub: ticarpi/jwt_tool |
| Burp Autorize | Dual session authorization comparison | Burp BApp Store |
References
references/rest-graphql-testing.md— REST + GraphQL deep testingreferences/jwt-oauth-testing.md— JWT + OAuth security testing
Task Completion Self-Check (MUST pass before claiming completion)
- Did I execute every step in the workflow (rather than just reading)?
- Did I use real tool paths based on
tool-index? - Did I produce reproducible evidence (commands/scripts/screenshots/reports)?
- Did I complete and write back the Checklist items required by RULES?
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

