langchain
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs the installation of several packages via pip, including
langchain,langchain-anthropic,langgraph, andlangchain-mcp-adapters. These are well-known libraries maintained by the LangChain organization. - [INDIRECT_PROMPT_INJECTION]: The skill documentation (specifically in
references/retrieval.md) outlines patterns for building agents that ingest data from external sources such as web pages (WebBaseLoader), PDFs (PyPDFLoader), and vector databases. This creates a surface for indirect prompt injection where malicious content in the retrieved data could influence the agent's behavior. - Ingestion points:
references/retrieval.mdusesWebBaseLoader,PyPDFLoader, andvectorstore.similarity_searchto pull external content into the agent's context. - Boundary markers: The provided code templates do not include explicit delimiters (e.g., XML tags or triple backticks) or "ignore embedded instructions" warnings around the retrieved content.
- Capability inventory: The agents described in
SKILL.mdand the reference solution have capabilities to execute tools likesearch_orders,submit_refund, andget_accountbased on LLM decisions. - Sanitization: The example code does not demonstrate sanitization or validation of the retrieved text before it is presented to the model.
- [COMMAND_EXECUTION]: In
SKILL.md, the documentation for MCP (Model Context Protocol) integration demonstrates how to configure theMultiServerMCPClientto execute local shell commands or scripts (e.g.,python /path/to/server.py). This feature allows the agent to interact with local system tools.
Audit Metadata