ledger-tables
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- SQL Metadata Access: The skill performs discovery of ledger-related objects by querying system catalog views such as
sys.tablesandsys.views. This is a standard administrative pattern for identifying database schema properties and historical auditing views. - Variable Interpolation in T-SQL: The templates use placeholders like
$LedgerTableNameand$LedgerViewIDto represent user-supplied identifiers. While these represent an input surface for the agent's SQL execution tools, they are used here as standard documentation templates for parameterizing queries. - Restricted Function Guidelines: The instructions explicitly forbid the use of sensitive or undocumented functions such as
fn_dblog()andDBCC log. This is a positive security practice that limits the agent's interaction to supported, higher-level auditing interfaces rather than low-level log analysis. - Administrative Tool Integration: The skill references standard database management utilities such as the
microsoft-sql-adminplugin andsqlcmd. These are expected tools for a database administration context and are used within their intended functional scope.
Audit Metadata