Only the latest release on the main branch is actively supported with security updates.
| Version | Supported |
|---|---|
| Latest | Yes |
| Older | No |
If you discover a security vulnerability, please report it responsibly.
Do not open a public GitHub issue for security vulnerabilities.
Instead, send an email to security@healthlog.dev with:
- A description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Acknowledgement: Within 72 hours
- Initial assessment: Within 1 week
- Fix and disclosure: Coordinated with reporter, typically within 30 days
A high or critical security fix does not wait for the release calendar. It ships as an out-of-schedule patch release as soon as it is ready, with a GitHub Security Advisory published alongside; lower ratings ship with the next Saturday patch. See docs/contributing/release-policy.md.
The following are in scope:
- Authentication and session management
- Data encryption and secret handling
- API authorization and access control
- Cross-site scripting (XSS), CSRF, and injection vulnerabilities
- Information disclosure
Out of scope:
- Denial of service attacks
- Social engineering
- Vulnerabilities in third-party dependencies (report upstream)
- Issues requiring physical access to the server
HealthLog is designed with security as a core principle:
- Passkey-first authentication (WebAuthn/FIDO2) with password fallback
- AES-256-GCM encryption for all stored secrets (OAuth tokens, API keys, VAPID keys)
- Argon2id password hashing with zxcvbn strength validation
- HMAC-SHA256 hashed API tokens
- Server-side sessions in PostgreSQL (HttpOnly, SameSite=Strict, 30-day sliding expiry)
- Rate limiting on authentication and external-facing endpoints
- Security headers: CSP with nonces, HSTS, X-Frame-Options DENY, Permissions-Policy
- Proxy-level route protection via
proxy.ts(session cookie validation on all non-public paths)
For more details, see the security documentation.
HealthLog Docker images are built and published from this repository's CI:
- Source:
.github/workflows/docker-publish.yml— publishes on everyv*tag; pull requests build the image without publishing it - Registry:
ghcr.io/mbombeck/healthlog - Architectures:
linux/amd64andlinux/arm64 - Provenance attestation: each image carries a SLSA build provenance statement linking it back to the GitHub Actions run, the commit SHA, and the workflow definition
- Signature: the multi-arch image index is signed keyless with cosign by the release workflow; no long-lived signing key exists
- Release assets (from v1.49.0): every GitHub release carries
healthlog-<tag>-image.txt(the image refs with the index and per-platform digests), its Sigstore bundlehealthlog-<tag>-image.sigstore.json, and SLSA v1 provenancehealthlog-<tag>.intoto.jsonl - SBOM: each image includes a Software Bill of Materials you can inspect with
docker buildx imagetools inspect ghcr.io/mbombeck/healthlog:latest --format '{{ json .SBOM }}'
To pin to a specific version in production, replace :latest with the released tag in your docker-compose.yml, e.g. ghcr.io/mbombeck/healthlog:1.3.2. Pinning is recommended for self-hosters who want explicit control over upgrades.
TAG=v1.49.0
gh release download "$TAG" --repo MBombeck/HealthLog --pattern "healthlog-$TAG*"
cosign verify-blob \
--bundle "healthlog-$TAG-image.sigstore.json" \
--certificate-identity-regexp '^https://github\.com/MBombeck/HealthLog/\.github/workflows/docker-publish\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
"healthlog-$TAG-image.txt"
slsa-verifier verify-artifact "healthlog-$TAG-image.txt" \
--provenance-path "healthlog-$TAG.intoto.jsonl" \
--source-uri github.com/MBombeck/HealthLog \
--source-tag "$TAG"
cosign verify \
--certificate-identity-regexp '^https://github\.com/MBombeck/HealthLog/\.github/workflows/docker-publish\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
"$(awk '$2 == "index" { print $1; exit }' "healthlog-$TAG-image.txt")"The last command checks the image the manifest names, pinned by its digest. Older releases have no assets; verify their image with cosign verify alone. Details: docs/ops/deploy.md.
If you discover a tampered or unexpected image, please report it as a vulnerability via the email above.