haruka and Claude Opus 5.5
ee71c7f379
fix(backend): harden management MCP per review
...
- Reject JSON-RPC batches and non-object bodies before the SDK; return each
tool result once as text and bound the encoded payload (H1).
- Enable MCP only when MCP_PUBLIC_URL is set; drop the frontend URL fallback
and expose a read-only mcp_enabled public setting (M1).
- Expire never-authorized clients after 24h, cap pending registrations
globally, aggregate MCP IP limits by IPv6 /64, and limit registration
bodies to 4 KiB (M2).
- Revoke MCP grants with revoke-all-sessions and always require step-up for
administrator write grants (M3).
- Rate limit /api/v1/mcp per IP before authentication and write last_used_at
at most once per minute (M4).
- Persistently revoke grants when an account is disabled or demoted, derive
result redaction from SensitiveCredentialKeys, allowlist browser sessions
for step-up, audit every MCP read, reject invisible characters in
client_name, and document site-root-only deployment (L1-L5, L7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-28 09:30:23 -04:00
..
2026-07-19 14:42:01 +08:00
2026-10-14 18:34:52 +08:00
2026-10-14 18:34:52 +08:00
2026-07-14 15:00:52 +08:00
2026-09-13 17:23:24 +08:00
2026-10-15 02:06:23 +09:00
2026-07-30 18:03:54 +08:00
2026-07-15 16:13:22 +08:00
2026-10-25 22:08:54 +08:00
2026-07-14 15:00:52 +08:00
2026-09-03 23:32:34 +09:00
2026-09-20 14:39:36 +08:00
2026-08-01 22:11:09 +08:00
2026-07-14 15:00:52 +08:00
2026-09-07 09:20:48 +08:00
2026-07-01 12:21:45 +08:00
2026-10-25 05:52:29 +08:00
2026-07-25 15:37:06 +08:00
2026-07-23 15:50:44 +08:00
2026-09-23 15:26:35 +08:00
2026-09-23 15:26:35 +08:00
2026-07-01 12:21:45 +08:00
2026-07-01 12:21:45 +08:00
2026-03-04 15:22:46 +08:00
2026-07-15 23:58:46 +08:00
2026-07-15 23:58:46 +08:00
2026-08-25 10:34:46 +08:00
2026-09-05 16:05:17 +08:00
2026-10-23 15:24:24 +08:00
2026-09-07 09:20:48 +08:00
2026-09-23 01:24:59 +08:00
2026-09-23 01:24:59 +08:00
2026-04-09 18:14:28 +08:00
2026-10-23 19:16:57 +08:00
2026-02-11 01:23:21 +08:00
2026-04-27 16:47:44 +08:00
2026-04-27 16:47:44 +08:00
2026-10-28 09:30:23 -04:00
2026-09-18 06:56:27 +08:00
2026-07-14 15:00:52 +08:00
2026-10-02 09:37:30 +08:00
2026-10-09 10:10:33 +08:00
2026-07-16 16:30:19 +08:00
2026-09-11 10:05:24 +08:00
2026-07-14 12:24:42 +08:00
2026-09-29 11:41:33 -04:00
2026-09-29 11:41:33 -04:00
2026-08-15 10:37:51 +00:00
2026-06-10 14:16:51 +08:00
2026-09-19 20:52:31 -04:00
2026-09-19 20:52:31 -04:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-09-28 14:48:42 +08:00
2026-08-28 23:32:11 +08:00
2026-07-10 11:43:44 +08:00
2026-09-28 14:48:42 +08:00
2026-09-28 14:48:42 +08:00
2026-09-28 14:48:42 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:05:54 +08:00
2026-02-10 11:42:39 +08:00
2026-02-24 20:04:05 +08:00
2026-08-07 12:38:49 +08:00
2026-08-07 16:36:12 +08:00
2026-09-06 08:11:23 +08:00
2026-09-02 11:50:33 +08:00
2026-09-02 11:50:33 +08:00
2026-08-08 01:07:19 +08:00
2026-08-24 12:02:53 +08:00
2026-07-16 18:18:28 +08:00
2026-08-30 16:36:13 +08:00
2026-09-01 04:34:24 +09:00
2026-10-09 10:11:06 +08:00
2026-08-31 19:21:31 +08:00
2026-09-07 18:33:39 +08:00
2026-10-24 11:35:27 +08:00
2026-03-04 15:22:46 +08:00
2026-03-04 13:45:49 +08:00
2026-02-23 12:45:37 +08:00
2026-10-23 19:16:57 +08:00
2026-09-20 14:38:29 +08:00
2026-08-02 21:32:31 +08:00
2026-09-20 14:38:29 +08:00
2026-09-20 15:47:53 +08:00
2026-09-20 15:47:53 +08:00
2026-06-08 00:01:30 +08:00
2026-07-18 00:11:18 +08:00
2026-10-22 16:37:56 +00:00
2026-07-14 14:55:30 +08:00
2026-07-18 00:11:18 +08:00
2026-07-18 00:11:18 +08:00
2026-07-02 20:04:47 +00:00
2026-02-12 16:27:29 +08:00
2026-02-12 16:27:29 +08:00
2026-03-04 13:45:49 +08:00
2026-07-14 01:29:46 +08:00
2026-07-14 01:29:46 +08:00
2026-07-14 01:29:30 +08:00
2026-07-23 10:26:46 +08:00
2026-10-02 00:25:41 +08:00
2026-10-09 10:11:06 +08:00
2026-09-19 11:25:56 +08:00
2026-10-23 19:16:57 +08:00
2026-09-13 17:23:24 +08:00
2026-04-09 18:14:28 +08:00
2026-09-13 17:23:24 +08:00
2026-10-23 19:16:57 +08:00
2026-09-08 13:38:41 +08:00
2026-04-09 18:14:28 +08:00
2026-05-19 15:53:28 +08:00
2026-09-05 23:56:59 +08:00
2026-03-08 06:59:53 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-10-23 19:16:57 +08:00
2026-02-07 19:46:42 +08:00
2026-09-29 01:50:21 +08:00
2026-07-16 00:40:46 +08:00
2026-06-26 16:19:41 +08:00
2026-05-19 15:27:47 +08:00
2026-08-29 17:28:00 +08:00
2026-08-29 17:28:00 +08:00
2026-09-13 00:14:16 -04:00
2026-09-11 00:50:17 +08:00
2026-08-04 15:09:29 +08:00
2026-10-02 00:25:41 +08:00
2026-10-23 19:16:57 +08:00
2026-07-20 00:09:21 +08:00
2026-10-28 09:30:23 -04:00
2026-10-02 00:25:41 +08:00
2026-03-11 16:46:58 +08:00
2026-03-11 16:46:58 +08:00
2026-09-13 12:33:35 +08:00
2026-10-23 19:16:57 +08:00
2026-07-19 22:40:44 +08:00
2026-07-19 22:40:44 +08:00
2026-03-27 14:33:05 +08:00
2026-02-28 15:01:20 +08:00
2026-08-28 23:32:11 +08:00
2026-05-30 17:52:18 +08:00
2026-04-09 18:14:28 +08:00
2026-10-23 19:16:57 +08:00
2026-05-30 18:56:08 +08:00
2026-08-28 23:32:11 +08:00
2026-03-04 13:45:49 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-10-23 19:16:57 +08:00
2026-09-10 16:41:58 +08:00
2026-05-26 10:49:20 +08:00