backend-auth-patterns
Warn
Audited by Socket on Aug 23, 2026
1 alert found:
SecuritySecurityreferences/auth-passwordless.md
MEDIUMSecurityMEDIUM
references/auth-passwordless.md
No clear evidence of intentional supply-chain malware or obfuscation is present. The code performs sensitive authentication operations, but the provided WebAuthn registration verification logic appears incomplete (returns true without shown cryptographic verification tied to the stored challenge/credential semantics), and the OAuth flow persists access/refresh tokens without demonstrated secure handling in this fragment. These issues are likely to create significant account-takeover/authentication-bypass risk if not mitigated by surrounding code, and therefore represent a high security risk despite low malware likelihood.
Confidence: 60%Severity: 72%
Audit Metadata