Ryft API Authorization Quality (RAQ)
API authorization quality gate: BOLA, injection and unauthenticated access. Zero outbound.
Hosted MCP Server
npx add-mcp 'https://mcp.ryftapi.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
{
"gate": "api-authz-quality",
"mode": "uploaded-capture-analysis (no outbound)",
"verdict": "FAIL",
"identities_distinct": true,
"dimensions": [
{ "id": "bola", "status": "FAIL",
"severity": "high", "owasp_api": "API1:2023",
"cwe": "CWE-639",
"evidence": "/orders/1001 returned 2xx to BOTH
identity A and identity B — object-level
authorization is not enforced." },
{ "id": "injection", "status": "NOT_ASSESSABLE" }
]
}
Example quality_gate output — a real BOLA, named with its evidence.
BOLA — can identity A reach identity B's objects?
OWASP API1:2023 · CWE-639
Broken object-level authorization is the most common and most damaging API flaw: an endpoint checks that you're logged in, but not that the object you asked for is yours. RAQ evaluates it the honest way — with two distinct identities. It asks whether identity A can read or act on identity B's objects, and when the uploaded evidence shows it did, the verdict is FAIL with the offending call named.
Pass the same identity twice and BOLA can't be judged — so the check returns NOT-ASSESSABLE, never a vacuous pass.
-
Two identities, not one
BOLA is evaluated between exactly two distinct principals — different users or roles whose access should be isolated. -
Evidence, not a guess
A FAIL names the exact call — e.g. a per-object resource that returned 2xx to both identities — with severity, confidence, OWASP and CWE.
Three authorization checks, one verdict
RAQ judges only the data you provide; it never calls your API.
-
BOLA / IDOR Flagship
Broken Object Level Authorization (OWASP API1:2023). Can identity A read or act on identity B's objects? Evaluated with two distinct identities and negative controls. -
Injection-shaped inputs
Surfaces reflected payloads and SQL-error signatures in the captured traffic — the inputs most likely to carry an injection flaw. -
Unauthenticated / broken-auth
Flags endpoints reachable without a valid identity — access that should have required authentication but didn't.
Three answers — and one of them isn't "maybe"
PASS FAIL NOT-ASSESSABLE
-
PASS
The uploaded evidence shows the check is satisfied — e.g. identity A was correctly denied identity B's objects. Safe on this check, for the assessed surface. -
FAIL
The evidence shows a real authorization problem — e.g. identity A reached identity B's object. Theevidencefield names the offending call. Fix before shipping. -
NOT-ASSESSABLE
Not enough evidence to judge — e.g. only one identity's traffic is present. Not a pass. RAQ never guesses a PASS: add the missing identity or traffic and re-run.
Does the RAQ server call my API?
No — in either workflow. Every tool is annotated read-only (readOnlyHint: true) and there is no network import anywhere in the server's path, so the hosted server sends no request to your API, your network, or any third party (zero SSRF / open-proxy exposure). In the active workflow the live requests are sent by your own Claude, which is local to you — that's how RAQ reaches localhost, internal, and IP-restricted APIs while the hosted server still makes zero outbound requests.
Your Claude drives the traffic Active
For APIs on localhost, an internal network, or behind an IP allowlist — your Claude is local to you, so it reaches what a hosted server can't.
- 1
RAQ plans the probe
Claude callsplan_probewith your collection, the targetbase_url, and two identities. RAQ returns the exact requests — each endpoint as identity A, as identity B, unauthenticated, and with a mutated input. The server sends nothing. - 2
Your Claude runs them
Claude executes those requests against your API with its own tools and records each response. Every URL is host-locked to yourbase_url, so a collection can't steer it off-target. - 3
RAQ judges the result
Claude callsjudge_probewith the responses; the same deterministic gate returns PASS / FAIL / NOT-ASSESSABLE — RAQ generated the evidence, without the hosted server ever making a request.
What RAQ needs to run
Required
A collection
A Postman Collection v2.1 export (JSON) — the list of API requests, with methods, URLs, headers and bodies, that defines the surface to assess.
Required
Two distinct identities
Two different principals — a bearer token / JWT, a header block, or a Postman environment. They must be different, or BOLA can't be assessed.
Capture or base_url
Evidence — or let Claude get it
Grade a HAR capture of both identities' real session, or give a base_url and let your Claude actively run the probe for you. Without either, the active checks are NOT-ASSESSABLE — never a vacuous pass.
Add it to Claude in three steps
- 1
Add the connector
In Claude, open Customize → Connectors → Add custom connector and pastehttps://mcp.ryftapi.com/mcp. For authentication choose "No sign-in," then add a request header namedx-api-keyset to your key (get one below). - 2
Point it at your API
Paste your Postman collection and two identities, then either upload a HAR capture to grade, or give the targetbase_urland ask Claude to actively test it — Claude runs the requests, RAQ judges them. - 3
Read the verdict
Claude invokesquality_gateand returns the per-check PASS / FAIL / NOT-ASSESSABLE result with the evidence behind each one.
Start free. Pay only for what you check.
The billable unit is one endpoint-check — a quality_gate run consumes one check per endpoint it assesses.
-
10 free / month
Ten free endpoint-checks every month, per account — no card required. -
$0.10 / endpoint-check
Beyond the free tier, from prepaid credits — with a hard stop at a zero balance. No surprise overage. -
Bring your own key
Each user supplies their own API key, sent as thex-api-keyheader. The server stores only a hash of it.
Pricing is per endpoint-check. The connector itself is free to add; you only need a key to run the gate.