Skip to content

Fix: Remove default Grafana credentials and enforce secure monitoring setup - #154

Open
mozluk wants to merge 1 commit into
0xMiden:mainfrom
mozluk:mozluk-patch-1
Open

mozluk wants to merge 1 commit into
0xMiden:mainfrom
mozluk:mozluk-patch-1

Conversation

@mozluk

@mozluk mozluk commented Aug 21, 2026

Copy link
Copy Markdown

Description

This PR addresses insecure default credentials and documentation drift within the note-transport-service repository's monitoring stack.

Vulnerabilities & Security Defects Remediated:

  • Default Credential / Insecure Deployment Configuration (bin/node/docker/docker-compose.yml): The supported monitoring compose stack previously hardcoded the Grafana administrator password (GF_SECURITY_ADMIN_PASSWORD=admin). This has been replaced with strict environment variable interpolation (${GRAFANA_ADMIN_PASSWORD:?...}). The stack now securely fails closed upon startup if an administrator password is not explicitly provided, preventing deployments with publicly known credentials.
  • Documentation Drift After Security Remediation (docs/src/operator/installation.md): The Docker setup instructions in the operator guide have been updated to align with the new security constraints. Operators are now instructed to generate and export a strong GRAFANA_ADMIN_PASSWORD before starting the node. The documentation explicitly explains the fail-closed safety mechanism and no longer publishes a default password.

… setup

### Description
This PR addresses insecure default credentials and documentation drift within the `note-transport-service` repository's monitoring stack.

**Vulnerabilities & Security Defects Remediated:**
* **Default Credential / Insecure Deployment Configuration (`bin/node/docker/docker-compose.yml`):** The supported monitoring compose stack previously hardcoded the Grafana administrator password (`GF_SECURITY_ADMIN_PASSWORD=admin`). This has been replaced with strict environment variable interpolation (`${GRAFANA_ADMIN_PASSWORD:?...}`). The stack now securely fails closed upon startup if an administrator password is not explicitly provided, preventing deployments with publicly known credentials.
* **Documentation Drift After Security Remediation (`docs/src/operator/installation.md`):** The Docker setup instructions in the operator guide have been updated to align with the new security constraints. Operators are now instructed to generate and export a strong `GRAFANA_ADMIN_PASSWORD` before starting the node. The documentation explicitly explains the fail-closed safety mechanism and no longer publishes a default password.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant