sql-agent-job-failure-investigator
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFE
Full Analysis
- Diagnostic Posture and Restricted Capabilities: The skill is strictly limited to troubleshooting and identification of root causes. It explicitly instructs the agent not to modify, start, or stop jobs without separate, explicit user authorization, which prevents unauthorized state changes on the target server.- Sensitive Data Handling and Redaction: Recognizing that job history and error logs can contain sensitive information like connection strings or tokens, the skill requires the agent to redact these values before presenting evidence. This practice minimizes the risk of accidental credential or data exposure.- Input Sanitization Guidance: To mitigate the potential for SQL injection or unintended query behavior, the skill provides specific rules for binding user-provided parameters like job names. It requires the agent to escape Unicode literals, double apostrophes, and reject control characters, ensuring that user input is handled safely within T-SQL batches.- Least-Privilege Access Recommendations: The instructions advocate for using diagnostic logins with minimal permissions (such as VIEW SERVER STATE), which aligns with security best practices by limiting the tool's access to only what is necessary for its stated purpose.- Platform and Context Verification: The skill includes pre-checks to verify the target platform's edition and version before executing queries. This prevents the execution of incompatible commands and ensures the agent remains within the supported operational context.
Audit Metadata