Skip to content

Security: Qballjos/docker-template-manager

Security

SECURITY.md

Security Guide

πŸ”’ What's Protected

Version 1.4.0 includes comprehensive security measures:

  • βœ… API key authentication required
  • βœ… Path traversal attacks blocked
  • βœ… All inputs validated
  • βœ… Security headers enabled
  • βœ… CORS restricted
  • βœ… Dependencies updated
  • βœ… Error messages sanitized

πŸ”‘ API Key

Your API key is like a password - keep it private!

Find Your Key

Docker β†’ Container icon β†’ Logs β†’ Look for:

Generated temporary key: xxxxx

Generate Custom Key

openssl rand -base64 32

Add to container's API_KEY environment variable.


πŸ›‘οΈ Best Practices

  1. Never share your API key
  2. Don't expose port 8889 to internet - Local network only
  3. Use VPN for remote access
  4. Update container regularly
  5. Check logs periodically

πŸ†˜ Issues

"401 Unauthorized"

  • API key missing or wrong
  • Check Docker logs for key

Lost API Key

  1. Check Docker logs first
  2. Or: Stop β†’ Clear API_KEY β†’ Start β†’ New key in logs

πŸ› Report Security Issues

Do NOT open public GitHub issues!

Email maintainer directly or create private security advisory on GitHub.


βœ… Security Checklist

  • API key saved securely
  • FLASK_DEBUG is false
  • Not exposed to internet
  • Container updated
  • Logs monitored

For more details, see CHANGELOG.md

There aren’t any published security advisories