Compare the security posture of OpenAI API versus Anthropic Claude API regarding defense against indirect prompt injection via retrieved RAG documents.
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
Compare the security posture of OpenAI API versus Anthropic Claude API regarding defense against indirect prompt injection via retrieved RAG documents.
4 real searches · 1 real-search pass
OpenAI API prompt injection defense untrusted text RAG documents official documentation 2026Google ↗
OBSERVEDReason
Anthropic Claude API prompt injection defense retrieved documents RAG official documentation 2026Google ↗
OBSERVEDOther / navigational
OpenAI API structured inputs tool safety prompt injection agents security documentationGoogle ↗
OBSERVEDOther / navigational
Anthropic API prompt injection mitigation tool use security documentationGoogle ↗
OBSERVEDInstruction
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 (4)
Classes come from the query-classifier (a local Laya model). 4 of 4 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT4 real searches · gpt-6
OpenAI API prompt injection defense untrusted text RAG documents official documentation 2026 Google ↗
Anthropic Claude API prompt injection defense retrieved documents RAG official documentation 2026 Google ↗
OpenAI API structured inputs tool safety prompt injection agents security documentation Google ↗
Anthropic API prompt injection mitigation tool use security documentation Google ↗
- Safety in building agents · developers.openai.com
- Understanding prompt injections · openai.com
- Deep research · developers.openai.com
- Mitigate jailbreaks and prompt injections · platform.claude.com
- Security risks and sandbox boundaries · platform.claude.com
Queries
4 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
OpenAI API prompt injection defense untrusted text RAG documents official documentation 2026 OBSERVED | Google ↗ AI Mode ↗ | — | Reason | — | — | 1x of 1 | |
Anthropic Claude API prompt injection defense retrieved documents RAG official documentation 2026 OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
OpenAI API structured inputs tool safety prompt injection agents security documentation OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
Anthropic API prompt injection mitigation tool use security documentation OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 |