agent-data-analyst-agent

Pass

Audited by Gen Agent Trust Hub on Sep 25, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill architecture involves taking natural language questions from users and interpolating them into prompt templates for SQL and code generation.
  • Ingestion points: User questions are ingested in the "Query generation" (Step 4) and "Iterative analysis" (Step 7) steps.
  • Boundary markers: The example prompt template provided in Step 4 lacks explicit delimiters (like XML tags or triple quotes) or negative constraints to prevent the model from following instructions embedded within the user question.
  • Capability inventory: The resulting agent is designed to execute generated code (Pandas) and database queries (SQL) via SQLAlchemy or a code interpreter.
  • Sanitization: Step 9 ("Sécurité et gouvernance des données") recommends critical mitigations including PII masking, sandboxing, and read-only database modes.
  • [DYNAMIC_EXECUTION]: The workflow instructs the creation of agents that dynamically generate and execute Python and SQL code at runtime. It suggests utilizing isolated environments such as the E2B Code Interpreter or Jupyter kernels for safe execution.
  • [COMMAND_EXECUTION]: The skill describes using SQLAlchemy to execute queries generated from natural language against external databases. It emphasizes using a read-only mode to prevent data modification.
  • [PROMPT_INJECTION]: The "Communication Rules" section at the end of the skill uses mandatory language to override the agent's default conversational style, enforcing a specific "direct and blunt" persona and prohibiting common AI behaviors like preambles, summaries, or politeness wrappers.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 25, 2026, 11:30 PM