Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Breakra

Latest version: v0.4.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
MCP server Transport: stdio Publisher: danbuildss
4 Stars
0 Forks
4 Versions
HTML Repo language

Scan summary

Breakra was last scanned on 27 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest 3 were published on 27 Nov 2026.
  • Findings: No rules fired in version 0.4.0.
  • MCP server: Runs over stdio.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.0 LATEST 27 Nov 2026 No rules fired
0.3.1 27 Nov 2026 No rules fired
0.3.0 27 Nov 2026 No rules fired
0.2.2 20 Nov 2026 Not shown

No rules fired in 0.4.0

Findings

Findings for v0.4.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.4.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

🤖 Using a coding agent? Point it here: read https://breakra.dev/skill.md and follow it to check an OpenAPI change.

CI license price x402 engine OpenAPI


Vision

Breakra is the API safety layer for developers and AI agents. Before you or your coding agent change an API, or upgrade to someone else's, Breakra tells you whether the change may break your callers or the operations you depend on, with evidence, a clear verdict and a recommended fix. It is deterministic and verifiable, free to run locally, and pay-per-use with no account when hosted. Read the full vision and roadmap in VISION.md.

"Safety" here means compatibility: Breakra checks whether a contract change may break existing integrations. It isn't a security vulnerability scanner, and it doesn't read your code.

How it works

Send the old and the new contract. Breakra validates both, diffs them, and classifies every change by who it affects (request or response side) and how (narrowing, widening, removal). The same inputs always give the same analysis_id and the same findings, so a result can be kept with the change that caused it.

Quick start

Endpoint: POST https://x402.bankr.bot/0xb98f0de777eea8c481b64e33d3e0066cea38fa91/breakra-analyze

{ "before": { "openapi": "3.0.3", "…": "…" }, "after": { "openapi": "3.0.3", "…": "…" } }

Same engine, on your machine, nothing sent anywhere. Needs Node.js 20+ (npm package, no dependencies).

npx -y breakra check old.yaml new.yaml                                    # verdict, findings, fixes
npx -y breakra check old.yaml new.yaml --use "GET /orders/{id}" --fail-on review   # only the operations you call
claude mcp add --scope user breakra -- npx -y breakra mcp                 # MCP tool: check_openapi_change

Pin a version in CI or agent configs (npx -y breakra@0.4.0 …). From source instead: git clone --branch v0.4.0 --depth 1 https://github.com/danbuildss/breakra && cd breakra && bun install && bun src/cli.ts check old.yaml new.yaml.

Exit codes: 0 below --fail-on (default block), 1 at or above it, 2 error. --json prints the hosted API's exact result.

Errors say what went wrong, where, and what to do next, without echoing your contract:

INVALID_REQUEST: "after" (new.yaml) is not valid YAML at line 12, column 4.
→ Fix the syntax at that position and run again.

With --json, an error is printed on stdout as the hosted API's error body plus error.hint (still exit 2), so agents can act on the code and the hint.

Give your agent SKILL.md. It covers when to call Breakra, the exact payment terms to check before signing, and how to act on each finding.

git clone https://github.com/danbuildss/breakra && cd breakra && bun install
BREAKRA_KEY_FILE=./wallet.key bun examples/client.ts old.json new.json

examples/client.ts checks the terms before signing (exact, Base, USDC, at most $0.02), signs once and never re-sends with a new payment. Use a dedicated low-balance wallet.

curl -i -X POST -H 'content-type: application/json' --data @examples/request.json \
  https://x402.bankr.bot/0xb98f0de777eea8c481b64e33d3e0066cea38fa91/breakra-analyze
# → 402 with the x402 terms in the payment-required header. Paying needs an x402 client.

A real example

Six paths of GitHub's published REST API description, Dec 2025 → Oct 2026: team discussions, tag protection and Copilot org metrics are gone from the contract; the issue timeline gained 13 event types; billing budget fields were dropped from PATCH. Inputs, full output and write-up: demo/github-rest-api/.

What each finding means

compatibility Meaning What to do
breaking Existing callers will fail (a removed operation) Block the release, or ship a new major version
potentially_breaking Some callers may fail: a new required input, a removed or now-optional response field, a new enum value… Review each finding
unknown Changed in a way the rules don't evaluate Review by hand; never treat as safe
compatible Additive; well-behaved callers are unaffected Nothing
non_contract Documentation or metadata only Nothing

Each finding carries a stable rule id, the operation, a location (parameter, status, media type, field), evidence (before/after values), a reason and a recommended_action. Full rule table: RULES.md. Response schema: openapi.json.

How payment works

  • Paid with x402 on Base: exact scheme, USDC, 20000 ($0.02), to Bankr's fee router. Hosted on Bankr x402 Cloud.
  • Only a 200 is charged. Breakra's own errors (invalid input, oversize specs, a JSON error.code) are never charged.
  • A gateway error, timeout or reset is an unknown outcome, not a free error: don't re-sign; wait 60 s and check your wallet's transfers first.
  • Sign once per call. A reused signature is rejected; a new signature is a new charge.

Limits and privacy

  • OpenAPI 3.0.0–3.0.4 and 3.1.0–3.1.2, as JSON objects or JSON/YAML text, inline. Not supported: Swagger 2.0, OpenAPI 3.2, URL inputs.
  • Hosted API: request body ≤ 1 MB; nesting, operation and $ref-expansion limits apply. Over a limit → a free 413 or 422.
  • Free local CLI, MCP server and GitHub Action: up to 25 MB per file, 20,000 operations and 5,000,000 nodes once $refs are expanded, so whole GitHub-scale contracts work (GitHub's full REST description: about 8 s). Contracts whose shared schemas expand far beyond that (Stripe's) are refused with a hint to compare only the paths you use.
  • A oneOf/anyOf with more than 24 options (64 locally) whose options are both replaced and added is refused with SPEC_TOO_COMPLEX: comparing it option by option takes minutes. Unions that only gain or only lose options are checked normally.
  • For bodies over 500 KB, use the direct Bankr URL above rather than breakra.dev/api/analyze: the forward adds a hop with its own proxy timeout.
  • External $refs are never fetched; they're listed in limitations.
  • Submitted contracts are not stored or logged. Logs hold only outcome, size, change count, duration and the paying address.

Docs

breakra.dev Website; agents can fetch /skill.md and /openapi.json there
VISION.md Where Breakra is going, and how we'll judge it
CHANGELOG.md What changed in each release
benchmark/ Benchmark on real API history (GitHub, Stripe) and curated scenarios: how often it blocks, hand-checked findings, known limits
SKILL.md Agent guide: when to call, payment terms, reading results
docs/API.md Request, response and error reference
openapi.json Machine-readable contract of the endpoint
RULES.md Every classification rule (rule set 0.3.0)
examples/ Sample request and response, paying client, curl, GitHub Actions (the official breakra-action, or a plain workflow)
demo/github-rest-api/ Real-world run on GitHub's API description
SECURITY.md Reporting vulnerabilities privately

Development

Requires Bun ≥ 1.4.2.

bun install --frozen-lockfile
bun run check      # typecheck, lint, tests, build, smoke test of the built handler
bun run oracle     # cross-check against oasdiff v1.33.0 (also runs in CI)
Path What
src/core/validate.ts Validation and resource limits
src/core/compare.ts Raw diff via api-smart-diff
src/core/classify.ts The rules
src/index.ts The HTTP handler, built into one file for Bankr (bun run build)
tests/ Rule, validation, handler, docs-drift and metrics tests

Releases and deployment: docs/DEPLOYMENT.md. Project history and decisions live in docs/project/.

We love contributors

The most useful contribution is a wrong finding: a change Breakra misclassified or missed. Open one with the Report a wrong finding template, with a minimal before/after pair. New rules, fixes and docs are welcome too: start with CONTRIBUTING.md.

License

MIT. The built handler bundles api-smart-diff (MIT).

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.danbuildss/breakra

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229