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 retrieve node in the LangGraph implementation (SKILL.md) and various retriever patterns in references/details.md (e.g., EnsembleRetriever, ParentDocumentRetriever) ingest data from vector databases and document stores.
  • Boundary markers: The prompts used in the examples (rag_prompt in SKILL.md and hyde_prompt in references/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 the generate node 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
Risk Level
SAFE
Analyzed
Sep 22, 2026, 08:12 PM