cortex-classify-tutorial
Pass
Audited by Gen Agent Trust Hub on Feb 19, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- EXTERNAL_DOWNLOADS (LOW): The skill uses
web_fetchto retrieve documentation fromdocs.snowflake.com. While this is the official vendor documentation site, the domain is not included in the predefined list of trusted external sources. - PROMPT_INJECTION (LOW): The skill is designed to process unstructured customer reviews through an LLM-based classification function (
CLASSIFY_TEXT). This creates an indirect prompt injection surface (Category 8) where malicious content within the data could attempt to influence the agent's behavior. - Ingestion points:
REVIEWcolumn from theclassified_reviewstable and other data processed inLesson 1throughLesson 4. - Boundary markers: None explicitly implemented to delimit untrusted review text from instructions.
- Capability inventory: Execution of SQL via
session.sqland LLM processing viasnowflake.cortex.classify_text. - Sanitization: No sanitization or validation of the input text is mentioned before it is sent to the LLM function.
- COMMAND_EXECUTION (LOW): The environment detection logic in
SKILL.mdsuggests using theACCOUNTADMINrole as a fallback. This is the highest privilege level in Snowflake; while common in learning scenarios, it represents a risk of privilege escalation if used in production environments.
Audit Metadata