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 Bash tool to perform file analysis and database management. Evidence includes the use of wc for row counting, file for encoding checks, and iconv for character set conversion. It also instructs the agent to use the neo4j-admin CLI 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), and azb:// (Azure), as well as fetching JSON data from arbitrary web endpoints using apoc.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 CSV commands in SKILL.md, apoc.load.json calls in references/apoc-patterns.md, and bulk file imports via neo4j-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), and WebFetch (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.md contains 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
Risk Level
SAFE
Analyzed
Nov 26, 2026, 07:26 PM