api-security-auditor
Skill1 starsChanged 5 months agoApache-2.0View on GitHub
Audits REST or GraphQL APIs for OWASP API Top 10 vulnerabilities. Use when reviewing or testing the security of an API before launch or after changes.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- khangpqvn/SDDADDtheir own version, first seen Sep 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- khangpqvn/SDDADD★ 12same name
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 repository58 other files it gives its agents.
- agent-chain-designerSkill
- api-wrapper-builderSkill
- embeddings-builderSkill
- evaluation-harnessSkill
- fine-tuning-preparerSkill
- llm-router-builderSkill
- ml-model-trainerSkill
- model-benchmarkerSkill
- prompt-engineerSkill
- rag-pipeline-builderSkill
- synthetic-data-generatorSkill
- vector-db-integratorSkill
- csv-processorSkill
- database-schema-designerSkill
- data-pipeline-builderSkill
- etl-workflow-designerSkill
- json-transformerSkill
- pandas-data-cleanerSkill
- report-generatorSkill
- sql-query-optimizerSkill
- time-series-analyzerSkill
- visualization-generatorSkill
- backup-strategySkill
- ci-cd-optimizerSkill
- docker-compose-generatorSkill
- github-actions-pipelineSkill
- kubernetes-deploymentSkill
- load-balancer-configSkill
- log-aggregator-setupSkill
- monitoring-dashboardSkill
- nginx-config-generatorSkill
- security-hardeningSkill
- ssl-certificate-managerSkill
- terraform-module-builderSkill
- compliance-checkerSkill
- dependency-checkerSkill
- incident-responderSkill
- jwt-security-auditorSkill
- owasp-checkerSkill
- penetration-test-plannerSkill
- secret-detectorSkill
- threat-model-designerSkill
- vulnerability-scannerSkill
- accessibility-auditorSkill
- api-route-builderSkill
- auth-flow-builderSkill
- css-animation-crafterSkill
- form-validatorSkill
- graphql-schema-designerSkill
- html-component-builderSkill
- nextjs-app-scaffoldSkill
- performance-auditorSkill
- pwa-setupSkill
- react-component-generatorSkill
- responsive-layout-systemSkill
- seo-optimizerSkill
- tailwind-design-systemSkill
- websocket-integrationSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Before launching a new API or major version.
- Distinctive: line 20
After significant changes to auth, authorization, or data access logic.
- Distinctive: line 52
Test horizontal (same role, different user) and vertical (lower role accessing higher).
- Distinctive: line 61
Test with high volume from one IP / one user.
- Distinctive: line 62
Check for per-user vs per-IP limits.
- Distinctive: line 63
Look for expensive operations without limits (search, export, report generation).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
Performs a structured security audit of REST or GraphQL APIs against the OWASP API Security Top 10. Provides detection methods (code review + testing), authentication/authorization review, BOLA/IDOR testing procedure, injection point identification, rate limiting testing, and a professional audit report template with findings, risk ratings, and remediation recommendations.
When to Use This Skill
- Before launching a new API or major version.
- After significant changes to auth, authorization, or data access logic.
- As part of a security review or bug bounty prep.
- The user asks for an "API security audit" or "OWASP API Top 10 review".
Prerequisites
- Access to the API source code and/or a running instance (staging preferred).
- Authentication credentials or tokens for different roles/users (if testing with auth).
- Tools: Postman/Insomnia or curl, Burp Suite or ZAP (for proxying), or custom scripts.
Steps
- OWASP API Top 10 2023 checklist (with detection method for each):
- API1:2023 Broken Object Level Authorization (BOLA/IDOR)
- API2:2023 Broken Authentication
- API3:2023 Broken Object Property Level Authorization
- API4:2023 Unrestricted Resource Consumption (rate limiting, DoS)
- API5:2023 Broken Function Level Authorization
- API6:2023 Unrestricted Access to Sensitive Business Flows
- API7:2023 Server Side Request Forgery (SSRF)
- API8:2023 Security Misconfiguration
- API9:2023 Improper Inventory Management
- API10:2023 Unsafe Consumption of APIs (third-party)
- Authentication & session review:
- JWT validation (alg, exp, signature, claims).
- Token storage and transmission.
- OAuth scopes and PKCE.
- Password/reset flows.
- Authorization testing (BOLA/IDOR):
- Systematically change IDs in requests (user_id, order_id, document_id) while authenticated as different users.
- Test horizontal (same role, different user) and vertical (lower role accessing higher).
- GraphQL: test for missing authorization on every field/resolver.
- Injection & input validation:
- SQLi, NoSQLi, command injection in query params, body, headers.
- Mass assignment / over-posting.
- GraphQL: introspection enabled in prod? deep nesting DoS?
- Rate limiting & resource limits:
- Test with high volume from one IP / one user.
- Check for per-user vs per-IP limits.
- Look for expensive operations without limits (search, export, report generation).
- Output:
- Structured audit report (Markdown template) with:
- Executive summary
- Findings table (OWASP item | Severity | Location | Evidence | Recommendation)
- Positive findings (what is done well)
- Remediation roadmap
- Specific test cases / curl commands used.
- Code-level indicators to look for in reviews.
- Structured audit report (Markdown template) with:
Examples
A complete audit report template filled with realistic findings for a typical REST + GraphQL API (BOLA on /users/{id}/orders, missing rate limit on search, JWT alg confusion, over-fetching in GraphQL, etc.) plus the exact test procedures and curl examples used to discover them is included.
Edge Cases & Error Handling
- Authorization logic in the client: Flag as critical — server must always enforce.
- GraphQL: Field-level auth, query cost analysis, depth limiting.
- Microservices: Auth must be validated at every service boundary (or use a service mesh with mTLS + auth).
Verification
- The auditor follows the checklist and produces a report.
- At least the critical/high findings have clear reproduction steps.
- Code review confirms the vulnerable patterns exist (or the fix is in place).
- Re-test after remediation — the issue is closed.
- Success: The API has no critical OWASP API Top 10 issues, or they are explicitly accepted with compensating controls and timelines.
References
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.

