rag-implementation
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides templates for Retrieval-Augmented Generation (RAG), which involves ingesting and processing external document data that could potentially contain adversarial instructions.
- Ingestion points: External document content is ingested via
retriever.ainvokeand various document loaders/splitters inSKILL.mdandreferences/details.md. - Boundary markers: The code samples include prompt templates that use labels like
Context:to delimit retrieved data and explicit instructions to stay within the provided context. - Capability inventory: The logic is limited to LLM calls for generation and metadata retrieval; it does not include risky capabilities like shell execution or file system modification.
- Sanitization: The examples rely on prompt engineering constraints to handle untrusted context data.
Audit Metadata