sql-data-analysis

Pass

Audited by Gen Agent Trust Hub on Nov 20, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill creates an attack surface for SQL injection through the ingestion of untrusted data into database queries. \n
  • Ingestion points: The --query argument in scripts/execute_query.py accepts raw SQL strings. \n
  • Boundary markers: No delimiters or ignore-instructions are used to separate user data from the query structure. \n
  • Capability inventory: The script allows execution of arbitrary SQL, including data modification commands like INSERT, UPDATE, and DELETE. \n
  • Sanitization: Absent; the script scripts/execute_query.py passes the query string directly to cursor.execute() without utilizing the database driver's parameterization features.
  • [INDIRECT_PROMPT_INJECTION]: There is a security-relevant discrepancy between the documentation and the implementation. While SKILL.md illustrates the use of a --params flag for safe parameterized queries, the script scripts/execute_query.py does not implement this argument, which may mislead the agent into believing it is following a secure path when it is actually performing raw string execution.
  • [COMMAND_EXECUTION]: The scripts/execute_query.py script provides the ability to modify or delete database records via SQL mutation queries, which increases the potential impact of accidental or malicious command execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 20, 2026, 02:32 PM