fix: harden auth and MCP request handling - #1467
Conversation
- Token-redemption auth flows honor the same session requirements as sign-in - Credential-management routes require an interactive session - Escape user-supplied fields in transactional email templates - Bound circuit-breaker state and clamp caller-supplied query timeouts - Apply the read-query guards on every MCP execution strategy - Keep auth-cache encryption consistent across processes
|
Change classification: normal — platform or application code changed. A normal change carries a documented automated review on this pull request before merge, in place of a second human approver. The |
|
@claude please review this PR |
|
Claude finished @jfrench9's task in 1m 55s —— View job Reviewing PR #1467
ReviewSolid, well-scoped hardening PR — each change is narrow, has a regression test, and the reasoning is documented in code comments. A few notes below; nothing blocking. Auth session gating (
Circuit breaker (
MCP request handling (
Auth cache (
Email escaping (
Compatibility note: the I did not run |
Summary
Hardening from the September app-tier review, covering auth and MCP request handling.
Compatibility
PUT /v1/user/passwordno longer acceptsX-API-Key; it takes a sign-in session. No frontend, SDK facade or integration-template path uses a key there, so this is generated-tier surface and rides a client minor.Tests
just test-allpasses.🤖 Generated with Claude Code