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
--queryargument inscripts/execute_query.pyaccepts 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, andDELETE. \n - Sanitization: Absent; the script
scripts/execute_query.pypasses the query string directly tocursor.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.mdillustrates the use of a--paramsflag for safe parameterized queries, the scriptscripts/execute_query.pydoes 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.pyscript 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