Please do not open public GitHub issues for security vulnerabilities.
Instead, email fortunnels@yandex.ru with details of the issue.
- Vulnerability type (e.g., XSS, SQL injection, etc.)
- Full path to the affected file
- Description of the issue
- Potential impact
- Steps to reproduce
- Suggested fix (if any)
- We acknowledge receipt within 48 hours
- We assess the issue and provide status within 7 days
- We fix the vulnerability and ship a patch
- We publish a security advisory after the fix
- All connections to the server use HTTPS (TLS 1.2+)
- Optional stream encryption (PSK) is supported
- XChaCha20-Poly1305 is used for stream encryption
- PSK is never written to disk
- Tokens and passwords can be provided via environment variables, files, or stdin
- Prefer environment variables, files, or stdin over CLI flags
-
Use long random PSKs:
./bin/client 8000 -encrypt -psk "$(openssl rand -hex 32)" -
Store secrets in environment variables:
export FORTUNNELS_TOKEN="your-token" export FORTUNNELS_PSK="your-psk"
-
Use files or stdin for secrets:
./bin/client 8000 -token-file ./token.txt -psk-stdin
-
Do not reuse a PSK across tunnels
-
Keep the client up to date to receive the latest security fixes
We thank everyone who responsibly reports security vulnerabilities.