ivegamsft/basecoat/api-security

Claude Code and agent skill by ivegamsft/basecoat

Trust tier 3
  • community
Source check pending

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-security

SKILL.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

FileContents
`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)

ControlPattern
AuthenticationJWT with short expiry (≤1 hr); rotate refresh tokens
AuthorizationRBAC via require_role() on every endpoint
Input validationPydantic/Zod schema + HTML escape on user content
Injection preventionParameterized queries only — no string concatenation
Rate limitingslowapi — 5/min on auth, 100/hr on search
CORSExplicit allow_origins list — never ["*"] in production
TransportHTTPS + 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ivegamsft/basecoat/api-security/badge)](https://verified-skill.com/skills/ivegamsft/basecoat/api-security)

Something wrong with this skill or its page? Tell us.