transilienceai/communitytools/api-security
Claude Code and agent skill by transilienceai/communitytools
- community
Checking that the SKILL.md file is still in the repository.
API security testing - GraphQL, REST API, WebSocket, and Web-LLM attack techniques.
Install
npx vskill@latest install transilienceai/communitytools/api-securitySKILL.md
API Security
Test API endpoints for security vulnerabilities across REST, GraphQL, WebSocket, and LLM-integrated APIs.
Techniques
| Type | Key Vectors | |
|---|---|---|
| GraphQL | Introspection, batching attacks, nested query DoS, field suggestion | |
| REST API | BOLA/IDOR, mass assignment, rate limiting, auth bypass, versioning | |
| WebSocket | Cross-site hijacking, message manipulation, auth flaws | |
| Web-LLM | Prompt injection via API, excessive agency, data exfiltration |
Workflow
- Discover API endpoints and documentation (Swagger, GraphQL schema)
- Map authentication and authorization mechanisms
- Test per API type using appropriate techniques
- Validate data exposure and access control flaws
- Capture evidence with HTTP request/response logs
API at scale (offline corpus / fixture-driven)
For a large or offline API surface — a 2000+ path Swagger, a Postman corpus, a HAR capture — do NOT hand-build the coverage machinery per engagement. Drive it deterministically:
- Ingest the corpus → per-endpoint fixtures:
python3 tools/fixture_ingest.py <openapi|postman|har> -o fixtures.jsonnormalizes every operation into a request template (method, url with path params filled, sampled body,object_reffor id-like path params, security requirement) and STRIPS baked-in auth (the harness injects tokens). This is what turns a large (thousands-of-operations) OpenAPI/Postman corpus into a resumable matrix instead of an untested pile. - Acquire per-role sessions: via `authenticated-session-acquisition` (MFA/OTP/SRP → reusable tokens) into the harness's token store.
- Replay the per-role authz matrix:
python3 tools/auth_replay_harness.py --requests fixtures.json --tokens tokens.json [--proxy <vantage>]replays every endpoint under every role (and cross-tenant), flags BOLA/BFLA where a role gotauthorizedon an object/action it should not, and logs anevidence_idper (endpoint × role). Egress-route via the provisioned vantage for allowlisted APIs. - Protocol-specific authz: OData (`odata-deep-authz.md`), Cognito (`cognito-unauth-and-srp.md`), authenticated WebSocket (`authenticated-per-role-authz.md`).
The batch is resumable (checkpoint the harness results) so flapping auth never zeroes the run — the recurring at-scale gap. Run the FULL matrix so a clean result is an evidenced negative, not an untested surface.
Reference
reference/graphql*.md- GraphQL attack techniques and labsreference/scenarios/rest/*.md- REST API security testing (BOLA/BOPLA, mass assignment, SSPP, content-type confusion)- `scenarios/rest/odata-deep-authz.md` - OData
$metadataenum +$filter/$orderby/$expandcross-tenant BOLA & injection - `scenarios/rest/cognito-unauth-and-srp.md` - Cognito UNSIGNED unauthenticated posture (self-signup/enumeration) + SRP authenticated session
reference/websockets*.md- WebSocket vulnerability testing- `scenarios/websocket/authenticated-per-role-authz.md` - authenticated per-role relay: BOLA/BFLA/channel-authz over the socket
reference/web-llm*.md- Web-LLM attack techniques and labs
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-security/SKILL.md
Popularity
- Repository stars
- 480
- Repository forks
- 73
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/transilienceai/communitytools/api-security)