api-security-automation

Installation
SKILL.md

API Security Automation

Authorization Boundary

  • Require base URL, environment label (lab/staging/prod), scoped credentials, and rate ceiling.
  • Avoid production write endpoints unless explicitly authorized; prefer idempotent or staging traffic.
  • Strip tokens and PII from artifacts.

Testing Workflow

  1. Ingest spec: OpenAPI, GraphQL SDL, gRPC .proto, Postman collection, HAR; otherwise crawl with katana/hetty.
  2. Build a request matrix per endpoint × role × parameter class (id, enum, nested object, file).
  3. Auth tests: token tampering, alg=none, kid confusion, audience swap, refresh replay, scope downgrade.
  4. Object-level auth: enumerate IDs across roles to detect BOLA/IDOR.
  5. Function-level auth: invoke admin/owner endpoints with low-privilege tokens.
  6. Mass assignment: inject unexpected fields; observe persisted state changes.
  7. Input handling: type confusion, prototype pollution, SSRF via URL params, path traversal, deserialization.
  8. GraphQL: introspection, alias-based rate bypass, batched queries, depth/complexity DoS.
  9. Rate and replay: nonce reuse, idempotency-key collisions, race conditions on state.
Installs
1
GitHub Stars
3
First Seen
Aug 26, 2026
api-security-automation — masriyan/gemini-security-skills