Commit Graph

2 Commits

Author SHA1 Message Date
Chris Farhood 1f6fd7acfe security: allowlist DCR redirect_uri hosts (fixes consent-phishing / account takeover)
build / test (push) Successful in 41s
build / build (push) Successful in 14s
Unauthenticated DCR previously accepted any redirect_uri; combined with the
auto-approving /consent handler an attacker could register a client pointing at
their domain, phish a logged-in user, and silently receive an auth code for the
victim's identity. Reject non-allowlisted redirect_uri hosts at registration
(default: claude.ai, claude.com, and the BETTER_AUTH_URL/portal host).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07 09:33:24 -04:00
Chris Farhood 46bf005ec3 cleanup: remove DEBUG_EMAIL_PASSWORD email/password backdoor; add MIT LICENSE + .env.example
build / test (push) Failing after 12m52s
build / build (push) Has been skipped
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07 07:53:53 -04:00