Only the latest release gets security fixes. GoTracker checks GitHub for new releases (Admin → About) so you can see when you're behind.
Please don't open a public issue for security problems. Use GitHub's private reporting instead: Security → Report a vulnerability on this repository.
Include what you found, how to reproduce it, and which version you're running. You'll get a reply as soon as possible; fixes are released as a new version and credited in the release notes unless you'd rather stay anonymous.
Every push and pull request (and a weekly scheduled run) goes through
.github/workflows/security.yml:
| Check | What it looks for |
|---|---|
CodeQL (Go + JavaScript, security-extended queries) |
Injection, path traversal, XSS, unsafe redirects, and similar code-level flaws |
| govulncheck | Known CVEs in Go modules and the standard library that GoTracker actually calls |
| gosec | Go-specific security smells (weak crypto, file permissions, unchecked input in SQL/paths) |
| go vet + tests | Includes a test that renders every page, so template mistakes can't ship |
| Dependency review | Blocks pull requests that add a dependency with a known high-severity vulnerability |
Dependabot also opens pull requests for vulnerable or outdated Go modules and GitHub Actions.
To get the most out of this on GitHub, turn on (Settings → Code security): Dependabot alerts, Dependabot security updates, Code scanning, Secret scanning and Push protection, and Private vulnerability reporting.
go vet ./...
go test ./test/...
go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...- Passwords are hashed with bcrypt; sessions are cryptographically random tokens in
HttpOnly,SameSite=Laxcookies; every form has a CSRF token. - Optional two-factor login (TOTP authenticator codes, single-use, plus hashed one-time recovery codes); failed codes are rate-limited like passwords.
- With the vault on, sensitive fields are encrypted with AES-256-GCM using a key derived from your password (scrypt). See the README for exactly what's covered.
- Optionally the whole database is encrypted at rest (AES-256-GCM, scrypt key) and only ever decrypted in memory; backups are encrypted with it.
- Outgoing requests refuse private, loopback and link-local addresses (checked after DNS resolution, so no rebinding) — user-supplied URLs can't reach your LAN. Redirects only ever go to paths on GoTracker itself. Offline mode blocks every outgoing request.
- Files are only served from inside the data folder or admin-approved media folders; image paths are cleaned and checked before they're read.
- GoTracker makes outgoing requests only to the metadata/sync services you enable, with an honest User-Agent and no personal details.