Skip to content

security(M3): enable Neo4j TLS for non-local deployments #74

Description

@SimplicityGuy

Finding

From the comprehensive security review in #71 (M3 — Medium severity).

Files: api/api.py, curator/curator.py

encrypted=False

All Neo4j traffic (including user graph data) travels unencrypted over the Docker network.

Impact

Any traffic between services and Neo4j (graph queries, writes) is transmitted in plaintext. In a shared or cloud network environment this exposes user graph data to network-level interception.

Proposed Fix

  • Enable TLS on the Neo4j Bolt connection (encrypted=True) for any non-local deployment
  • Add a NEO4J_TLS_ENABLED env var (default false for local dev, true for production)
  • Document in operator setup that TLS must be enabled in production

Notes

Not addressed in #73 (infrastructure concern — requires TLS certificate setup on the Neo4j side, not just application code).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions