Highsrc/auth.ts:20security
Simplified the verify function to use string comparison, which is not secure for comparing secrets.
The simplified version directly compares strings using ===, which can be vulnerable to timing attacks. Use Buffer.from and timingSafeEqual instead.
Suggested fix: Use Buffer.from and timingSafeEqual to ensure constant-time comparison.
Not checked