auth-implementation-patterns
Pass
Audited by Gen Agent Trust Hub on Jul 27, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as an educational resource for authentication and authorization, providing boilerplate code and best practices.
- [SAFE]: Secret management within the code snippets follows best practices by utilizing environment variables (
process.env) rather than hardcoding credentials. - [SAFE]: The implementation examples correctly demonstrate essential security controls such as password hashing with bcrypt, input validation with Zod, and rate limiting to prevent brute-force attacks.
- [SAFE]: Referenced dependencies are established, well-known libraries in the Node.js ecosystem (e.g., Passport.js, Express, JSONWebToken).
Audit Metadata