- Reject control chars and backslashes in redirect targets - Use proxy-added X-Forwarded-For entry, cap limiter keys - Block private/loopback/link-local addresses on image fetch - HSTS over HTTPS, generic error on custom CSS - x/crypto 0.59.0, pin golang:1.27.4-alpine3.24 and alpine:3.24.4 - Compose: cap_drop ALL, no-new-privileges, read_only, limits, labels - Add SECURITY.md, CHANGELOG.md, TODO.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
589 B
Markdown
16 lines
589 B
Markdown
# Security
|
|
|
|
## Reporting
|
|
|
|
Found a problem? Open an issue on the Gitea repo, or if it's sensitive, contact the repo owner directly before posting details.
|
|
|
|
## Supported versions
|
|
|
|
Only the latest commit on `main` gets fixes.
|
|
|
|
## Known accepted risks
|
|
|
|
| Risk | Why | Accepted by | Date |
|
|
|---|---|---|---|
|
|
| Container starts as root (trivy DS-0002) | The entrypoint needs root to chown `/data` and `/backups` to PUID:PGID, then drops to that user with su-exec. Compose drops all other capabilities and sets `no-new-privileges`. | Chris (deploy go-ahead after the sweep report) | 2026-11-23 |
|