Juan Denis and Claude Opus 4.8
5598a1c6e2
fix(agent): rate-limit the poll /connect auth path
...
The WebSocket auth path (agent_gateway.on_auth) throttles auth attempts
per-IP via _check_auth_rate_limit, but the REST long-poll equivalent,
POST /api/v1/agent/connect, did full HMAC auth with no throttle. That left an
unthrottled credential-stuffing surface against agent auth while the WS path
stayed protected.
connect() now calls the same shared limiter before verify_agent_auth and
returns 429 when the per-IP window is exhausted. Adds a regression test that
drives the real endpoint through the limit.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-05-31 14:46:47 -04:00
..
2026-01-17 04:22:12 -05:00
2026-03-24 05:53:20 -04:00
2026-03-23 02:15:16 -04:00
2026-03-23 02:08:00 -04:00
2026-05-31 14:46:47 -04:00
2026-03-07 12:15:02 -05:00
2026-03-04 01:53:46 -05:00
2026-05-03 07:07:57 -04:00
2026-03-23 01:58:28 -04:00
2026-03-02 22:48:29 -05:00
2026-01-18 04:20:30 -05:00
2026-03-24 06:10:58 -04:00
2026-03-03 22:11:30 -05:00
2026-03-23 22:00:36 -04:00
2026-01-18 04:20:30 -05:00
2026-04-29 00:39:16 -04:00
2026-03-23 02:18:26 -04:00
2026-05-03 06:12:39 -04:00
2026-03-04 01:53:46 -05:00
2026-01-19 19:49:12 -05:00
2026-03-04 02:34:49 -05:00
2026-01-18 00:40:41 -05:00
2026-01-27 19:35:21 -05:00
2026-03-04 01:53:46 -05:00
2026-03-23 22:00:36 -04:00
2026-02-08 23:14:13 -05:00
2026-03-24 06:10:58 -04:00
2026-05-01 00:37:48 -04:00
2026-02-08 23:14:13 -05:00
2026-02-08 23:14:13 -05:00
2026-03-04 02:34:49 -05:00
2026-01-17 04:22:12 -05:00
2026-05-03 17:17:32 -04:00
2026-02-08 23:14:13 -05:00
2026-03-04 01:37:22 -05:00
2026-03-24 06:10:58 -04:00
2026-05-03 20:10:18 -04:00
2026-03-23 02:19:33 -04:00
2026-01-17 04:22:12 -05:00
2026-01-18 03:10:55 -05:00
2026-04-29 03:08:21 -04:00
2026-03-23 02:27:52 -04:00
2026-01-17 04:22:12 -05:00
2026-05-17 11:21:08 -04:00
2026-02-08 23:14:13 -05:00
2026-01-17 04:22:12 -05:00
2026-01-17 04:22:12 -05:00
2026-01-21 21:58:59 -05:00
2026-03-23 02:11:16 -04:00
2026-05-02 00:51:47 -04:00
2026-05-03 07:07:57 -04:00
2026-01-25 22:48:12 -05:00
2026-05-03 15:57:02 -04:00
2026-03-23 02:22:53 -04:00
2026-02-08 23:14:13 -05:00
2026-04-29 00:39:16 -04:00
2026-03-23 01:58:28 -04:00
2026-01-17 13:37:40 -05:00
2026-01-25 20:01:07 -05:00
2026-01-28 22:15:57 -05:00
2026-03-23 01:30:51 -04:00
2026-03-24 06:10:58 -04:00