api-security
Skill5 starsChanged 4 months agoMITView on GitHub
REST/OAuth/JWT API security — each pattern has SIGNAL → TEST → CONFIRM → KILL + response-driven next actions + sibling endpoint analysis. NOT for GraphQL depth (use a dedicated GraphQL skill) or general web vulns (use web2-vuln-classes).
- Sends data out
35 other projects use a version of this.
Adopted by
Most recently taken up by
- rogue-dev-studio/ai-agents-roguetheir own version, first seen Nov 29, 2026
- AtulPurohit/Antigravity-Awesome-Skillstheir own version, first seen Nov 29, 2026
- ViviBeri/webcraft-protheir own version, first seen Nov 22, 2026
- BaaRai/ARTEXtheir own version, first seen Nov 22, 2026
- zhaoxuya520/reverse-skilltheir own version, first seen Nov 14, 2026
- nainishshafi/developer-productivity-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use js-reverse, mobile-reverse and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
DorianGalloSkilljs-reverse
Also in 8 projects that use this
DorianGalloSkillmobile-reverse
Also in 8 projects that use this
zhaoxuya520Skillbrowser-extension-reverse
Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.
Also in 4 projects that use this
zhaoxuya520Skillcloud-k8s
Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.
Also in 4 projects that use this
- +3 more from DorianGallo
- +5 more from zhaoxuya520
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- zhaoxuya520/reverse-skill-private★ 45ksame name
- zhaoxuya520/reverse-skill★ 45ksame name
- BaaRai/ARTEX★ 25ksame name
- hardw00t/ai-security-arsenal★ 101same name
- jefflester/claude-skills-supercharged★ 44same name
- z91772524-ai/pojia-next-mac★ 39same name
- 2233admin/reverse-skill-evolver★ 26same name
- jim60105/copilot-prompt★ 22same name
- awarexone/AXguard★ 17same name
- GoldenWing-360/claude-security-skills★ 16same name
25 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- routerSkill
- domain-scoped-huntingSkill
- business-logic-hunterSkill
- web2-vuln-classesSkill
- web2-reconSkill
- attack-path-builderSkill
- report-writingSkill
- application-archetypesSkill
- application-model-builderSkill
- false-positive-killerSkill
- triage-validationSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
After testing any API endpoint, discover and test siblings:
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API SECURITY — EXECUTION MATRIX + RESPONSE-DRIVEN
| Pattern | Signal | Test | Confirm | Kill | Response-Driven Next Action |
| BOLA | Object ID in URL/body | curl /api/orders/ORDER_B -b "session=A" | A reads B's data | 403 → auth enforced | 200 with B's data → test PUT/DELETE same pattern; test /api/orders/ list endpoint |
| Mass Assignment | Extra fields in response | curl -X PATCH /api/user -d '{"role":"admin","balance":999}' | Field persisted | field read-only | role accepted → test is_admin, permissions, plan; test on other endpoints of same resource |
| JWT None | JWT auth | jwt_tool "$JWT" -X a then use forged token | API accepts alg:none | "invalid signature" | None works → test HS256 confusion with public key; test alg:null, empty signature |
| JWT Confusion | RS256 JWT + public key exposed | jwt.encode(payload, public_key, "HS256") | Forged HS256 accepted | Library checks alg | Confusion works → forge admin role JWT → chain to admin API |
| OAuth redirect | redirect_uri param | curl /oauth?redirect_uri=https://evil.com | Code sent to evil.com | URL whitelist | Redirect works → test state param for CSRF; test PKCE enforcement; chain to ATO |
| OAuth state | state param | curl /oauth/callback?code=X&state=PREDICTABLE | CSRF on token binding | random state | Predictable state → forge auth for victim → ATO |
| Rate Limit | No 429 on burst | for i in {1..100}; do curl /api/brute; done | All 200, no throttle | 429 after N requests | No rate limit → brute OTP, password, API key → chain to ATO |
| Key Leak | API key in JS/response | grep -oP 'api[_-]?key["\s:=]+["'"'"']?([A-Za-z0-9]{20,})' target.js | Key works on live API | 401 unauthorized | Key works → test on sensitive endpoints, check permissions, check if admin key |
| Error Leak | Stack trace on bad input | curl -X POST /api/login -d '{"email":null}' | Error reveals path/DB/version | Custom error page | Stack trace → probe more malformed inputs for data; find env vars in trace |
| Method Override | X-HTTP-Method headers | curl -X GET /api/delete -H "X-HTTP-Method-Override: DELETE" | Resource deleted | Override ignored | Override works → test all endpoints with method override; check for CSRF bypass |
SIBLING ENDPOINT ANALYSIS
After testing any API endpoint, discover and test siblings:
| Endpoint Found | Check These Siblings | Why |
/api/v1/orders/{id} | /api/v2/orders/{id}, /api/orders/{id}/admin | Newer version may lack auth; admin overlay may be gated differently |
/api/users/{id} | /api/users/{id}/profile, /api/users/{id}/settings | Nested resources often have weaker auth |
/api/products | /api/products/{id}/price, /api/products/{id}/inventory | Price/inventory may have separate (weaker) auth |
/api/checkout | /api/cart, /api/discount, /api/shipping | Adjacent cart/discount logic may bypass checkout auth |
POST /api/resource | GET /api/resource, PUT /api/resource, DELETE /api/resource | Different methods may have different auth levels |
/api/v1/ | /api/v2/, /api/v3/, /api/beta/ | Beta/older versions may lack security updates |
CURL COMMANDS (Quick Start)
# BOLA sweep
for id in $(seq 1 50); do
curl -s "/api/orders/$id" -H "Bearer: $TOKEN_B" | jq '.id, .user_id'
done
# JWT none attack
jwt_tool "$JWT" -X a # Try none algorithm
jwt_tool "$JWT" -X n # Try null signature
# Rate limit bypass
for i in {1..200}; do
proxy=$(shuf -n1 proxies.txt)
curl -s --proxy "socks5://$proxy" -X POST /api/otp -d '{"phone":"+1234"}' &
done; wait
# Mass assignment probe
curl -X PUT /api/user/profile -H "Bearer: $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"test","role":"admin","is_admin":true,"credits":99999,"plan":"enterprise"}'DECISION TREE
Found API endpoint?
├─ Resource by ID? → BOLA test (session A vs session B)
│ └─ BOLA found → test PUT/DELETE on same pattern → chain to data mod
├─ Auth header present? → JWT test (none → confusion → weak secret)
│ └─ JWT forgeable → test admin endpoints → chain to full access
├─ OAuth flow? → redirect_uri fuzz → state test → PKCE check
│ └─ Redirect open → chain to OAuth token theft → ATO
├─ Create/Update endpoint? → Mass assignment (add role, balance, is_admin)
│ └─ Mass assignment works → find all writable fields → chain to privesc
├─ Rate-limit on sensitive? → Burst test (proxy rotate)
│ └─ No rate limit → brute OTP/password → chain to ATO
├─ Keys in JS/response? → Key leakage (grep pattern, test key)
│ └─ Key works → find what it can access → check admin scope
└─ Error on malformed? → Info disclosure (paths, DB, stack)
└─ Stack trace → find env vars, file paths → deepen disclosurePATTERN FILES
| Pattern | File |
| BOLA Deep Dive | reference/bola.md |
| JWT Attacks | reference/jwt-attacks.md |
| OAuth/OIDC Testing | reference/oauth-oidc.md |
| Rate Limiting | reference/rate-limiting.md |
| Mass Assignment | reference/mass-assignment.md |
| Key Leakage | reference/key-leakage.md |
| Info Disclosure | reference/info-disclosure.md |
| Method Override | reference/method-override.md |
| BFF Testing | reference/bff-testing.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

