Security
Network security
Operational| Layer | Configuration |
|---|---|
| OVH Edge Firewall | Allows inbound TCP 22, 80, 443, 2222; final deny-all for other IPv4 traffic |
| UFW | Allows the same four ports; default incoming policy is deny |
| SSH | Key authentication only; password authentication disabled |
| Fail2ban | Installed and active |
Ports published by Docker containers bypass UFW rules. The OVH Edge Firewall is what keeps additional container ports unreachable from the Internet. Any change to the Edge Firewall must take this into account.
Secrets
Never store or commit passwords, API keys, access tokens, private keys or production credentials — in code or in documentation.
Documentation portal access
The documentation portal must remain private (PROJECT_CONTEXT.md §16,
migrated here on 2026-10-03).
- HTTP Basic Authentication was configured on the Coolify application (Traefik) on 2026-10-02 as a temporary protection; credentials are managed in Coolify only and are never written in documentation.
- Planned Authentication and authorization in front of Docusaurus with Authentik + OIDC/OAuth2/SSO, replacing Basic Auth. Possible documentation UI roles: Admin, Developer, Viewer; GitLab remains responsible for repository permissions.
Unauthenticated requests to https://docs.hoggar.app/ and its pages receive
HTTP 401 with a Basic Auth challenge; plain HTTP redirects to HTTPS.
The owner enabled Basic Auth in Coolify and it was applied with an
application restart on 2026-10-03.
History: on 2026-10-03 at 01:05 and 01:47 UTC the portal answered HTTP 200 without credentials (content publicly reachable); the protection documented on 2026-10-02 was not effective until the 02:11 restart.
GitLab sign-up
https://gitlab.hoggar.app/users/sign_up answered HTTP 200: public
self-registration is available. Closing it is pending (PD-016).
Quality and security tooling
| Tool | Purpose | Status |
|---|---|---|
| SonarQube | Code quality | Planned |
| Trivy | Container and dependency scanning | Planned |
| ClamAV | Malware scanning | Deferred until real user uploads exist |
Future GPX upload security should include quarantine, size limits, MIME/type validation, secure XML parsing (XXE and XML-bomb protection), GPX validation, generated filenames and quotas.