rag-on-azure-sql
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- Indirect Prompt Injection: The skill facilitates the ingestion and processing of external document data for use in LLM grounding prompts, creating a potential surface for indirect injection via processed content.
- Ingestion points: Document text is ingested into the
dbo.documentsanddbo.document_chunkstables as described inSKILL.md. - Boundary markers: The instructions emphasize incorporating a tenant filter (
WHERE c.tenant_id = @tenant_id) directly into theVECTOR_SEARCHquery inSKILL.mdto maintain data boundaries, noting that traditional row-level security policies are restricted on vector-indexed tables. - Capability inventory: The skill utilizes SQL capabilities for data management and retrieval, including
AI_GENERATE_EMBEDDINGS,MERGEfor idempotent updates, andVECTOR_SEARCHfor similarity analysis, as detailed in bothSKILL.mdandreferences/pipeline.md. - Sanitization: The skill provides grounding instructions in
SKILL.mdthat recommend source citations and explicit instructions for the model to decline answering if the retrieved context is insufficient. - Command Execution: The skill includes instructions for using the
sqlcmdutility to perform non-interactive integrity checks on the database. These checks are used to verify embedding provenance, index versions, and the effectiveness of the multi-tenant filtering logic, ensuring the pipeline operates as intended within the Azure SQL environment.
Audit Metadata