Skip to content

[security] - ThreatGraph uses default Neo4j password "password" #92

Open

Description

@shieldx-bot
  • Description: Variable NEO4J_PASSWORD has default "password" → if running dev this configuration in an open network environment will be very weak.

  • Location: services/shieldx-forensics/threatgraph/writer.go (main() block), with neo4jPassword := getEnv("NEO4J_PASSWORD", "password").

  • Recommendation: No default in prod; read from secret store; fail-fast if missing; enable Neo4j TLS and user with minimal privileges; change default password on initialization.

  • Done when: Prod does not accept default; startup test fails if password is missing; connection requires TLS and strong cred.

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

    help wantedExtra attention is neededsecuritysystem security vulnerabilities

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions