logo

Database

Neo4j Connection String

Description

The source code repository contains sensitive information: Neo4j Connection String

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Neo4j Connection String patterns in source code and configuration files

Vulnerable code example

export NEO4J_BOLT_URL=bolt://neo4j:Xq7vR2mK9pLw@localhost:7687
config.database_url = 'bolt://neo4j:Tz4nB8cQ1sVy@graph.internal:7687'
NEOMODEL_DATABASE_URL=neo4j+s://app:Hk3dW9fP2xNa@a1b2c3d4.databases.neo4j.io
uri: "bolt+ssc://svc:Rm6tJ1gZ8wQe@10.0.0.5:7687"