Skip to main content

auth-integration

Provides expert guidance for implementing authentication in applications using Better Auth and NextAuth, including session management and protected routes.

Install this skill

or
80/100

Security score

The auth-integration skill was audited on Feb 28, 2026 and we found 12 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 625

Template literal with variable interpolation in command context

SourceSKILL.md
625className={`h-2 flex-1 rounded ${i <= strength ? colors[strength - 1] : 'bg-gray-200'}`}
medium line 630

Template literal with variable interpolation in command context

SourceSKILL.md
630<p className={`text-sm mt-1 ${colors[strength - 1]?.replace('bg-', 'text-')}`}>
low line 47

Access to .env file

SourceSKILL.md
47clientId: process.env.GOOGLE_CLIENT_ID!,
low line 48

Access to .env file

SourceSKILL.md
48clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
low line 687

Access to .env file

SourceSKILL.md
687# .env.local
low line 689

External URL reference

SourceSKILL.md
689BETTER_AUTH_URL=http://localhost:3000
low line 701

External URL reference

SourceSKILL.md
701- Better Auth: https://www.better-auth.com
low line 702

External URL reference

SourceSKILL.md
702- NextAuth v5: https://authjs.dev
low line 703

External URL reference

SourceSKILL.md
703- OWASP Authentication Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html
low line 704

External URL reference

SourceSKILL.md
704- shadcn/ui Forms: https://ui.shadcn.com/docs/components/form
low line 705

External URL reference

SourceSKILL.md
705- React Hook Form: https://react-hook-form.com
low line 706

External URL reference

SourceSKILL.md
706- Zod Validation: https://zod.dev
Scanned on Feb 28, 2026
View Security Dashboard
Installation guide →