playbook-api
API security testing — OWASP API Top 10, BOLA/IDOR chains, mass assignment, excessive data exposure, rate limiting.
Skill by s0ld13rr
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/s0ld13rr-playbook-api
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing, data, security, security-scanning
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/playbook-api
What's inside
- Skill name
playbook-api- Description
- API security testing — OWASP API Top 10, BOLA/IDOR chains, mass assignment, excessive data exposure, rate limiting. Load when target is a REST/GraphQL/JSON API (incl. mobile backend).
- License
- MIT
- Instructions
- 49 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- name: "playbook-api" does not match folder "api"
Files (1)
- SKILL.md
SKILL.md (first lines)
# API Pentest — OWASP API Top 10
APIs fail differently than web apps: no UI to fuzz, auth is token-based, objects are addressable by ID. Test the OBJECT layer, not just the endpoint.
## #1 BOLA / IDOR — test EVERY object reference
The single most common API finding. For each endpoint returning object data:
1. Grab a valid object ID (your own, from responses)
2. Swap in another user's ID — same token
3. Also try: sequential IDs, UUID prediction, deleted IDs, other ID formats
```
# automate once endpoints are known
for id in $(seq 1 500); do
curl -s -H "Authorization: Bearer $TOK" https://api.t/v1/orders/$id | head -c 200
done
```
- Horizontal (same role, other user) AND vertical (user token → /admin/*) both ways.
- GraphQL: query nesting abuse — `{ user(id: 1) { friends { ssn } } }`, batching attacks.
## #2 Broken auth on API
- Token: no expiry, no rotation, `alg:none`, JWT key confusion, refresh token reuse detection absent.
- OAuth: redirect_uri manipulation, `state` missing, scope escalation.
- Password reset flows keyed by enumerable identifiers.
## #3 Mass assignment
Send extra fields in the create/update body: `{"role":"admin","verified":true,"balance":9999}`. Frameworks bind blindly (Rails `attr_accessible`, Spring `@ModelAttribute`, Mongoose strict:false). Test on register, profile update, and EVERY PATCH.
## #4 Excessive data exposure
Compare response schemas between users. Common leaks: password hashes, internal IDs, other users' PII in list endpoints, `debug:true` payloads, full object when UI shows 3 fields. Diff admin-vs-user responses field by field.
## #5 Rate limiting & resource abuse
- Login/OTP endpoints without lockout → brute force / SMS bombing (report, don't run to exhaustion).
- Unbounded pagination (`?limit=1000000`), unbounded file upload, unauthenticated expensive queries (ReDoS, GraphQL depth).
## #6 Injection surface
- Params in URL, headers (`X-Forwarded-For`, custom trace headers), and JSON body — all three.
- SSTI/NoSQL/SQLi/SSRF payloads adapted per content-type; `Content-Type` switch (json→xml) can unlock XXE.
## Methodology order
1. Map: `/openapi.json`, `/swagger.json`, `/graphql` introspection, mobile app traffic (pair with `svc-mobile-android`)
2. Enumerate object IDs per resource → BOLA sweep
3. Authz matrix: role × endpoint (collect tokens for each role available)
4. Mass assignment on every write endpoint
5. Response schema diff per role
6. Rate limits, injection, transport (TLS, cert pinning on mobile side)
## Evidence for report
One curl + response pair per finding, showing: victim object belongs to user A, attacker token = user B. Include the exact reproduction steps — API findings retest easily, keep them scriptable.From s0ld13rr/pentestcode, MIT.
More from s0ld13rr/pentestcode
- 0.814score
cloudflare
s0ld13rr
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum)…
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
svc-web-server
s0ld13rr
Web SERVER software (not app-layer) attack techniques — server misconfigs, known server CVEs, path traversal, exposed status/config.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-xxe
s0ld13rr
XML External Entity injection detection→file-read/SSRF→proof for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
vuln-assess-phase
s0ld13rr
Vulnerability analysis — triage scanner output, verify manually, score with CVSS, mark false positives.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-deserialization
s0ld13rr
Insecure deserialization to RCE for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-lfi-traversal
s0ld13rr
Path traversal / Local File Inclusion detection→file-read→RCE for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-auth-bypass-idor
s0ld13rr
Broken access control - IDOR, privilege escalation, JWT abuse, mass assignment, forced browsing - for web apps and APIs.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-upload-rce
s0ld13rr
File-upload abuse to code execution for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-ssti
s0ld13rr
Server-Side Template Injection detection→engine-fingerprint→RCE for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-ssrf
s0ld13rr
Server-Side Request Forgery detection→internal-access→proof for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-sqli
s0ld13rr
SQL injection detection→exploitation→proof for web apps and APIs.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
svc-ssh
s0ld13rr
SSH version CVEs and post-auth tricks — regreSSHion, user enum, agent hijack.
SkillAFreshness: A★ 883Claude Code +9
Signals
- Stars
- 883
- Forks
- 139
- Open issues
- 3
- Last commit (this folder)
- Oct 23, 2026 (5 days ago)
- Last release
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/s0ld13rr/pentestcode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from s0ld13rr
- 0.814score
cloudflare
s0ld13rr
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum)…
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-ssti
s0ld13rr
Server-Side Template Injection detection→engine-fingerprint→RCE for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-upload-rce
s0ld13rr
File-upload abuse to code execution for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
vuln-assess-phase
s0ld13rr
Vulnerability analysis — triage scanner output, verify manually, score with CVSS, mark false positives.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-xxe
s0ld13rr
XML External Entity injection detection→file-read/SSRF→proof for web apps.
SkillAFreshness: A★ 883Claude Code +9 - 0.812score
web-ssrf
s0ld13rr
Server-Side Request Forgery detection→internal-access→proof for web apps.
SkillAFreshness: A★ 883Claude Code +9
Cite this page
playbook-api skill. Agent Mart. https://agentmart.dev/skills/s0ld13rr-playbook-api (last updated 2026-10-24)