Can LangChain agents be deployed safely without risking unauthorized tool execution if a user attempts prompt injection?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
Can LangChain agents be deployed safely without risking unauthorized tool execution if a user attempts prompt injection?
2 real searches · 1 real-search pass
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (2)
Classes come from the query-classifier (a local Laya model). 2 of 2 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT2 real searches · gpt-6
LangChain agents security prompt injection tool permissions human in the loop middleware official docs Google ↗
OWASP LLM prompt injection excessive agency tool execution least privilege official guidance Google ↗
- LLM01: Prompt Injection · genai.owasp.org
- LLM06:2025 Excessive Agency · genai.owasp.org
- LLM Prompt Injection Prevention · cheatsheetseries.owasp.org
- docs/src/oss/langchain/guardrails.mdx at main · langchain-ai/docs · github.com
- docs/src/oss/langchain/human-in-the-loop.mdx at main · langchain-ai/docs · github.com
- HumanInTheLoopMiddleware | langchain · reference.langchain.com
- www-project-ai-security-and-privacy-guide/content/ai_exchange/content/docs/1_general_controls.md at main · OWASP/www-project-ai-security-and-privacy-guide · github.com
- OWASP Top 10 for LLM · owasp.org
- LLM01:2025 Prompt Injection · genai.owasp.org
- AI Agent and MCP Security · owasp.github.io
- MCP Tool Poisoning · community.owasp.org
Queries
2 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
LangChain agents security prompt injection tool permissions human in the loop middleware official docs OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
OWASP LLM prompt injection excessive agency tool execution least privilege official guidance OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 |