본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

api-security

brandonwise 제작

Security & Passwords
552clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Implement secure API design patterns including authentication, authorization, input validation, rate limiting.

설명

이 스킬이 하는 일

Covers secure API design patterns for REST, GraphQL, and WebSocket APIs. Addresses authentication (JWT, OAuth 2.0, API keys), input validation, rate limiting, and the OWASP API Security Top 10. Includes working code examples for middleware, schema validation, and authorization checks.

Covers authentication, validation, rate limiting, and OWASP compliance in one place instead of requiring separate references for each concern.

사용 시점

  • Adding JWT authentication to a new REST API
  • Locking down login endpoints against brute-force attempts
  • Preventing SQL injection in user-submitted query parameters
  • Enforcing role-based access control on admin routes
  • Preparing an existing API for a security audit

예시 워크플로

입력

User asks: How do I secure my Express API with JWT authentication and rate limiting?

에이전트
  1. 1

    Reviews the existing API structure and identifies unprotected endpoints

  2. 2

    Generates JWT login and token refresh endpoints with bcrypt password hashing

  3. 3

    Creates authentication middleware that verifies tokens on protected routes

  4. 4

    Adds Redis-backed rate limiting with stricter limits on auth endpoints

  5. 5

    Applies security headers via Helmet and validates request bodies with Zod schemas

출력

Complete Express middleware setup with JWT auth, refresh tokens, per-route rate limiting, input validation schemas, and security headers

설치

clawhub install brandonwise/api-security

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크