better-auth

Pass

Audited by Gen Agent Trust Hub on Apr 6, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill documents legitimate authentication and authorization patterns using established and well-known libraries (Better Auth, Drizzle ORM, and TRPC).
  • [SAFE]: Configuration examples correctly use environment variables (e.g., serverEnv.BETTER_AUTH_SECRET) for sensitive values instead of hardcoding credentials.
  • [SAFE]: The skill promotes secure authorization patterns by providing templates for middleware that enforce authentication and role-based access control (e.g., enforceUserIsAdmin, protectedOrganizationAdminProcedure).
  • [SAFE]: Input validation is emphasized through the use of schemas (e.g., Schema.standardSchemaV1) for all protected procedures, reducing the risk of injection or malformed data processing.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 6, 2026, 04:55 AM