v2.2.0-publicis the current scoped public release baseline.- Security fixes that affect authentication, organization isolation, data access, public share access, storage, self-hosted deployment, or documented
GAcapabilities are treated as release blockers. - Full GA still depends on the external evidence verifier for live OIDC, package visibility, and private billing artifacts.
- Current support boundaries are documented in
docs/release/v2-support-boundaries.md.
- Do not open a public GitHub issue for a live security vulnerability.
- GitHub private vulnerability reporting is enabled for this repository.
- Live or undisclosed vulnerabilities that affect the current public baseline are still treated as release blockers, but they must enter through a private disclosure path first.
- Use GitHub private vulnerability reporting for live or undisclosed vulnerabilities whenever you can.
- If GitHub private vulnerability reporting is unavailable to you and you do not already have a private maintainer contact path, open a minimal public issue using
.github/ISSUE_TEMPLATE/security-contact-request.mdonly to request a private handoff. Do not include vulnerability details, proof of concept, affected secrets, reproduction steps, or direct contact details in that public issue. - Maintainers should move the report to a private channel before requesting logs, artifacts, or exploit details.
- Public issues may be used only after the vulnerability is fixed or explicitly approved for disclosure.
- Threat boundaries are documented in
docs/security/threat-model.md.
- The repository previously contained real-looking local infrastructure credentials in example files.
- Those values must be treated as exposed and rotated outside the repository before any shared environment is trusted.
- Rotate at minimum:
- MySQL business account password
- MySQL root password if it was reused anywhere
- Redis password
- Nacos service or console password if reused
- JWT signing secret used by any environment
- Kafka bootstrap target if it points to a non-local shared cluster
- Never commit live secrets, passwords, API keys, JWT secrets, or private infrastructure endpoints into the repository.
- Keep example files sanitized and use
replace-with-*placeholders only. - Production secrets must come from environment variables, secret managers, or deployment-time injection.
- Security-sensitive changes must include updated validation or regression coverage.
scripts/security-secret-scan.shscans the working tree for secret regressions.scripts/validate-security.shruns secret scanning plus security regressions.scripts/security-backend-dependency-scan.shruns backend OWASP Dependency-Check.- CI must run:
MMMAIL_RUN_BACKEND_DEPENDENCY_SCAN=true bash scripts/validate-security.sh
- Enable TLS in production.
- Set
MMMAIL_AUTH_COOKIE_SECURE=true. - Rotate all secrets in
.envbefore sharing an environment. - Limit
actuatorand management endpoint exposure to trusted networks. - Keep deployment and backup procedures aligned with
docs/ops/install.md,docs/ops/upgrade.md,docs/ops/backup-restore.md, anddocs/ops/runbook.md.