Skip to content
cccskills
FreePublished on GitHub

api-security

API security testing - GraphQL, REST API, WebSocket, and Web-LLM attack techniques.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595 stars(GitHub 595 + cccskills 0)

Run score Not tested

See how to install

Files included (43)

  • SKILL.md3.6 KB
  • reference/api-security-principles.md6.8 KB
  • reference/graphql-resources.md4.0 KB
  • reference/INDEX.md4.5 KB
  • reference/owasp-api-top10-coverage.md9.2 KB
  • reference/scenarios/graphql/auth-bypass-and-injection.md3.2 KB
  • reference/scenarios/graphql/csrf-and-content-type.md2.6 KB
  • reference/scenarios/graphql/dos-and-batching.md1.9 KB
  • reference/scenarios/graphql/endpoint-discovery.md2.4 KB
  • reference/scenarios/graphql/idor-and-mass-enumeration.md4.8 KB
  • reference/scenarios/graphql/introspection-and-bypass.md4.6 KB
  • reference/scenarios/graphql/rate-limit-bypass.md3.2 KB
  • reference/scenarios/graphql/schema-reconstruction.md2.6 KB
  • reference/scenarios/mcp/inspector-stdio-rce.md6.4 KB
  • reference/scenarios/rest/api-recon-and-discovery.md4.8 KB
  • reference/scenarios/rest/cognito-unauth-and-srp.md3.7 KB
  • reference/scenarios/rest/content-type-confusion-xxe.md2.8 KB
  • reference/scenarios/rest/cors-misconfiguration.md5.2 KB
  • reference/scenarios/rest/exposed-documentation.md2.6 KB
  • reference/scenarios/rest/https-downgrade-redirect-hsts.md4.9 KB
  • reference/scenarios/rest/mass-assignment.md4.0 KB
  • reference/scenarios/rest/mattermost-slash-command-dialog-hijack.md5.3 KB
  • reference/scenarios/rest/odata-deep-authz.md3.9 KB
  • reference/scenarios/rest/options-method-enumeration.md2.7 KB
  • reference/scenarios/rest/owasp-bola-bopla.md4.0 KB
  • reference/scenarios/rest/sspp-query-string.md3.7 KB
  • reference/scenarios/rest/sspp-rest-path.md3.3 KB
  • reference/scenarios/rest/unauth-existence-oracle.md4.3 KB
  • reference/scenarios/rest/unauthenticated-webhook-oracle.md4.8 KB
  • reference/scenarios/rest/verbose-error-schema-disclosure.md5.1 KB
  • reference/scenarios/rest/waf-bypass-techniques.md4.0 KB
  • reference/scenarios/web-llm/insecure-output-xss.md4.8 KB
  • reference/scenarios/web-llm/os-command-injection-via-llm.md4.2 KB
  • reference/scenarios/web-llm/prompt-injection-direct.md3.4 KB
  • reference/scenarios/web-llm/prompt-injection-indirect.md4.2 KB
  • reference/scenarios/web-llm/sqli-via-llm.md3.5 KB
  • reference/scenarios/websocket/auth-bypass-and-handshake-tricks.md3.5 KB
  • reference/scenarios/websocket/authenticated-per-role-authz.md3.3 KB
  • reference/scenarios/websocket/cswsh.md3.9 KB
  • reference/scenarios/websocket/discovery-and-handshake.md4.0 KB
  • reference/scenarios/websocket/message-injection.md7.3 KB
  • reference/web-llm-attacks-resources.md5.1 KB
  • reference/websockets-resources.md3.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

API Security

Test API endpoints for security vulnerabilities across REST, GraphQL, WebSocket, and LLM-integrated APIs.

Techniques

TypeKey Vectors
GraphQLIntrospection, batching attacks, nested query DoS, field suggestion
REST APIBOLA/IDOR, mass assignment, rate limiting, auth bypass, versioning
WebSocketCross-site hijacking, message manipulation, auth flaws
Web-LLMPrompt injection via API, excessive agency, data exfiltration

Workflow

  1. Discover API endpoints and documentation (Swagger, GraphQL schema)
  2. Map authentication and authorization mechanisms
  3. Test per API type using appropriate techniques
  4. Validate data exposure and access control flaws
  5. 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:

  1. Ingest the corpus → per-endpoint fixtures: python3 tools/fixture_ingest.py <openapi|postman|har> -o fixtures.json normalizes every operation into a request template (method, url with path params filled, sampled body, object_ref for 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.
  2. Acquire per-role sessions: via authenticated-session-acquisition (MFA/OTP/SRP → reusable tokens) into the harness's token store.
  3. 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 got authorized on an object/action it should not, and logs an evidence_id per (endpoint × role). Egress-route via the provisioned vantage for allowlisted APIs.
  4. 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 labs
  • reference/scenarios/rest/*.md - REST API security testing (BOLA/BOPLA, mass assignment, SSPP, content-type confusion)
  • reference/websockets*.md - WebSocket vulnerability testing
  • reference/web-llm*.md - Web-LLM attack techniques and labs

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Offensive AI security testing and exploitation framework. Systematically tests LLM applications for OWASP Top 10 vulnerabilities including prompt injection, model extraction, data poisoning, and supply chain attacks. Integrates with pentest workflows to discover and exploit AI-specific threats.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Stitches confirmed single-asset findings into multi-hop attack paths across the organization. Builds a graph where nodes are assets and edges are confirmed exploit hops citing the findings that enable them.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Acquire an authenticated session THROUGH MFA/OTP on an in-scope target and emit a reusable session artifact (Playwright storageState + Bearer) so executors can test the post-auth attack surface. Use when the highest-value authenticated classes (BOLA/IDOR/mass-assignment/injection on the real data APIs) are blocked because login is gated by SMS-OTP or TOTP MFA. Distinct from the authentication skill (which ATTACKS auth); this one legitimately authenticates and hands the session to the rest of the engagement.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Authentication security testing - auth bypass, JWT attacks, OAuth flaws, password attacks, 2FA bypass, CAPTCHA bypass, and bot detection evasion.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Smart contract security testing and blockchain CTF exploitation. Covers Solidity vulnerability analysis, EVM storage manipulation, delegatecall attacks, CREATE/CREATE2 address prediction, and common DeFi exploit patterns. Use when analyzing Solidity contracts, solving blockchain challenges, or testing smart contract security.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Client-side vulnerability testing - XSS (reflected/stored/DOM), CSRF, CORS misconfiguration, Clickjacking, DOM-based attacks, and Prototype Pollution.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

See all skills by transilienceai

Report a problem with this skill