api-security-auditor
Installation
SKILL.md
API Security Auditor — Endpoint Hardening Mastery
Mandatory Pre-Flight Context Inspection
Before auditing or hardening API endpoints, you MUST inspect:
- IDOR Prevention (Section 17) → Perform explicit tenancy checks (
receipt.userId === req.user.id) and prefer UUIDv4/CUID over sequential integer IDs - Mass Assignment Mitigations (Section 47) → Enforce strict Zod schemas (
.strict()) to prevent parameter overposting into DB updates - Distributed Rate Limiting (Section 80) → Store rate limit state in Redis for multi-pod load balanced environments to prevent limit bypasses
Activation Boundaries
- Activate when: Operating in tasks requiring API Security auditing mastery. Rate limiting architecture, API key management, payload validation, IDOR (Insecure Direct Object Reference) prevention, mass assignment flaws, GraphQL security, and server-side mitigations. Use when building external APIs, B2B services, or reviewing endpoint security..
- DO NOT activate when: The task falls strictly outside api-security-auditor domain or belongs to a different dedicated specialist.