Auth Security Review

Audit and improve authentication and authorization logic, including session management and access control.

security
Official
Featured
by RepoBird
Updated 10/18/2025
37 executions
Template Instructions
These instructions will be passed to the AI agent when executing this template

Review and improve authentication/authorization:

  1. Audit authentication logic:

    • Password hashing (use bcrypt/argon2)
    • Session management
    • Token generation and validation
  2. Review authorization:

    • Role-based access control (RBAC)
    • Permission checks
    • Resource ownership validation
  3. Implement improvements:

    • Add multi-factor authentication support
    • Implement secure session invalidation
    • Add brute force protection
    • Improve token expiration handling

Success Criteria

  • Strong password hashing algorithm in use
  • Secure session management implemented
  • RBAC properly enforced on all protected resources
  • Brute force protection active
  • Token expiration and refresh working correctly

Completion Checklist

  • Audit all authentication endpoints
  • Create tests for auth flows and edge cases
  • Document authentication architecture
  • Test authorization on all protected resources
  • Verify session timeout and renewal
Tags
security
authentication
authorization
RBAC
Supported Languages
Any Language