ivegamsft/basecoat/api-security
Claude Code and agent skill by ivegamsft/basecoat
- community
Checking that the SKILL.md file is still in the repository.
Use when securing REST or GraphQL APIs against common auth, authorization, validation, and abuse risks. USE FOR: secure JWT authentication for an API, add rate limiting to endpoints, review API authorization flaws, harden GraphQL queries and mutations, prevent SQL injection in API handlers. DO NOT USE FOR: network firewall design, frontend styling work, general cloud cost reviews.
Install
npx vskill@latest install ivegamsft/basecoat/api-securitySKILL.md
The same SKILL.md was published earlier as ivegamsft/basecoat/api-security.
API Security Skill
Production patterns for securing REST and GraphQL APIs against OWASP API Security Top 10.
Reference Files
| File | Contents | |
|---|---|---|
| `references/threat-model.md` | OWASP Top 10 table, JWT auth, RBAC, input validation/XSS, SQL injection prevention, GraphQL security, security logging | |
| `references/controls.md` | Rate limiting, API key verification, CORS configuration, security headers, controls checklist |
Core Controls (Quick Reference)
| Control | Pattern | |
|---|---|---|
| Authentication | JWT with short expiry (≤1 hr); rotate refresh tokens | |
| Authorization | RBAC via require_role() on every endpoint | |
| Input validation | Pydantic/Zod schema + HTML escape on user content | |
| Injection prevention | Parameterized queries only — no string concatenation | |
| Rate limiting | slowapi — 5/min on auth, 100/hr on search | |
| CORS | Explicit allow_origins list — never ["*"] in production | |
| Transport | HTTPS + security headers (HSTS, CSP, X-Frame-Options) |
Security Logging
Log all auth events (success + failure) with username, IP, and timestamp. Never log passwords or tokens.
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-security/SKILL.md
Popularity
- 7-day trend score
- 5
Refreshed 6 Oct 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ivegamsft/basecoat/api-security)