table-health-check
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFE
Full Analysis
- SQL Injection Safeguards: The skill implements robust defenses against SQL injection by requiring the use of
QUOTENAMEfor database identifiers and explicitly instructing the agent to escape single quotes in user-provided parameters likeSchemaNameandTableNamebefore query execution. - Least Privilege Enforcement: It advocates for a diagnostic-only connection using read-only permissions (e.g.,
VIEW SERVER PERFORMANCE STATE) and explicitly warns against elevating permissions or performing write operations like repairs or schema changes within the automated diagnostic workflow. - Human-in-the-Loop for Sensitive Operations: For consistency checks (
DBCC CHECKTABLE), the skill is designed to generate the command for manual review and execution by a database administrator (DBA) rather than executing it automatically, preventing accidental performance impact or data handling issues. - Platform-Aware Security Logic: The skill includes environment checks (
EngineEdition) to ensure platform-specific commands are only used where appropriate and to inform the user about managed platform features (like automatic repair in Azure SQL) that supersede manual intervention. - Trusted Resource Usage: The skill references official Microsoft SQL administration tools and documentation, ensuring that dependencies and guidance are sourced from verified vendor infrastructure.
Audit Metadata