RSQ (Ryft SQLi Quality) — MCP Connector Docs
Public documentation. Intended URL: https://ryftapi.com/rsq
RSQ is a remote MCP connector that runs a Bayesian, WAF-adaptive SQL-injection scanner from Claude. It returns corroborated findings with ready-to-run PoCs, and the hosted server never sends a request to your target (zero SSRF / open-proxy exposure) — your AI agent is the transport, so it reaches your localhost / internal / IP-restricted targets the hosted server cannot.
RSQ is the SQL-injection sibling of RAQ — two "Ryft _ Quality" MCPs on one chassis, sharing the same plan/judge safe-surface model and the same metered credit wallet.
⚠️ Authorized testing only
RSQ plans and judges tests, but your own agent sends every request — the planned requests are real attack traffic, and you are the one sending them. Use RSQ only against systems you own or for which you hold explicit, documented authorization (your own apps, a signed pentest scope, or a CTF you are entered in). Unauthorized use may violate the U.S. Computer Fraud and Abuse Act and equivalent laws.
What the tool does
The hosted connector exposes pure analysis tools plus the two that drive a scan — none of them sends a request to your target:
plan(authorized, url | request, engine?) — "Plan a SQLi probe" — computes the exact probe requests for a target (boundary-first context detection, the payload matrix, and verification steps) and quotes the endpoint count up front. The server sends nothing — your Claude runs the returned requests.
judge(exchanges) — "Judge a SQLi probe" — takes the request/response pairs your Claude collected and scores them: a linear-scaling time oracle, boolean/error/UNION analysis, and three-layer verification (token round-trip → replay → negation). Returns corroborated findings with confidence and evidence. Also no outbound.
build_poc(finding) — turns a finding into a raw HTTP request, a curl one-liner, and a ready-to-run sqlmap command.
Pure helpers (no network): prior_model (Bayesian detectability + technique ranking), classify_param, generate_payloads, fingerprint (DB engine / WAF from one response), parse_request (raw HTTP → injectable forms), plus the agent-strategist seams strategize / adjudicate / bypass_context.
The activescan/probetools — the ones that would send live attack traffic from the server — are deliberately not exposed on the hosted surface, which is what keeps the connector zero-outbound.
Techniques: error-based, UNION, boolean, and time-based, across MySQL, PostgreSQL, MSSQL, SQLite, and Oracle. Boundary detection pins the injection context in a few cheap probes before spraying payloads (~10× fewer requests).
How to connect
- In Claude, open Customize → Connectors → Add custom connector (or Settings → Connectors).
- Paste the connector URL:
https://rsq.ryftapi.com/mcp - For Authentication, choose "No sign-in" — RSQ uses an API key, not OAuth — then add a request header named
x-api-keyset to your key (the server also accepts the key asAuthorization: Bearer <key>). A missing or invalid key returns 401. - Get a key at https://ryftapi.com (see Pricing below). Each user supplies their own key.
- In a chat, ask Claude to test your app, e.g.:
"Use RSQ to check http://127.0.0.1:8099/item?id=1 for SQL injection — it's my own authorized test box."
Claude will call plan, execute the planned requests against your target, call judge, and report the findings with a PoC.
The workflow — your AI drives the traffic
Because the hosted server sends no attack traffic of its own, your Claude is the transport (local to you, so it reaches localhost / internal / IP-restricted hosts the server cannot):
- Claude calls
planwithauthorized: true, the targeturl(or a raw HTTPrequest), and an optionalengine. It returns the exact requests to run and quotes the endpoint count. - Claude executes those requests against your target with its own tools — it sends the traffic; the RSQ server does not — recording each
{id, parameter, endpoint, kind, payload, status, body}. - Claude calls
judgewith the full list of exchanges; RSQ corroborates the signals (three-layer verification + the time-oracle slope check) and returns the findings. - (Optional) Claude calls
build_pocon a finding for a raw request / curl / sqlmap PoC.
The hosted server makes no outbound request at any step.
Pricing
- Billed $1 per endpoint tested — one charge per distinct endpoint, with every parameter on it (its boundary probes, payloads, and verification) bundled into the one charge, found vulnerable or not.
planquotes the endpoint count up front, so there is no bill-shock.- Prepaid credits, hard stop at a zero balance (no surprise overage).
- Get your key at https://ryftapi.com.
RSQ is currently free while in beta — metering is not yet enforced. The $1/endpoint model above is the launch pricing.
Reading the findings
judge returns a list of corroborated findings. Each carries:
| Field | Meaning |
|---|---|
vulnerable | whether a SQL injection was corroborated for the parameter |
parameter / endpoint | where the injection is |
technique | error / UNION / boolean / token-roundtrip |
confidence | interpretable confidence (hard-capped when WAF-blocked) |
evidence | the specific signal (e.g. a DB error present for the injected input but not the baseline) |
token_confirmed | whether a canary round-trip positively confirmed the injection |
Example (error-based finding):
{
"vulnerable": true,
"finding_count": 1,
"findings": [
{ "parameter": "id", "payload": "'", "confidence": 0.95,
"evidence": ["DB error from sqlite: /unrecognized token:/ in response body (not in baseline)"],
"endpoint": "GET http://127.0.0.1:8099/item", "engine": "sqlite", "token_confirmed": false }
],
"metered_endpoints": 1
}
RSQ is honest about limits: it reports token_confirmed: false when the canary did not round-trip, so a finding reads as a solid detection, not an over-claimed extraction.
The no-outbound guarantee
The hosted server never sends a request to your target. Every hosted tool computes a plan or judges responses; the active scan/probe tools are refused on the hosted surface. The live requests are sent by your own Claude (local to you), so RSQ reaches localhost / internal / IP-restricted targets while the hosted server keeps zero SSRF / open-proxy exposure.
Limits
- You are the transport: RSQ only judges the exchanges your agent returns; it never sends traffic.
- Authorized use is your responsibility: every planned request carries your
authorizedattestation. - Detection-first: RSQ finds SQLi and hands you a working PoC; it does not dump your database for you.
- No persistence guarantee: inputs are analyzed to produce the findings; see the privacy policy at https://ryftapi.com/legal/rsq-privacy for data handling.
- Not a certification: a clean result is a verdict on the tested endpoints, not a warranty.
Support
- Docs: https://ryftapi.com/rsq
- Privacy: https://ryftapi.com/legal/rsq-privacy
- Terms: https://ryftapi.com/legal/rsq-terms
- Email: support@ryftapi.com