Api Breaker logo

Api Breaker

Organization
Orizon-eu
api-breaker

Automated API security testing starting from domains. Discovers REST, GraphQL, and SOAP APIs, reconstructs schemas, and tests for BOLA/IDOR, BFLA, mass assignment, JWT attacks, rate limiting bypass, and business logic flaws. Use when user asks to "test API security", "break API", "find API vulnerabilities", "test GraphQL", "test JWT", "API pentest", or provides domains with API endpoints. For authorized testing only.

Overview

PublisherOrizon-eu
Repositoryclaude-code-pentest
Skill nameapi-breaker
Stars
32
Forks
7
Bundled files
8
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Orizon-eu on GitHub. Read the source before you install it.

Installation

Install the Api Breaker AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Orizon-eu/claude-code-pentest/tree/main/api-breaker
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Orizon-eu/claude-code-pentest.git /tmp/claude-code-pentest
mkdir -p .claude/skills
cp -r /tmp/claude-code-pentest/api-breaker .claude/skills/api-breaker
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Api Breaker in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Api Breaker on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Api Breaker is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

API Breaker

Intelligent API security testing. Discovers, maps, and exploits API vulnerabilities.

Important

CRITICAL: Only test APIs you have explicit authorization to test.

Instructions

Step 1: API Discovery

bash
python scripts/api_discovery.py --domain {target_domain}

Discovery methods:

  1. Path fuzzing: /api/, /v1/, /v2/, /graphql, /rest/, /swagger.json, /openapi.json, /api-docs
  2. JavaScript analysis: Parse JS files for hardcoded API endpoints, base URLs, fetch/axios calls
  3. Wayback Machine: Historical API endpoints that may still be active
  4. Common patterns: /{resource}s, /{resource}/{id}, /{resource}/{id}/{subresource}
  5. GraphQL detection: /graphql, /graphiql, /playground, /api/graphql
  6. Documentation endpoints: Swagger, OpenAPI, WADL, WSDL

For each discovered API:

  • Record base URL, authentication method, content type
  • Detect API standard (REST, GraphQL, gRPC-web, SOAP)

Step 2: Schema Reconstruction

bash
python scripts/schema_builder.py --api-base {api_url}

Even without documentation:

  1. Send requests with varying parameters and observe responses
  2. Analyze error messages for expected field names/types
  3. Use OPTIONS/HEAD to discover allowed methods
  4. Test content negotiation (JSON, XML, form-encoded)
  5. GraphQL: Send introspection query to get full schema

Output: Reconstructed API schema in OpenAPI format.

Step 3: Authentication Analysis

bash
python scripts/auth_analyzer.py --api-base {api_url}

Detect and test:

  • JWT tokens: Decode, test none algorithm, key confusion (RS256->HS256), weak secrets, claim tampering
  • API keys: Test in different positions (header, query, body), check for key leakage
  • OAuth flows: Test for open redirect in callback, token leakage, PKCE bypass
  • Session tokens: Predictability, fixation, rotation on privilege change
  • No auth: Endpoints accessible without any authentication

Step 4: Authorization Testing (BOLA/BFLA)

bash
python scripts/authz_tester.py --schema {schema_file} --token {user_token}

BOLA (Broken Object-Level Authorization): For every endpoint with an object ID:

  1. Create resource as User A, note the ID
  2. Access that ID as User B (different token)
  3. If User B can read/modify/delete User A's resource = BOLA

BFLA (Broken Function-Level Authorization):

  1. Map endpoints by intended role (user vs admin)
  2. Test admin endpoints with regular user token
  3. Test all HTTP methods (GET, POST, PUT, DELETE, PATCH) on each endpoint

Step 5: Mass Assignment Testing

bash
python scripts/mass_assignment.py --schema {schema_file} --token {token}

For each creation/update endpoint:

  1. Send normal request, note accepted fields
  2. Add extra fields: role, isAdmin, price, discount, verified, approved, permissions
  3. Check if extra fields are processed
  4. Test with nested objects: {"user": {"role": "admin"}}

Step 6: Rate Limiting and Resource Testing

bash
python scripts/rate_limiter.py --api-base {api_url}

Test:

  • Send 100+ rapid requests to each endpoint
  • Check for 429 responses or rate limit headers
  • If rate limited: test bypass via IP rotation headers (X-Forwarded-For, X-Real-IP)
  • Test resource-intensive endpoints for DoS potential (large pagination, deep queries)
  • GraphQL: Test query batching, nested query depth, alias-based multiplication

Step 7: Business Logic Testing

bash
python scripts/logic_tester.py --schema {schema_file} --token {token}

Context-aware tests:

  • E-commerce: Price manipulation, quantity overflow, currency confusion, coupon stacking
  • Financial: Double spending via race conditions, negative amount transfer
  • User management: Self-privilege escalation, email verification bypass, 2FA bypass
  • File handling: Path traversal in file names, SSRF in URL fields, XXE in XML endpoints

Step 8: Report Generation

bash
python scripts/api_report.py --findings {findings_dir}

Per-finding output:

  • Vulnerability type and OWASP API Security Top 10 mapping
  • Affected endpoint and method
  • Request/response showing the issue
  • curl command for reproduction
  • Impact assessment
  • Remediation recommendation

Error Handling

No API Documentation Found

If no Swagger/OpenAPI exists:

  1. Schema reconstruction from observed behavior (Step 2)
  2. Use error messages as hints for field discovery
  3. Inform user of reduced coverage without docs

Authentication Required

  1. Ask user for API token/credentials
  2. Support: Bearer token, API key, Basic auth, OAuth token
  3. Usage: --token "Bearer abc123" or --api-key "key123"

GraphQL Introspection Disabled

If introspection is blocked:

  1. Use field suggestion: send partial queries, use error messages to discover fields
  2. Use clairvoyance-style wordlist-based field discovery
  3. Check for GraphQL Voyager/Playground on alternative paths

Examples

Example 1: Full API Assessment

User says: "Test the API at api.example.com"

Actions:

  1. Discover all endpoints
  2. Reconstruct schema
  3. Test auth, BOLA, BFLA, mass assignment
  4. Test rate limiting
  5. Generate comprehensive report

Example 2: GraphQL Security Audit

User says: "Audit the GraphQL API at example.com/graphql"

Actions:

  1. Send introspection query
  2. Map all queries and mutations
  3. Test authorization on each mutation
  4. Test query depth/complexity limits
  5. Test batching attacks
  6. Report findings

Example 3: JWT Penetration Test

User says: "Test JWT security on the API"

Actions:

  1. Capture JWT from auth flow
  2. Decode and analyze claims
  3. Test none algorithm
  4. Test RS256->HS256 confusion
  5. Brute-force weak secrets
  6. Test claim manipulation (user ID, role, expiry)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Api Breaker AI skill do?

Automated API security testing starting from domains. Discovers REST, GraphQL, and SOAP APIs, reconstructs schemas, and tests for BOLA/IDOR, BFLA, mass assignment, JWT attacks, rate limiting bypass, and business logic flaws. Use when user asks to "test API security", "break API", "find API vulnerabilities", "test GraphQL", "test JWT", "API pentest", or provides domains with API endpoints. For authorized testing only.

Why use Api Breaker on TypingMind?

Because you install it once and use it with any model. Api Breaker is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Api Breaker in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Orizon-eu/claude-code-pentest/tree/main/api-breaker. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Api Breaker?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Api Breaker?

As many as you like. As long as a model supports skills, you can use Api Breaker with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Api Breaker AI skill free?

Yes. It is published on GitHub by Orizon-eu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇