query-optimization
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze external database query logs and application source code, creating an attack surface where malicious instructions could be embedded in the data provided to the agent.
- Ingestion points: The agent accepts
EXPLAIN ANALYZEoutput and ORM code snippets (TypeScript/Prisma) for analysis, as outlined inagents/query-optimization-agent.md. - Boundary markers: There are no specific delimiters or "ignore embedded instructions" warnings defined in the skill instructions to separate input data from the agent's core logic.
- Capability inventory: The skill is configured with access to powerful tools including
Bash,Write,Edit, andAgent(SKILL.md), which could be misused if the agent inadvertently follows instructions hidden in the analyzed content. - Sanitization: The skill lacks explicit sanitization or filtering logic for the content it processes, relying on the model's internal guardrails to handle potentially malicious input strings.
Audit Metadata