sql-optimizer

Pass

Audited by Gen Agent Trust Hub on Dec 1, 2026

Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill can execute a bundled Python script (scripts/explain_analyzer.py) to automate the analysis of PostgreSQL execution plans.
  • [DATA_EXFILTRATION]: The skill is designed to interact with various database engines to read schema metadata and execution plans using commands such as EXPLAIN ANALYZE. This grants the agent access to internal database structures and query performance metrics.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied SQL queries and execution plans which could contain embedded instructions.
  • Ingestion points: User-provided SQL strings and JSON execution plans read from files or pasted in the chat.
  • Boundary markers: There are no instructions provided to the agent to treat SQL comments or plan data as untrusted or to ignore embedded instructions.
  • Capability inventory: Database query execution (DQL) across multiple engines and local Python script execution.
  • Sanitization: The skill does not define sanitization or validation logic for the SQL or JSON plan data before it is processed by the agent or the analysis script.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 1, 2026, 06:44 AM