cost-report
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFEPROMPT_INJECTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill's 'Usage' section instructions recommend adjusting the
DATEADDinterval based on user input (e.g.,/cost-report 7). This pattern introduces a SQL injection vulnerability because the agent is instructed to interpolate user-provided values directly into a SQL query template without validation or sanitization rules, allowing a user to potentially escape the query structure. - [INDIRECT_PROMPT_INJECTION]: The skill retrieves and analyzes
query_textfrom the SnowflakeQUERY_HISTORYtable, which serves as a significant attack surface for indirect prompt injection. - Ingestion points: Data enters the agent's context through the output of the
sql_executetool in Step 1 of the workflow, specifically thequery_textcolumn. - Boundary markers: The instructions lack any delimiters or 'ignore instructions within data' warnings to help the agent distinguish between its instructions and the query text being analyzed.
- Capability inventory: The skill utilizes
sql_execute,sql_analyze, and several FinOps tools to process the retrieved data and generate a detailed markdown report. - Sanitization: There is no evidence of escaping, filtering, or validation performed on the
query_textbefore it is passed tosql_analyzeor summarized in the final report.
Audit Metadata