Add Authentication System
Implement secure user authentication system with chosen method and security best practices
npx claude-code-templates@latest --command security/add-authentication-system Scanned by NVIDIA SkillSpector
Automated static analysis (no LLM) · v2.12.0 · 2026-10-23
SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.
No observations.
Learn more about NVIDIA SkillSpector.
Content
Add Authentication System
Implement secure user authentication system: $ARGUMENTS
Current Application State
- Framework detection: @package.json or @requirements.txt or @Cargo.toml
- Existing auth: !
grep -r "auth\|login\|jwt\|session" src/ --include="*.js" --include="*.py" --include="*.rs" | wc -l - Security config: @.env* (check for auth-related variables)
- Database setup: Check for user models or auth tables
Task
Implement comprehensive authentication system with security best practices:
Authentication Methods: Choose from username/password, OAuth 2.0, JWT, SAML, MFA, or passwordless based on $ARGUMENTS
Implementation Areas:
- User Management - Registration, profiles, password policies, account verification
- Authentication Flow - Login/logout, session management, token handling, middleware
- Authorization System - RBAC, permissions, route protection, API security
- Security Hardening - Password hashing, rate limiting, CSRF protection, secure cookies
- Integration - Frontend components, API endpoints, database models, middleware
Security Standards: Implement OWASP authentication guidelines, secure session management, and proper error handling.
Output: Production-ready authentication system with comprehensive security controls and user-friendly interface.