auth-implementation-patterns
Pass
Audited by Gen Agent Trust Hub on Mar 10, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill contains educational code patterns for authentication and authorization (JWT, OAuth2, Sessions, RBAC). All sensitive parameters like secrets and API keys are correctly handled via environment variables (e.g.,
process.env.JWT_SECRET). - [SAFE]: The code snippets demonstrate security best practices, including password hashing with
bcryptusing appropriate salt rounds, input validation withzod, and rate limiting withexpress-rate-limit.
Audit Metadata