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

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.

agentmods
npx agentmods add skills/orizon-eu/claude-code-pentest/api-breaker
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00051 $0.00766
Sonnet 5 $0.00020 $0.00306
Haiku 4.5 $0.00010 $0.00153

Measured 5d ago against content hash 40a49f394ee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 (24 stars, last pushed 5mo ago), licensed MIT. It adds 101 tokens to every session and 1,531 once invoked, about $0.0005 per session on Opus 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

cloudflare

Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task.

FrancescoStabile/numasec · 68 tokens

forensics-kit

Digital forensics and incident response toolbox. Load when the operator asks about a pcap, a binary, a memory dump, a suspicious file, malware triage, IOC hunting, or post-incident analysis. Covers network (tshark), binaries (radare2, strings, binwalk, file, exiftool), memory (volatility), and pattern matching (YARA).…

FrancescoStabile/numasec · 101 tokens

passive-osint

Passive reconnaissance against a target without sending traffic that could alert it. Load when the engagement starts, when you only know a domain/email/username, when scope is unclear, or when you need historical surface area. Covers subdomain enumeration (crt.sh, subfinder), historical archives (wayback), DNS posture…

FrancescoStabile/numasec · 99 tokens

agents-sdk

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks.

FrancescoStabile/numasec · 59 tokens

mobile-pentest

Mobile app pentest for bug bounty (Android APK + iOS IPA) — runtime-first workflow: install app, proxy through Burp/mitmproxy, drive the UI, capture packets, then test the API exactly like a web target; escalate to decompile (apktool/jadx) and Frida/objection only when traffic is SSL-pinned, encrypted, or absent.…

Awarexone/Agentic-Bug-Hunter · 205 tokens

bugcrowd-reporting

Bugcrowd-specific reporting tactics complementing report-writing: VRT category search-and-fallback strategy when no exact match exists, manual severity override when VRT defaults underrate impact, severity-request paragraph as first body section, OOS-clause rebuttal templates (rate limiting on auth-flow endpoints…

elementalsouls/Claude-BugHunter · 171 tokens