plan-cache-qds-bridge
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Command Execution: The skill is designed to interact with SQL Server databases using the
mssql_execute_querytool to retrieve performance metadata and execution plans. This is a core part of its diagnostic functionality, and the skill provides specific SQL templates for these operations. It relies on the agent having authorized access and correctly applying the provided read-only patterns. - Indirect Prompt Injection Surface: The skill ingests and processes SQL query text that may originate from untrusted users or applications within the database environment. This creates a surface where embedded instructions could potentially influence the agent's behavior.
- Ingestion points: Query text and identifiers are provided as arguments (specified in
SKILL.md) or retrieved from system views likesys.query_store_query_text(referenced inreferences/query-lookup.md). - Boundary markers: The instructions in
references/query-lookup.mdemphasize the use of bounded query patterns and parameterized T-SQL variables (e.g.,DECLARE @QueryId) to delimit data. - Capability inventory: The skill utilizes the
mssql_execute_querytool for database interaction. - Sanitization: The documentation explicitly instructs the agent to "Bind or safely quote user values" and ensure that all operations are read-only, providing a layer of protection against typical injection attacks.
Audit Metadata