nextjs-authentication

Pass

Audited by Gen Agent Trust Hub on Jun 13, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides documentation and code examples for implementing authentication in Next.js applications using industry-standard libraries.
  • [SAFE]: Password security is handled correctly using bcryptjs for hashing before database storage and secure comparison during login.
  • [SAFE]: Input validation is properly implemented using zod for registration forms, ensuring data integrity on the server side.
  • [SAFE]: Sensitive information such as authentication secrets and provider credentials are managed via environment variables. The skill uses placeholders and provides instructions for generating secure secrets.
  • [SAFE]: The skill demonstrates robust authorization patterns, including Middleware-based global protection, Server Component guards, and Role-Based Access Control (RBAC).
  • [SAFE]: All identified dependencies are well-known, legitimate packages for the described functionality.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 13, 2026, 03:39 AM
Security Audit — agent-trust-hub — nextjs-authentication