neo4j-graphrag-skill

Pass

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to perform environment setup and package management.
  • Executes pip install to install required Python libraries for various LLM providers and the neo4j-graphrag package.
  • Uses npx skills add to install additional skill components from the author's repository.
  • [CREDENTIALS_UNSAFE]: The skill handles sensitive database connection details including NEO4J_PASSWORD and OPENAI_API_KEY.
  • Instructions correctly advise using environment variables for authentication, representing a privileged capability that requires the user to provide access to their Neo4j instance and LLM provider accounts.
  • [INDIRECT_PROMPT_INJECTION]: The skill implements features that process natural language input to influence system actions.
  • Ingestion points: Untrusted data enters the context via the query_text parameter in Text2CypherRetriever.search() and GraphRAG.search().
  • Boundary markers: No explicit delimiters or boundary markers are shown in the instruction templates to separate user input from the retrieval logic.
  • Capability inventory: The agent can execute Cypher queries (read/write access), perform network requests through LLM SDKs, and run shell commands via the Bash tool.
  • Sanitization: The skill documentation notes a security feature in Text2CypherRetriever that uses EXPLAIN to validate generated Cypher and block destructive write operations (v1.16.0+).
  • [EXTERNAL_DOWNLOADS]: Fetches dependencies and components from the official package registry and the vendor's GitHub repository.
  • Downloads the neo4j-graphrag Python library from PyPI.
  • References the neo4j-contrib/neo4j-skills repository for supplementary skill modules.
  • [DYNAMIC_EXECUTION]: The skill utilizes runtime code generation for database interactions.
  • Text2CypherRetriever dynamically generates Cypher statements from natural language at runtime and executes them against the connected Neo4j database.
  • retrieval_query fragments in VectorCypherRetriever and HybridCypherRetriever allow for dynamic graph traversal based on variables injected at search time.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 26, 2026, 07:26 PM