authentication-diagnostics
Pass
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: SAFE
Full Analysis
- Administrative Diagnostic Focus: The skill provides standard T-SQL diagnostic queries to investigate SQL Server authentication status, database user mappings, and permission hierarchies. These operations use well-documented Dynamic Management Views (DMVs) such as
sys.server_principalsandsys.database_permissionsto retrieve system metadata. - Security Best Practices and Safeguards: The instructions explicitly mandate the use of read-only diagnostic logins and remind the agent to use least-privilege principles. It specifically prohibits the agent from asking for, typing, or repeating passwords, instead instructing it to use placeholders for any recommended remediation steps.
- User Confirmation for Actions: The skill maintains a high level of user control by requiring explicit human confirmation for any remediation commands (such as enabling a login or remapping a user). It clarifies that a general request to 'fix' a problem does not constitute consent for specific administrative changes.
- Platform-Aware Execution: The queries include logic to detect the SQL engine edition and version, automatically skipping steps or using alternatives where server-level access is restricted (e.g., in Azure SQL Database), which prevents errors and unnecessary privilege requests.
- Transparent Data Ingestion: While the skill reads data that could be influenced by external factors (such as login names or error log entries), it does so within a structured diagnostic framework. The results are presented in a report format for user review, minimizing the surface for unintended behavior.
Audit Metadata