Highsrc/auth.ts:23security
String comparison for signature verification is vulnerable to timing attacks.
An attacker can measure the time taken by the string comparison and infer the secret key.
Suggested fix: Use `timingSafeEqual` to compare the buffers.
Confirmedreturn sign(value, secret) === signature; This line directly compares the two strings without any timing protection.
Already commented on by an earlier review