Part 1 of 6. The single most common F-trigger in our 20 Nov 2026 sweep of 1,373 public MCP servers.
What the finding looks like
Your MCP server advertises Dynamic Client Registration per RFC 7591. An agent POSTs a client registration to /oauth/register with some redirect URIs and gets back a client_id plus client_secret. That is the spec.
The failure mode: /oauth/register accepts any https:// redirect URI without allowlist or operator review.
Patchbay verifies live during a scan by POSTing a controlled test URI (https://evil-phishing-site-fake.tld/stolen-codes) against the registration endpoint. If the response comes back 201 Created with full client credentials, the server has shipped open DCR.
Why patchbay grades this an F
Open DCR is RFC 7591-compliant. A strictly-compliant checker would not flag it. Patchbay does, because in production this is the shape of the attack it enables:
- Attacker calls
/oauth/registeron your server withredirect_uri = https://attacker.example. Gets back a validclient_id. - Attacker sends a victim a link to your real
/authorizeendpoint, with the attacker'sclient_id. The consent screen looks legitimate because it IS on your domain. - Victim consents, the auth code redirects to
https://attacker.example. - Attacker exchanges the code for a token with real scope against your API.
The victim never left your domain until the final redirect. Browser history shows your legitimate OAuth flow. This is a phishing path that bypasses every "check the URL bar" rule a user ever learned.
The fix is four lines
Pseudo-code for the DCR handler:
if (!isAllowedRedirectPattern(req.body.redirect_uris)) {
return http400({ error: "invalid_redirect_uri" })
}
if (isNewClientName(req.body.client_name)) {
queueOperatorApproval(req.body)
return http202({ status: "pending_operator_approval" })
}Specifics that matter:
- Allowlist entries are exact prefixes on YOUR domain(s), not wildcard subdomains
- Operator-approval queue can be a Linear ticket, a Slack notification, or a dashboard button
- The consent UI MUST display the exact
client_nameandlogo_urifrom the registration so the victim sees "Attacker App wants access" not just your logo
What happens on next rescan
Patchbay reruns passively against every public MCP server weekly. The fix lands, your grade updates the following Monday. On the hosted plan you get a diff email the day it changes.
Join the Founding 100 waitlist to get the diff email the week your server flips F to C.
Real public examples from the Nov 2026 sweep
- DoneThat (
mcp.donethat.ai): flagged, team responded same week confirming it was on their roadmap. Public report. - Angelcam (
mcp.angelcam.com/readonly): flagged, their AngelBot (an AI agent) forwarded the finding to their API team. Public report.
Audit your own server right now
npx -y @patchbay-nebius/agent audit https://your-mcp.example.com/mcp
The DCR-OPEN-REDIRECT check runs automatically. Grade + SARIF + markdown report in under 20 seconds. MIT licensed. Report URL stays private until you publish it.
Star the repo to track upcoming checks: github.com/GodSmasher/patchbay.
Next in this series: SCOPE-001, why mcp:write for every tool is also an F.