Skip to main content

Security

Network security​

Operational
LayerConfiguration
OVH Edge FirewallAllows inbound TCP 22, 80, 443, 2222; final deny-all for other IPv4 traffic
UFWAllows the same four ports; default incoming policy is deny
SSHKey authentication only; password authentication disabled
Fail2banInstalled and active
Docker and UFW

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.
Observed fact (2026-10-03, 02:11 UTC) — current

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​

Observed fact (2026-10-03, 01:05 UTC)

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​

ToolPurposeStatus
SonarQubeCode qualityPlanned
TrivyContainer and dependency scanningPlanned
ClamAVMalware scanningDeferred 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.