langchain
Warn
Audited by Gen Agent Trust Hub on Apr 7, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides code examples using the Python eval() function for a calculator tool in SKILL.md and references/agents.md, which allows arbitrary code execution if unvalidated input is processed.
- [COMMAND_EXECUTION]: Documentation in references/integration.md includes ShellTool and PythonREPLTool examples, which provide the agent with capabilities to execute arbitrary shell commands and Python code.
- [REMOTE_CODE_EXECUTION]: The FAISS integration guide in references/integration.md uses allow_dangerous_deserialization=True, enabling unsafe pickle-based loading of vector indices.
- [DATA_EXFILTRATION]: Examples demonstrate data ingestion from external URLs via WebBaseLoader and requests across multiple files (SKILL.md, rag.md, agents.md), which could be used for exfiltration or ingesting malicious content.
- [COMMAND_EXECUTION]: Indirect Prompt Injection Surface: The skill utilizes various document loaders like WebBaseLoader and PyPDFLoader to ingest untrusted data from external sources (SKILL.md, rag.md). While prompt templates are used, there is a lack of explicit sanitization or strict boundary markers demonstrated. Combined with capabilities like eval and ShellTool, this creates an exploitation path where external data could influence agent behavior. (Ingestion points: WebBaseLoader, PyPDFLoader, CSVLoader in SKILL.md/rag.md; Boundary markers: Absent in examples; Capability inventory: eval, ShellTool, PythonREPLTool, requests.get in SKILL.md/agents.md/integration.md; Sanitization: Absent in examples).
Audit Metadata