langchain-architecture

Pass

Audited by Gen Agent Trust Hub on Sep 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The design patterns for agents and RAG systems involve processing untrusted input from users and external data sources.\n
  • Ingestion points: agent.ainvoke (SKILL.md) and retriever.ainvoke (references/details.md).\n
  • Boundary markers: The prompt templates utilize standard LangChain formatting but lack explicit delimiters or "ignore" instructions for external context.\n
  • Capability inventory: Tools include database searching (search_database), email transmission (send_email), and math evaluation (calculate).\n
  • Sanitization: The examples show standard retrieval-augmented generation without specific sanitization steps for retrieved text.\n- [DYNAMIC_EXECUTION]: The skill includes a tool for evaluating mathematical expressions at runtime.\n
  • Evidence: The calculate tool in SKILL.md uses the ast module to parse and evaluate strings.\n
  • Note: The implementation is a standard, safe pattern that restricts evaluation to specific operators and constants, avoiding dangerous functions like eval().
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 22, 2026, 08:12 PM