neo4j-import-skill
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to perform file analysis and database management. Evidence includes the use ofwcfor row counting,filefor encoding checks, andiconvfor character set conversion. It also instructs the agent to use theneo4j-adminCLI for performing offline bulk imports, which grants the agent the capability to interact with the underlying operating system and database files. - [EXTERNAL_DOWNLOADS]: The skill provides patterns for importing data from external network sources. This includes cloud storage providers via schemes such as
s3://(AWS),gs://(Google Cloud), andazb://(Azure), as well as fetching JSON data from arbitrary web endpoints usingapoc.load.json. These capabilities allow the agent to retrieve content from the internet into the database environment. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it is designed to ingest and process untrusted data from CSV, JSON, and Parquet files.
- Ingestion points: Untrusted data enters the agent's context through
LOAD CSVcommands inSKILL.md,apoc.load.jsoncalls inreferences/apoc-patterns.md, and bulk file imports vianeo4j-admin. - Boundary markers: The instructions do not specify the use of delimiters or warnings to ignore instructions embedded within the imported data rows.
- Capability inventory: The agent has access to
Bash(shell execution),write-cypher(database modification), andWebFetch(network operations), which could be leveraged if the agent follows instructions hidden in the data. - Sanitization: The skill recommends type coercion functions (e.g.,
toIntegerOrNull), which validate data types but do not sanitize for malicious natural language instructions. - [CREDENTIALS_UNSAFE]: The documentation in
references/driver-batch-write.mdcontains hardcoded placeholder credentials ("password") in Python and JavaScript code examples. While these are intended as examples, they demonstrate a pattern of placing credentials directly in source code rather than using environment variables.
Audit Metadata