Skip to content

Security: isora-cloud-group/stratum-node

Security

SECURITY.md

Security Policy

Repository: stratum-node
Security Operations: [email protected]
General Contact: [email protected]
Revision: 3.1.0
Status: Production


1. Supported Versions

Security updates are provided for the following active revisions:

Component Supported Revision Status
node-workload 3.1.x ✅ Active / Supported
Platform Baseline 3.1.x ✅ Supported
Older releases < 3.1 ❌ Unsupported

2. Reporting a Vulnerability

Do not report security vulnerabilities through public GitHub issues, discussions, or any other public channel.

To report a vulnerability, send an email to:

[email protected]

Include the following information in the report:

  1. Type of vulnerability: (e.g., container escape, rootfs/tmpfs bypass, cross-network leakage, port exposure on 0.0.0.0, credential leakage, Valkey ACL bypass).
  2. Affected component: Specify Dockerfile, docker-compose.yml, docker-compose.outbound.yml, src/index.js, postgres, or valkey.
  3. Affected revision: Declare the revision number (e.g., 3.1.0).
  4. Description, reproduction steps, and impact assessment.

3. Response Timeline

(Voluntary, non-binding targets only — community open-source project with no commercial SLA)

Stage Target
Acknowledgment of receipt Within 48 hours
Initial assessment and severity classification Within 7 days
Remediation for critical issues As soon as feasible
Remediation for high severity Within 30 days
Remediation for medium severity Within 90 days
Public disclosure Coordinated with reporter post-release

4. Disclosure Process

  1. Report received: Reporter receives acknowledgment.
  2. Triage: Issue reproduced and classified.
  3. Remediation: Patch validated in isolated CI and staging environments.
  4. Release: Fix published as new component revision.
  5. Advisory: Coordinated public advisory issued.

5. Scope

5.1 In scope

  • Container hardening regressions (read_only: true, cap_drop: [ALL], no-new-privileges:true, non-root node UID 1000, pids_limit, HEALTHCHECK exit behavior).
  • Unprofiled services bypassing explicit Compose mode gating (delegated, isolated, test).
  • Network confinement leaks where postgres or valkey attaches outside app_internal (internal: true), or docker-compose.outbound.yml attaches non-web engines or test mode to stratum_outbound.
  • Weaknesses in Valkey 8.1 --aclfile restrictions (user default off, healthcheck -@all +ping, prefix-scoped <CACHE_USER>), PostgreSQL scram-sha-256, or secret leakage via args or HTTP probes.
  • Any port bindings on 0.0.0.0, ::, or outside 127.0.0.1 in test.

5.2 Out of scope

  • Vulnerabilities in upstream container images (node, valkey/valkey, postgres, alpine; note nominative compatibility references to Redis®). Report these upstream.
  • Vulnerabilities in custom application code or third-party npm dependencies placed into src/ by the deploying operator.
  • Intra-network lateral movement between sibling workloads sharing stratum_${TENANT_ORG}_internal in delegated mode (governed by Shared Responsibility — deploy --profile isolated for sensitive workloads).
  • Intentional loopback-only exposure (127.0.0.1:${APP_LOCAL_PORT}:${APP_PORT}) when running --profile test.

6. Safe Harbor

Security research conducted in good faith against deployments of stratum-node is considered authorized. The maintainer will not pursue legal action against researchers adhering to standard responsible disclosure guidelines.


7. Security Hardening Controls for Operators

  1. Zero Public Ports: Production modes (delegated, isolated) publish zero host ports; 0.0.0.0 and :: are strictly prohibited. Only --profile test binds 127.0.0.1:${APP_LOCAL_PORT}:${APP_PORT} locally (ADR-0007).
  2. Linux Kernel Network Namespaces & DOCKER-USER: Private app_internal runs with internal: true and enable_ipv6: false. Optional internet egress via docker-compose.outbound.yml attaches only app-delegated or app-isolated to stratum_outbound (enable_icc=false + DOCKER-USER filtering in stratum-core).
  3. Immutable Root Filesystem & Minimal Capabilities: Node containers execute as non-root node (UID 1000), read_only: true, volatile tmpfs /tmp (nosuid,nodev,noexec), cap_drop: [ALL], no-new-privileges:true, and pids_limit: 200.
  4. Valkey 8.1 ACLs & PostgreSQL SCRAM-SHA-256: Dedicated valkey runs as 999:1000 with /tmp/users.acl (0600), user default off, user healthcheck -@all +ping, and prefix-scoped <CACHE_USER>; postgres enforces password_encryption=scram-sha-256 and read_only: true.
  5. Pinned Versioning & Supply Chain Hygiene: Zero :latest tags; image versions/digests managed via Renovate and audited via Actionlint, Hadolint, Gitleaks, and Trivy. See THIRD-PARTY-NOTICES.md.

There aren't any published security advisories