bx-ai-rag
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents the use of
aiDocuments()to ingest content from various sources, including local directories and external URLs, which are then used as context for an AI agent. - Ingestion points:
aiDocuments()is used inSKILL.mdto load data from/path/to/docs,expandPath( "./docs" ), and the URLhttps://boxlang.ortusbooks.com. - Capability inventory: The retrieved content is stored in
vectorMemoryand subsequently processed byaiAgentoraiChatto generate responses. - Boundary markers: The skill provides an example of boundary instructions:
"Answer questions using only the provided documentation. If unsure, say so."in theaiAgentdefinition. While helpful, these markers do not fully prevent adversarial content within the ingested documents from influencing the agent's behavior. - Sanitization: The provided code snippets do not demonstrate explicit sanitization or filtering of the content loaded via
aiDocuments()before it is indexed or processed by the LLM.
Audit Metadata