From grimoire
Systematically audits an API against all 10 OWASP API Security Top 10 (2023) vulnerability classes, producing findings with severity, evidence, and remediation references. Use for pre-launch security reviews, penetration tests, or API security posture assessments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:review-owasp-api-checklistThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematically check an API against all 10 OWASP API Security Top 10 (2023) vulnerability classes — producing a finding list with severity, evidence, and remediation references.
Systematically check an API against all 10 OWASP API Security Top 10 (2023) vulnerability classes — producing a finding list with severity, evidence, and remediation references.
Adopted by: OWASP API Security Top 10 2023 is the authoritative reference for API security, used by security teams at Google, Microsoft, Netflix, and financial institutions globally. The Salt Security API Security Report (2023) found that 94% of organizations experienced API security incidents in the past year, and 59% had API-related breaches. Gartner predicts API abuse will be the most frequent attack vector by 2025. PCI DSS v4.0 Requirement 6.2.4 requires protection against all OWASP Top 10 vulnerability classes including API-specific ones.
Impact: Broken Object Level Authorization (API1) is the most common API vulnerability, responsible for the Peloton data exposure (2021), Experian API leak (2021), and countless undisclosed incidents. The entire OWASP API Top 10 represents the vulnerabilities most likely to be exploited in real-world attacks. A structured checklist review catches 80%+ of API security issues before production — at a fraction of the cost of post-breach remediation.
Why best: Ad-hoc API security review misses systematic vulnerability classes. This checklist-based approach — parallel to the OWASP Top 10 web checklist (review-owasp-checklist) — ensures every API vulnerability class is explicitly checked, not just the ones the reviewer happens to remember.
Sources: OWASP API Security Top 10 2023; Salt Security API Security Report 2023; Gartner API Security research; CWE-285
Work through each API Top 10 item. For each: describe what to look for, how to test, and what evidence to record.
What: API endpoints that accept object IDs (user IDs, document IDs, order IDs) without verifying the requester owns or is authorized to access that object.
Test:
/api/orders/1234)./orders/1234, try /orders/1233, /orders/1235.Finding: If User B can read, modify, or delete User A's objects, BOLA is confirmed.
Fix reference: apply-authorization-control — object-level ownership checks.
What: Weak authentication mechanisms — missing token validation, JWT alg:none, accepting expired tokens, weak credential policies.
Test:
Authorization header to authenticated endpoints.user_id) without updating signature — if accepted, signature not validated.exp not validated.Fix references: apply-jwt-security, design-session-management, apply-api-rate-limiting.
What: APIs returning more data than the caller should see, or accepting writes to protected fields (mass assignment).
Test:
password_hash, internal_notes, credit_card_number.{"email": "[email protected]", "role": "admin", "is_verified": true}.Fix references: prevent-mass-assignment, apply-authorization-control (field-level).
What: No rate limits on expensive operations — allows DoS, brute force, and resource exhaustion.
Test:
?page=999999&per_page=9999.Fix reference: apply-api-rate-limiting.
What: User-level callers can access admin/elevated-privilege functions by guessing endpoint names.
Test:
/api/admin/users, /api/admin/stats, /api/internal/config./api/users/123 works — try DELETE /api/users/123 without admin role./api/v1/users/export, /api/v1/users/bulk-delete.Fix reference: apply-authorization-control — function-level permission checks.
What: APIs that can be abused to perform business actions at unrealistic volume — ticket scalping, coupon stacking, fake reviews, account creation at scale.
Test:
Fix: Implement business-logic rate limits, CAPTCHA, device fingerprinting, and anomaly detection on critical flows.
What: API endpoints that fetch URLs or make HTTP requests based on user-supplied input.
Test:
http://169.254.169.254/latest/meta-data/, http://localhost:8080/admin.Fix reference: prevent-ssrf.
What: Default credentials, unnecessary features enabled, missing security headers, verbose error messages exposing internals.
Test:
X-Content-Type-Options, Content-Security-Policy).OPTIONS reveal unexpected allowed methods?Fix references: apply-security-headers, design-error-handling.
What: Outdated or undocumented API versions still exposed; debug/development endpoints in production.
Test:
/api/v1/, /api/v2/ alongside the current /api/v3/./api/test, /api/debug, /api/echo.Fix: Maintain an API version inventory; actively retire old versions; remove test endpoints.
What: Your API trusts data from third-party APIs without validation — passing it to users, databases, or internal systems.
Test:
Fix reference: apply-api-client-security.
npx claudepluginhub jeffreytse/grimoire --plugin grimoireAssesses REST, GraphQL, and gRPC API endpoints against OWASP API Security Top 10 risks using automated and manual testing techniques.
Assesses REST, GraphQL, and gRPC API endpoints against OWASP API Security Top 10 risks using automated and manual testing techniques.
<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->