arkon and Claude Opus 4.6
18217268bf
fix: extract QR auth magic numbers into named constants, add 16 security tests
...
Replace hardcoded per-IP rate limit (10) and cookie maxAge (86400) in
system-routes.ts with QR_AUTH_FAILURE_MAX and AUTH_SESSION_TTL_MS/1000
so both auth paths stay in sync if constants change.
Add 16 new tests: grace period boundary precision, base62 charset
validation, current+previous token during grace, stopTokenRotation
state cleanup, rate limit reset, consumed token eviction, full
end-to-end QR flow, per-IP 429, cookie attributes, concurrent race,
regenerate invalidation, URL encoding, path traversal, /q without
param, and session record method:qr.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-01 17:32:02 +01:00
..
2026-03-01 16:27:40 +01:00
2026-03-01 14:33:18 +01:00
2026-01-28 05:20:10 +01:00
2026-02-26 16:44:34 +01:00
2026-01-27 23:15:25 +01:00
2026-02-26 16:44:34 +01:00
2026-02-27 01:13:58 +01:00
2026-02-12 13:44:07 +01:00
2026-02-26 16:44:34 +01:00
2026-03-01 16:50:23 +01:00
2026-02-26 16:44:34 +01:00
2026-03-01 16:50:23 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-12 13:44:07 +01:00
2026-03-01 17:08:41 +01:00
2026-02-28 17:39:44 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-18 12:51:35 +01:00
2026-02-12 13:44:07 +01:00
2026-02-26 15:58:26 +01:00
2026-02-20 15:58:28 +01:00
2026-02-26 16:44:34 +01:00
2026-02-12 18:26:16 +01:00
2026-03-01 17:32:02 +01:00
2026-02-26 16:44:34 +01:00
2026-01-21 22:36:45 +01:00
2026-02-26 16:44:34 +01:00
2026-02-19 14:00:10 +01:00
2026-01-21 14:01:47 +01:00
2026-03-01 16:50:23 +01:00
2026-02-26 16:44:34 +01:00
2026-03-01 16:50:23 +01:00
2026-01-25 07:52:40 +01:00
2026-03-01 14:33:18 +01:00
2026-02-26 16:44:34 +01:00
2026-03-01 14:33:18 +01:00
2026-01-30 17:50:02 +01:00
2026-02-18 18:14:13 +01:00
2026-02-26 16:44:34 +01:00
2026-02-28 17:39:44 +01:00
2026-02-26 16:44:34 +01:00
2026-01-30 17:50:02 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-28 14:45:39 +01:00
2026-01-22 11:30:10 +01:00
2026-02-28 14:45:39 +01:00
2026-02-28 17:39:44 +01:00
2026-02-28 17:39:44 +01:00
2026-01-21 07:19:49 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-02-26 16:44:34 +01:00
2026-01-25 21:29:35 +01:00
2026-03-01 17:17:05 +01:00
2026-01-22 11:30:10 +01:00