partitioned-tables

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • SQL Execution and Parameter Handling: The skill performs database diagnostics by executing T-SQL queries. It uses user-provided parameters like SchemaName and TableName, which are sanitized using the QUOTENAME function within the SQL code. This is a best practice to prevent SQL injection when dealing with dynamic object names. Some other parameters, such as ScanMode and MinPageCount, are interpolated directly, which is a common pattern for such tools but relies on input validation by the platform.
  • Least Privilege Recommendations: The instructions explicitly advise users to connect with a read-only diagnostic login (e.g., using VIEW SERVER PERFORMANCE STATE). This follows the principle of least privilege, ensuring the tool can only read performance and metadata without the ability to modify data or structures.
  • Indirect Prompt Injection Surface: The skill ingests data from the database (query results) to generate a formatted report. This constitutes an indirect prompt injection surface where data from a potentially untrusted source (the database) is processed by the AI. However, since the skill primarily reads system metadata and row counts, the risk is considered low and appropriate for the use case.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 03:27 AM