resource-usage-sqlserver
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [SQL Query Execution]: The skill uses the
mssql_execute_querytool to run T-SQL diagnostics on SQL Server, Azure SQL, and Fabric SQL databases. This is a core functionality required for its primary purpose of performance monitoring. - [Least Privilege Recommendation]: The skill's instructions explicitly guide the agent to use diagnostic logins with restricted permissions, such as
VIEW SERVER PERFORMANCE STATE, which is a recognized security best practice to prevent unauthorized data access or modification. - [Indirect Data Processing]: The skill processes data from system Dynamic Management Views (DMVs), which could theoretically contain user-controllable data (e.g., query text). The risk of indirect prompt injection is minimal as the skill focuses on displaying resource metrics through structured report templates.
- [Trusted External Resources]: The skill references official Microsoft Learn documentation for technical guidance. All linked domains are verified and originate from trusted service providers.
Audit Metadata