Repository navigation
v0.7.30 — OAuth 2.1 + Dynamic Client Registration (#43)
Adds an opt-in (default-OFF) OAuth 2.1 auth subsystem for remote MCP clients, hardened by an adversarial security review.
Implemented: RFC 8414 + RFC 9728 discovery metadata, RFC 7591 Dynamic Client Registration (rate-limited, 100-client cap, redirect_uri validation), authorization-code + PKCE with S256 mandatory (enforced at authorize and token time), SHA-256-hashed client secrets/codes/tokens, single-use 60s codes (atomic compare-and-swap), 1h tokens, audit-wired with no secret leakage.
Security review verdict was SHIP (0 critical/high). Fixed before release: tokens are now bound to credential state (get_userdata existence check + sha256(user_pass) fingerprint), so a stolen token dies on password change or account deletion; auth-code consumption is atomic against concurrent double-spend.
Scoped out (documented): consent-screen UI, refresh tokens, revocation endpoint, scope-to-ability enforcement. Accepted known-low: DCR rate-limit burst and unbounded metadata length (backstopped by the client cap).
+115 tests since prior release (1460 total). free/pro/lint green, safety core untouched.
Closes #43.