Skip to content

โš ๏ธ ๐•ƒ๐”ธ๐”น Authentication service with embedded security test cases. Demonstrates secure implementations while providing controlled environments for security research.

Notifications You must be signed in to change notification settings

lorenzoporto/secure-auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Secure Auth Lab

Enterprise-grade authentication service with security research components.

Security Score Lab Category License

About This Lab

Production-ready authentication service with embedded security test cases. Demonstrates secure implementations while providing controlled environments for security research.

Security Features

  • RSA-256 signed JWTs
  • Argon2id password hashing
  • Hardware-backed MFA
  • Adaptive rate limiting
  • Anomaly detection
  • Session binding

Research Components

// Configurable security controls for research
type SecurityControls struct {
    TokenSigningMethod jwt.SigningMethod
    PasswordHashCost   int
    MFARequired       bool
    RateLimitBypass   bool  // Research only
}

Architecture

  • Go 1.21+ (Core service)
  • PostgreSQL (User store)
  • Redis (Session management)
  • Kubernetes (Orchestration)
  • Prometheus (Security metrics)

Security Modes

# Production mode (All security controls)
make run-secure

# Research mode (Configurable controls)
make run-research

# Local development
make run-dev

About

โš ๏ธ ๐•ƒ๐”ธ๐”น Authentication service with embedded security test cases. Demonstrates secure implementations while providing controlled environments for security research.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages