Join our Newsletter — 33% off our NHI Course

Could tool calls make indirect prompt injection exfiltrate data?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: The model follows hidden instructions inside email, ticket or web content because the same tool call that fetches data can also trigger exfiltration, according to Scalekit. For practitioners, the problem is not filtering every injection but shrinking what a single run can reach and send.

Editorial analysis by NHI Mgmt Group, based on content published by Scalekit: “Prompt Injection Through Tool Calls: How Indirect Injection Hijacks AI Agents”.

Key questions

Q: Why does broad tool scope increase agent exfiltration risk?

A: Broad tool scope increases agent exfiltration risk because the agent can reach more data sources, files, and APIs in one execution path.

Q: How should teams govern MCP servers once they are discovered?

A: Classify recurring MCP servers as managed access objects, not personal tooling.

Q: How do indirect prompt injections reach agent workflows?

A: Indirect prompt injections reach agent workflows when malicious instructions are hidden inside content the model reads, such as emails, documents, web pages or tool output.

Practitioner guidance

  • Define read and write phases separately Keep the step that ingests untrusted content read-only, and move any outbound action into a different step with a distinct approval path.
  • Scope tools by task, not by platform Expose only the Gmail and CRM actions the specific workflow needs, instead of handing the agent the full tool catalog for the account.
  • Bind every run to one user identity Ensure each call runs under the specific person’s grant so a hijacked session cannot cross into another user’s data boundary.

Bottom line: Indirect prompt injection becomes dangerous when an agent can read untrusted content and use the same session to reach private systems or send data out.

Glossary terms: Indirect Prompt Injection, Read-Only Run, Tool Poisoning, Blast Radius

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21082
 

Indirect prompt injection is an agent authorisation failure before it is a content problem: the model is not deciding whether text is true, it is deciding whether text should drive action. That distinction matters because the agent executes with the user’s own connected accounts, so the harm comes from delegated authority rather than from the text alone. The practical conclusion is that content safety and access safety are different layers.

A few things that frame the scale:

A question worth separating out:

Q: Could read-only runs contain prompt injection damage?

A: Yes, but only partially. Read-only runs limit direct modification, so they can reduce destructive prompt injection damage, yet the agent can still leak sensitive data, expose tokens, or trigger side effects through tools that look read-only but have indirect impact, such as search, export, or notification actions. Containing damage needs strict tool allow-lists and data egress controls.

👉 Read our full editorial: Indirect prompt injection in tool calls can leak private data



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.