azuresql-db-rag
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- Indirect Prompt Injection Surface: The skill facilitates a Retrieval Augmented Generation (RAG) workflow. When the agent retrieves stored data to construct prompts, there is a potential surface for indirect prompt injection if the stored content originates from untrusted sources.
- Ingestion Points: Text strings are ingested through the add_doc and search functions in SKILL.md and its references.
- Capability Inventory: The skill uses the pyodbc library for database interactions and the requests library for local network calls to an embedding service.
- Sanitization: Database interactions use parameterized queries for data values, which effectively prevents SQL injection.
- Boundary Markers: The skill provides logic for storage and retrieval but does not define the final prompt structure where retrieved context is used.
- External Resource Download: The setup process pulls a Docker image from an Azure Container Registry (sqldbpreview-dpgaeqhmgphzd4bk.azurecr.io). This is a vendor-provided resource necessary for accessing the preview version of the Azure SQL Database engine.
- Command Execution: The skill involves the execution of shell commands using docker and sqlcmd. These are used for container management, database provisioning, and schema configuration as intended by the skill.
Audit Metadata