Files
ECC/scripts/hooks
Gaurav DubeyandClaude Opus 5.5 5f72adbd83 fix(hooks): try later JWT header candidates after a failed prefix match
A word prefix such as `eyewear_session_` was taken as the only JWT
header candidate; when it failed validation the real header after `_`
was never tried and the token stayed in the command log. Keep scanning
eligible candidates, with a constant-time prefilter and a per-segment
decode cap so long candidate runs stay linear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 03:31:34 +00:00
..