always-encrypted-columns
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFE
Full Analysis
- Least Privilege Enforcement: The skill explicitly instructs users to connect tools using a diagnostic login with minimal permissions, such as
VIEW SERVER PERFORMANCE STATE. This guidance is a security best practice that significantly reduces the potential impact of query execution by ensuring the tool cannot perform write operations or access sensitive data beyond its diagnostic scope. - Dynamic SQL Input Surface: The T-SQL query utilizes
$SchemaNameand$TableNameas placeholders that are interpolated at runtime. While processing external input into query structures is a standard pattern for database administrative tools, the skill mitigates the risks of unintended query behavior through the aforementioned mandatory read-only connection requirements. - Usage of System Metadata Views: The skill analyzes database schema by querying standard system catalogs like
sys.tables,sys.columns, andsys.indexes. This is the intended and necessary functionality for determining encryption eligibility and does not involve accessing user-stored data or sensitive secrets. - Trusted Tool Integration: The skill recommends the use of the
microsoft-sql-adminplugin and standard utilities likesqlcmd. These references to established and vendor-provided tools align with secure development environments.
Audit Metadata