# Security Policy frislit is a self-hosted tunnel server and CLI. Reports about its security are welcome and taken seriously. ## Supported versions Only the latest release gets security fixes; there are no long-term support branches. A report must reproduce on a supported version. Reports that only affect an older release are closed as out of scope, and `main` is the development line, not a supported release. ## Reporting a vulnerability Do not open a public issue. Send the report to and include: - what an attacker gains and who is affected; - the forwarding mode the server runs in (path, subdomain, direct TCP/UDP) and whether a reverse proxy terminates TLS; - the smallest set of steps that shows the problem, with the frislit version, the relevant config (redact secrets) and logs; - sample code, screenshots or recordings if they help. Encrypt the report with the GPG key below if you prefer. Please keep the report private until a fix is released, and give us time to investigate. If the report turns out to be a duplicate you will be credited in the original report. Do not test against servers you do not own, do not read or change data that is not yours, and do not run denial-of-service, spam or social-engineering campaigns. ## What frislit assumes A frislit server is meant to sit behind a reverse proxy that terminates TLS. Two consequences: - `trustProxy` decides whether `X-Forwarded-For`, `X-Forwarded-Proto` and `X-Forwarded-Host` are believed. Turn it on only when nothing but your proxy can reach the port, because the per-tunnel IP allowlist and the login rate limit both rest on the client address. - Everyone who can reach a tunnel's URL can reach whatever it forwards. Per-tunnel passwords and IP rules narrow that down; they do not replace authentication in the application behind the tunnel. ## Our commitment We aim to acknowledge a report within a few days and keep you informed while a fix is prepared. We will credit reporters in the release notes unless you ask us not to. ## PGP public key Use this key to encrypt the mail body. It is valid until 2028-10-18. ``` Key ID: 111D9D904C11D2A2 Type: RSA 4096 Expires: 2028-10-18 Fingerprint: 859C DA3B ACA7 CAD6 C997 B5B6 111D 9D90 4C11 D2A2 User ID: fristy security ``` ``` -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBGrWUBEBEADlEoZPUpxzsmTgbc001VvqfqiYmwIBP3l5Urj56klnxpLpfrlz PYfyFUHotqpZWOVDZ3Oa++2I0pTaGt6ZfNQkeng+7uNHISwS4zspxPxxl1mw/52X r46ZGp4volGsG0frkaWcdBL1BKmJiOoo4fbCFgRdObw8ooMLtIoUmhQUjUoXMI0z N7BtR3GYM9JSTzTJvBOXtf1yNue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