api-breaker

api-breaker is a skill for Claude Code, Codex from Orizon-eu/claude-code-pentest. It costs 101 tokens per session (1,531 once invoked), scanned A, original, MIT.

An automated security-testing toolkit that starts with a website domain, discovers its APIs, reconstructs their schemas, and tests for common API weaknesses. REST, GraphQL, and SOAP are different ways software services exchange data.

In plain words
What is it for?
Authorized testing of APIs for object-level and function-level access flaws, mass assignment, JWT attacks, rate-limit bypasses, and business-logic vulnerabilities.
Why use it?
It helps security testers find undocumented endpoints and test access controls, tokens, request limits, and business rules in one investigation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Authorized testing of APIs for object-level and function-level access flaws, mass assignment, JWT attacks, rate-limit bypasses, and business-logic vulnerabilities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orizon-eu/claude-code-pentest/api-breaker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Orizon-eu/claude-code-pentest --skill api-breaker
Clone the repo
git clone --depth 1 https://github.com/Orizon-eu/claude-code-pentest

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-breaker

README.md
[![agentmods](https://agentmods.dev/badge/skills/orizon-eu/claude-code-pentest/api-breaker/github.svg)](https://agentmods.dev/skills/orizon-eu/claude-code-pentest/api-breaker)
Your own site
<a href="https://agentmods.dev/skills/orizon-eu/claude-code-pentest/api-breaker"><img src="https://agentmods.dev/badge/skills/orizon-eu/claude-code-pentest/api-breaker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-breaker

Your own site · 80×15
<a href="https://agentmods.dev/skills/orizon-eu/claude-code-pentest/api-breaker"><img src="https://agentmods.dev/badge/skills/orizon-eu/claude-code-pentest/api-breaker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.01531
Opus 5.5 $0.00040 $0.00612
Sonnet 5.5 $0.00020 $0.00306
Haiku 4.5 $0.00010 $0.00153

Measured 1mo ago against content hash 40a49f394ee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-breaker scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/api_discovery.py, scripts/api_report.py, scripts/auth_analyzer.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl command for reproduction
api-breaker/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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

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

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)

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

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 185 lines · 101 tokens per session scan A 40a49f394ee0

Subscribe to this mod's changes

api-breaker is a skill published in the GitHub repository Orizon-eu/claude-code-pentest (28 stars, last pushed 7mo ago), licensed MIT. It adds 101 tokens to every session and 1,531 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

graphql-audit

GraphQL security hunting — introspection abuse, field suggestion enumeration (clairvoyance), batching DoS, IDOR via aliasing, auth bypass, injection via arguments, subscription abuse, depth/complexity bombs, and WAF bypass. Covers graphw00f fingerprinting, gqlmap, graphql-cop, and inql. Use when a target exposes a…

Awarexone/Agentic-Bug-Hunter · 92 tokens

hunt-api-misconfig

Hunt API security misconfiguration — mass assignment, prototype pollution, HTTP verb tampering. Mass assignment: send {isadmin:true, role:admin, verified:true} on profile/account/reset endpoints — server blindly applies. JWT signature/crypto forging (alg:none, key confusion, kid/jku) is owned by hunt-jwt-crypto; this…

elementalsouls/Claude-BugHunter · 207 tokens

detecting-api-enumeration-attacks

Detect and prevent API enumeration attacks including BOLA and IDOR exploitation by monitoring sequential identifier access patterns and authorization failures.

xalgorix/xalgorix · 32 tokens

detecting-broken-object-property-level-authorization

Detect and test for OWASP API3:2023 Broken Object Property Level Authorization vulnerabilities including excessive data exposure and mass assignment attacks.

xalgorix/xalgorix · 36 tokens

detecting-shadow-api-endpoints

Discover and inventory shadow API endpoints that operate outside documented specifications using traffic analysis, code scanning, and API discovery platforms.

xalgorix/xalgorix · 30 tokens

exploiting-broken-function-level-authorization

Tests APIs for Broken Function Level Authorization (BFLA) vulnerabilities where regular users can invoke administrative functions or access privileged API endpoints by directly calling them. The tester identifies admin and privileged endpoints, then attempts to access them with regular user credentials by manipulating…

xalgorix/xalgorix · 108 tokens