clerk-nextjs-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a reference guide and template collection for Next.js authentication patterns using the Clerk SDK. All provided code snippets follow security best practices, such as requiring server-side validation for mutations and ensuring user-scoped cache keys to prevent data leakage.
- [SAFE]: The skill correctly emphasizes the importance of verifying authorization claims (roles and permissions) in addition to authentication status.
- [SAFE]: The author 'clerk' is the official provider of the authentication service described. All external documentation links point to the official
clerk.comdomain or the officialnextjs.orgdocumentation. - [SAFE]: No obfuscation, data exfiltration patterns, or malicious injections were detected. The use of environment variables for keys follows standard security configuration practices.
Audit Metadata