RungLab · 100% Client-Side · Zero Server Upload

Diff OpenAPI specs, catch OWASP risks & price your AI/MCP tool tax.

Deterministic OpenAPI 2.0, 3.0 & 3.1 breaking-change diff (21 rules + SemVer gate), OWASP API Top 10 auditor, SARIF 2.1.0 generator, and MCP tool-definition token calculator — running entirely in your browser tab.

$ npx github:Gong-shijie/specdiff audit openapi.yaml
Open Diff Workbench Bulk Cloud API (Apify)
OpenAPI 3.1.0 OpenAPI 3.0.x Swagger 2.0 21 Breaking Rules + 2 Sec Regressions OWASP API Top 10 SARIF 2.1.0 & PR Markdown

Interactive OpenAPI Diff, Security & AI Token Workbench

Compare Base vs. Target specs or audit a single Swagger/OpenAPI YAML or JSON file locally with drag-and-drop support.

100% Client-Side · Zero Server Upload · Your OpenAPI specs never leave this browser tab.
Mode
Presets
Base Spec (v1 / Current)
Drop .yaml / .yml / .json file here
Target Spec (v2 / Proposed)
Drop .yaml / .yml / .json file here
SemVer Bump
—
0 ops
Policy Gate
—
balanced
Audit Score
—
Grade —
Breaking & Security
—
0 regressions
AI / MCP Tool Tax
—
$0.00/mo
AI Agent Cost Simulator · 150 tool turns / day
4-Pillar Audit Breakdown

21 Breaking Rules, OWASP API Top 10 & Cross-Version Normalization

Built for deterministic CI gates without external $ref SSRF, YAML bombs, or false positives across Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1.

21 Breaking + 2 Security Rules

Catches removed endpoints, operationId drift, parameter/body tightening, covariant 2xx response mismatches, OR-auth & OAuth2 scope regressions, and HTTPS→HTTP downgrades.

4-Pillar OWASP & Schema Score

Scores 0–100 across Contract Completeness (30), OWASP API Security (30), Schema Rigor against mass assignment & unbounded arrays (20), and AI/MCP Readiness (20).

Zero-Upload & Bomb Hardened

Blocks YAML alias bombs (maxAliasCount=100), cyclic anchors, deep nesting (>80), and HTML payloads. External $refs are isolated and never fetched over the network.

Rule Family IDs Checks Covered
Operations & Params OAD-BRK-001..009 Removed routes, operationId drift, new required/moved/removed params, contravariant input types, enum narrowing, unified 2.0/3.0/3.1 numeric & string bounds.
Request & 2xx Responses OAD-BRK-010..019 Required body, dropped media types, added required fields, removed 2xx codes/fields, covariant output types (number→integer safe), response nullability & enum expansion.
Auth & Security Regressions OAD-BRK-020..021 · OAD-SEC-001..002 Universal OR-auth & OAuth2 scope preservation, removed/changed security schemes, auth removal/optionality regression, HTTPS→HTTP server downgrade.
OWASP, Schema & AI Readiness OAD-OWASP-* · OAD-SCH-* · OAD-AI-* Unauthenticated writes, query API keys, Basic-over-HTTP, legacy implicit/password OAuth2, missing 429 headers, missing additionalProperties: false, bloated HTML descriptions & >40 tools.

MIT-Licensed Node CLI & GitHub Action

Run the exact same deterministic engine in local pre-commit hooks, PR comments, and GitHub Code Scanning SARIF pipelines.

Node CLI (MIT)
# Diff two specs with strict policy & SARIF 2.1.0 output
npx github:Gong-shijie/specdiff diff v1.yaml v2.yaml \
  --policy strict --format markdown --sarif-file specdiff.sarif

# Single-spec OWASP & AI/MCP token audit
npx github:Gong-shijie/specdiff audit openapi.json --format json
GitHub Action (PR Gate + SARIF)
- uses: Gong-shijie/specdiff@v1
  with:
    base-spec: api/openapi-v1.yaml
    target-spec: api/openapi-v2.yaml
    policy: balanced
    sarif-file: specdiff.sarif
- uses: github/codeql-action/upload-sarif@v3
  if: always()
  with:
    sarif_file: specdiff.sarif

Open-Core Free Forever. Cloud & Done-For-You When You Scale.

Use the browser workbench, CLI, and GitHub Action free under the MIT license — or offload bulk scheduled monitoring and remediation PRs.

Open Core · MIT

Web + CLI + GitHub Action

$0 forever · zero telemetry
  • 100% browser-side diff & OWASP workbench
  • Swagger 2.0, OAS 3.0 & OAS 3.1 normalization
  • Node CLI with Markdown, JSON & SARIF 2.1.0
  • Composite GitHub Action PR & SemVer gate
Launch Workbench
Done-For-You Service

$49 API & MCP Optimization PR

$49 fixed price · pay only if merged
  • Fix OWASP API Top 10 & schema rigor gaps
  • Strip bloated HTML & cut MCP tool token tax
  • Wire SpecDiff + SARIF CI gate in your repo
  • Zero risk: pay only when you merge the PR
Request Optimization PR