rag-on-azure-sql
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- Data Ingestion Surface (Indirect Prompt Injection): The skill provides a framework for Retrieval Augmented Generation (RAG) which involves ingesting data from SQL tables (
dbo.documentsanddbo.document_chunks) and incorporating it into AI model prompts. This architectural pattern possesses an inherent surface for indirect prompt injection, where content within the processed documents could theoretically influence the agent's behavior. - Ingestion Points: The skill processes text from the
chunk_textcolumn in thedbo.document_chunkstable. - Boundary Markers: The skill explicitly recommends and implements tenant-level filtering (
tenant_id) within the retrieval queries to ensure data isolation. - Capability Inventory: The agent is guided to perform database operations including table creation, indexing, and data retrieval via SQL commands.
- Sanitization: The skill advocates for specific architectural designs, such as using
WHEREclauses as security boundaries and utilizing hashes for data integrity, which serve as defensive measures against improper data access.
Audit Metadata