Skip to content

Security: vortexsinclair/infinity_ranking

Security

SECURITY.md

Security Policy

Reporting Vulnerabilities

If you discover a security vulnerability, please report it responsibly:

  1. Do NOT open a public GitHub issue
  2. Email security details to the maintainers
  3. Include steps to reproduce
  4. Allow reasonable time for a fix before public disclosure

Security Measures

Authentication

  • Better Auth with secure session management
  • OAuth support (GitHub, Discord)
  • bcrypt password hashing
  • Session expiration and rotation

Data Protection

  • API keys encrypted with AES-256-GCM
  • CSRF protection on all state-changing operations
  • Input validation with Zod on all endpoints
  • SQL injection prevention via Prisma ORM

HTTP Security

  • X-Frame-Options: DENY
  • X-Content-Type-Options: nosniff
  • Referrer-Policy: strict-origin-when-cross-origin
  • X-XSS-Protection: 1; mode=block
  • Permissions-Policy configured

API Security

  • Rate limiting on all endpoints
  • API keys never exposed to frontend
  • All Roblox API calls proxied through backend
  • Error messages sanitized in production

Supported Versions

Version Supported
1.0.x Yes

Best Practices for Self-Hosters

  1. Use HTTPS in production
  2. Set a strong AUTH_SECRET
  3. Use a 32-byte hex ENCRYPTION_KEY
  4. Keep dependencies updated
  5. Use environment variables, not hardcoded secrets
  6. Set up database backups
  7. Monitor API rate limits

There aren't any published security advisories