langchain-architecture
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents architectural patterns for building AI agents that ingest and process external, potentially untrusted data. This creates a surface for indirect prompt injection where malicious instructions embedded in external sources could influence the agent's behavior. Specifically, the examples demonstrate combining document retrieval with actionable tools like email functionality.
- Ingestion points: Document loading via
TextLoader('documents.txt')and internal database queries via thesearch_databasetool inSKILL.md. - Boundary markers: None identified; the provided code snippets do not include delimiters or instructions for the agent to ignore embedded commands in the data it retrieves.
- Capability inventory: The skill describes capabilities including file system reading (
TextLoader), database searching (search_database), and external communication (send_email) across the examples inSKILL.md. - Sanitization: No sanitization, escaping, or validation logic is present in the provided architectural examples.
Audit Metadata