rag-implementation
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a Retrieval-Augmented Generation (RAG) architecture that is designed to ingest and process external, potentially untrusted documents.
- Ingestion points: The
retrievenode in the LangGraph implementation (SKILL.md) and various retriever patterns inreferences/details.md(e.g.,EnsembleRetriever,ParentDocumentRetriever) ingest data from vector databases and document stores. - Boundary markers: The prompts used in the examples (
rag_promptinSKILL.mdandhyde_promptinreferences/details.md) use standard organizational headers like 'Context:' and 'Question:' but do not include adversarial boundary markers or explicit instructions to ignore embedded commands within the retrieved text. - Capability inventory: The retrieved data is passed to powerful LLMs (like Claude via
ChatAnthropic) which can influence subsequent logic in thegeneratenode or other downstream application components. - Sanitization: The provided code snippets demonstrate functional RAG logic but do not include input sanitization, filtering, or validation steps for the content retrieved from external sources before it is interpolated into the LLM prompt.
Audit Metadata