Skip to content
Development
Skill

/api-security-testing

Security testing checklist for HTTP APIs—authn/z, input validation, rate limits, sensitive data exposure, and common OWASP API issues. Use when reviewing or testing REST/GraphQL endpoints before release.

From plugin
awesome-agent-skill
27200 skills4 commands

Claude Code

$ npx -y skills add charlieviettq/awesome-agent-skill --skill api-security-testing --agent claude-code

SKILL.md

api-security-testing.SKILL.md
name: api-security-testing
description: "Security testing checklist for HTTP APIs—authn/z, input validation, rate limits, sensitive data exposure, and common OWASP API issues. Use when reviewing or testing REST/GraphQL endpoints before release."
allowed-tools: Read, Glob, Grep

API security testing

Preconditions

  • Test in **non-production** unless explicitly authorized.
  • Use dedicated test accounts; never real customer PII in payloads.

Test matrix (prioritized)

Authentication and session

  • [ ] Missing/invalid token rejected (401)
  • [ ] Expired or revoked credentials rejected
  • [ ] Session fixation / cookie flags (HttpOnly, Secure, SameSite) where applicable

Authorization

  • [ ] Horizontal: user A cannot access user B's resource IDs
  • [ ] Vertical: non-admin cannot invoke admin routes
  • [ ] IDOR on path/query/body identifiers

Input and abuse

  • [ ] Oversized payloads rejected
  • [ ] Injection surfaces parameterized (SQL, command, template)
  • [ ] Rate limiting on auth and expensive endpoints

Data exposure

  • [ ] Errors do not leak stack traces or secrets in prod-like config
  • [ ] Responses omit internal fields (tokens, hashes, full PAN)
  • [ ] Pagination does not bypass auth filters

Transport and config

  • [ ] HTTPS enforced; HSTS where applicable
  • [ ] CORS not `*` with credentials
  • [ ] Security headers on API gateway if present

Web-facing surfaces (when API serves or pairs with UI)

  • [ ] CSP or explicit script policy documented
  • [ ] CSRF protection on cookie-based mutations
  • [ ] Clickjacking headers (`X-Frame-Options` or CSP `frame-ancestors`) where relevant
  • [ ] File upload: type/size limits, virus scan hook if required by policy

Reporting

For each finding: endpoint, steps, impact, severity, remediation, retest status.

Boundaries

  • Defensive testing only; no unauthorized production scanning.
  • For deep pen-test, engage formal AppSec process.
Read more
@charlieviettq
Ships withawesome-agent-skill

Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).

Stars on GitHub

Momentum

stars in total
27
Star history of charlieviettq/awesome-agent-skill on GitHub, a chart by star-history.com

Other skills on awesome-agent-skill.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about api-security-testing.

Which coding agents can use api-security-testing?
api-security-testing installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.