auth-patterns

Pass

Audited by Gen Agent Trust Hub on Oct 7, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill correctly implements security best practices for authentication, including the use of environment variables for secrets, secure HttpOnly cookie configurations, and password hashing using established libraries like bcryptjs.
  • [SAFE]: All external dependencies listed (such as next-auth, jose, zod, and @upstash/ratelimit) are well-known, trusted packages commonly used in the Next.js ecosystem for authentication and security tasks.
  • [SAFE]: Middleware and session management patterns follow standard security protocols for verifying JWT tokens and implementing role-based access control (RBAC) without introducing privilege escalation risks.
  • [SAFE]: No evidence of prompt injection, data exfiltration, obfuscation, or unauthorized command execution was found across any of the files.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 7, 2026, 03:27 AM