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_query tool 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 like sys.query_store_query_text (referenced in references/query-lookup.md).
  • Boundary markers: The instructions in references/query-lookup.md emphasize 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_query tool 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
Risk Level
SAFE
Analyzed
Nov 18, 2026, 03:27 AM