Skip to content
FunCoding

api-security

API security testing: authentication bypass, authorization flaws, rate limiting, input validation, GraphQL introspection, and REST endpoint enumeration.

Star
709
Category
Security
License
MIT
Last commit
Dec 1, 2026

src/alphacode_base/bundled_skills/api-security/SKILL.md

View on GitHub

API Security Skill

API-specific security testing methodology.

Authentication Testing

  • Token leakage in URLs, logs, referer headers
  • JWT: algorithm confusion, weak signing keys, missing expiration
  • OAuth: redirect_uri manipulation, state parameter bypass, PKCE enforcement
  • API key: exposure in client-side code, weak rotation policies

Authorization Testing

  • IDOR: change user/resource IDs to access others' data
  • Function-level: access admin endpoints as regular user
  • Mass assignment: add privileged fields to request body
  • BOLA: access other users' objects via API endpoints

GraphQL Specific

  • Introspection query to discover schema
  • Query depth abuse (nested queries)
  • Batch query attacks
  • Field suggestion information disclosure

Rate Limiting

  • Test per-user, per-IP, per-API-key limits
  • Check for bypass via header manipulation (X-Forwarded-For)
  • Verify rate limit headers are present (X-RateLimit-*)

Input Validation

  • Fuzz all parameters with boundary values
  • Test for injection in all input points
  • Check file upload restrictions
  • Verify Content-Type enforcement

Similar Skills

agent-security-hardening

AFaffaan-m/ECC314k4,125 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail202k4,780 new stars in the last 7 days

gstack

GAgarrytan/gstack143k636 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k693 new stars in the last 7 days