api-security-scan
Skill13 starsChanged 19 days agoApache-2.0View on GitHub
Review a REST/HTTP API — from its OpenAPI spec or route code — for security gaps like missing auth, broken object-level authorization, no rate limiting, and verbose errors. Reports file:line. Pure Claude Code, no signup.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AlvaroVFon/skillstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- AlvaroVFon/skills★ 2same 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 repository35 other files it gives its agents.
- accessibility-checkSkill
- agentic-app-risk-reviewSkill
- broken-link-scanSkill
- cold-load-waterfallSkill
- complexity-hotspotsSkill
- console-error-scanSkill
- cookie-privacy-scanSkill
- core-web-vitalsSkill
- dead-code-scanSkill
- dependency-auditSkill
- diff-risk-reviewSkill
- error-handling-auditSkill
- evidence-code-auditSkill
- exploited-vulnerability-watchSkill
- flaky-selector-scanSkill
- form-validation-scanSkill
- i18n-rtl-auditSkill
- iac-misconfig-scanSkill
- invisible-inkSkill
- license-compliance-scanSkill
- mixed-content-scanSkill
- mr-nullSkill
- page-weight-budgetSkill
- railway-exposure-auditSkill
- responsive-screenshotsSkill
- script-quality-reviewSkill
- scunthorpe-checkSkill
- secret-scanSkill
- security-advisory-triageSkill
- security-auditSkill
- security-headers-checkSkill
- seo-checkSkill
- test-quality-reviewSkill
- third-party-bloatSkill
- ui-ux-scanSkill
The file
Files
API Security Scan
Find the security holes in your API design before they ship. Read-only: it flags issues with file:line, it doesn't change your code.
Prerequisites
- None. Pure Claude Code — reads your OpenAPI/Swagger spec or route/handler code directly, no MCP required.
Trigger
- "Security review my API / OpenAPI spec"
- "Check my endpoints for missing auth"
- "API security scan"
Workflow
- Locate the API surface: an OpenAPI/Swagger file if present, otherwise the route definitions and handlers.
- Review each endpoint against the checks below; report
pathorfile:line, severity, and the fix.
What to flag
| Risk | What to look for |
| Missing authentication | Endpoints with no auth requirement that expose data or actions |
| Broken object-level auth (IDOR/BOLA) | Resources fetched by ID with no ownership/authorization check |
| Missing function-level auth | Admin/privileged operations reachable by normal users |
| No rate limiting | Auth, search, or expensive endpoints with no throttling (brute-force / DoS) |
| Verbose errors | Stack traces, SQL, or internal details returned to clients |
| Sensitive data in URLs | Tokens, passwords, or PII in query strings (logged everywhere) |
| Mass assignment | Request bodies bound to models without an allowlist of fields |
| CORS misconfig | Wildcard origin combined with credentials |
| Missing input validation | Body/query/path params accepted without schema/type checks |
| No pagination limits | List endpoints that can return unbounded result sets |
| Secrets in examples | Real keys/tokens in spec examples or sample requests |
- Output a severity-ranked report:
## API Security Scan
**2 high, 1 medium**
### HIGH
- GET /users/{id} — no ownership check; any authenticated user can read any
record (BOLA). Enforce that the caller owns or may access {id}.
- POST /login — no rate limiting; vulnerable to credential brute-force. Add
per-IP/per-account throttling and lockout.
### MEDIUM
- GET /search — returns full stack traces on error. Return a generic message;
log details server-side.Diagnostic only. Want API auth and BOLA scanning on every PR? See QualityMax — qualitymax.io
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.

