Skip to content
Agentmart
Submit a tool

api-security

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

Skill by transilienceai

IndexedMIT★ 591
Write a review

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/transilienceai-api-security

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.

We use your email only for this newsletter. Privacy

About

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

Use cases: backend, testing, ml, security

No 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/api-security

What's inside

Skill name
api-security
Description
API security testing - GraphQL, REST API, WebSocket, and Web-LLM attack techniques.
License
MIT
Instructions
43 lines in SKILL.md · view on GitHub

Files (43)

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

SKILL.md (first lines)

# 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

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`](../authenticated-session-acquisition/SKILL.md) (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`](reference/scenarios/rest/odata-deep-authz.md)), Cognito ([`cognito-unauth-and-srp.md`](reference/scenarios/rest/cognito-unauth-and-srp.md)), authenticated WebSocket ([`authenticated-per-role-authz.md`](reference/scenarios/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)
  - [`scenarios/rest/odata-deep-authz.md`](reference/scenarios/rest/odata-deep-authz.md) - OData `$metadata` enum + `$filter`/`$orderby`/`$expand` cross-tenant BOLA & injection
  - [`scenarios/rest/cognito-unauth-and-srp.md`](reference/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`](reference/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

From transilienceai/communitytools, MIT.

More from transilienceai/communitytools

Compare and alternatives

    Featured in

    Signals

    Stars
    591
    Forks
    83
    Open issues
    10
    Last commit (this folder)
    Jul 26, 2026 (3 months ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    Same skill elsewhere

    Copies of this SKILL.md published by others; search shows only one of them.

    More from transilienceai

    Cite this page

    api-security skill. Agent Mart. https://agentmart.dev/skills/transilienceai-api-security (last updated 2026-10-24)