mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-12-03 03:44:54 +00:00
- Validate redirect_uris at /register: reject non-http/https schemes and
registrations with no valid URIs (Finding 5)
- Use per-integration rate limiter keys (e.g. "health/register") instead of
global keys to prevent cross-integration interference (Finding 6)
- Validate integration path parameter against ^[a-zA-Z0-9_-]{1,64}$ regex
at all route handlers to prevent path traversal (Finding 7)
- Finding 8 (SQLCipher for token DB) deferred: no SQLCipher dependency yet,
tokens already hashed
- Add security headers (X-Frame-Options, CSP, nosniff, HSTS) to the
/authorize HTML response (Finding 9)
- Add per-integration rate limiting to /mcp endpoint via separate
mcpRateLimiter parameter (Finding 10)
- Increase display/user code entropy from ~41 bits (4+4 chars) to ~61 bits
(6+6 chars) and switch from kotlin.random.Random to java.security.SecureRandom
in both AuthorizationCodeManager and DeviceCodeManager (Finding 11)
- Finding 12 (origin validation in device code approval) confirmed mitigated
by phone-side approval UI requiring physical user interaction
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| bridge | ||
| mcp | ||
| tunnel | ||