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
Bashtool to perform environment setup and package management. - Executes
pip installto install required Python libraries for various LLM providers and theneo4j-graphragpackage. - Uses
npx skills addto install additional skill components from the author's repository. - [CREDENTIALS_UNSAFE]: The skill handles sensitive database connection details including
NEO4J_PASSWORDandOPENAI_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_textparameter inText2CypherRetriever.search()andGraphRAG.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
Bashtool. - Sanitization: The skill documentation notes a security feature in
Text2CypherRetrieverthat usesEXPLAINto 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-graphragPython library from PyPI. - References the
neo4j-contrib/neo4j-skillsrepository for supplementary skill modules. - [DYNAMIC_EXECUTION]: The skill utilizes runtime code generation for database interactions.
Text2CypherRetrieverdynamically generates Cypher statements from natural language at runtime and executes them against the connected Neo4j database.retrieval_queryfragments inVectorCypherRetrieverandHybridCypherRetrieverallow for dynamic graph traversal based on variables injected at search time.
Audit Metadata