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) andretriever.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
calculatetool inSKILL.mduses theastmodule 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