ai-langchain-patterns
Warn
Audited by Snyk on Jun 13, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.72). The skill’s runtime workflow can ingest outsider-authored free text via retrieval/tooling paths (e.g.,
web_search_retriever/WebBaseLoaderfetching public pages orslack_read_channel/slack_searchreturning other users’ messages), and that retrievedpage_content/message text is then fed into the LLM as{context}in the LCEL/RAG pipeline.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The DocumentEnricher component calls an external API (https://enrich.internal/api) at runtime and injects the returned "enrichment" into the LLM context, so content fetched from that URL can directly control prompts.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata