Join our Newsletter — 33% off our NHI Course

Why does Prompt Injection protection miss Foundry Agent Service?

 

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

TL;DR: Prompt-injection risk in Azure OpenAI follows the build path, with Foundry Agent Service getting agent-level guardrails while other paths may rely on model-side scanning alone, according to ARMO. That leaves agent runtime coverage uneven, so teams need to verify which intervention points actually apply before they trust the controls.

Editorial analysis by NHI Mgmt Group, based on content published by ARMO: “Azure OpenAI Prompt Injection: What Prompt Shields Misses”.

Key questions

Q: Why do prompt injection attacks create identity risk?

A: Prompt injection becomes an identity problem when the model can use its authorised access to query data, call tools, or trigger actions on behalf of the request.

Q: What do security teams get wrong about guardrails as a substitute for agent containment?

A: Guardrails can block or inspect individual actions, but they do not necessarily stop an already compromised agent from continuing to reason, retry, or shift to another path.

Q: Where does Azure OpenAI prompt injection protection fail in practice?

A: It fails when teams assume model-side prompt shields cover the whole agent stack.

Practitioner guidance

  • Validate guardrail scope per agent runtime Document whether each Azure OpenAI workload is a custom orchestrator, Foundry standard agent, or hosted agent, then verify the exact intervention points it actually receives.
  • Test override behaviour before production Check whether assigning an agent-level guardrail removes stricter model-side settings, and record which controls survive assignment versus which disappear.
  • Audit tool-call and tool-response coverage Confirm that tool calls, tool responses, and retrieved context are being inspected in the shape your agent loop actually submits, not only in the model deployment.

Bottom line: Azure OpenAI prompt injection exposes a boundary problem, where the controls teams configure may not cover the agent runtime they actually deploy.

Glossary terms: Prompt Injection (Agentic), Runtime Guardrail, Workload Identity Federation, Behavior Baseline

Explore further

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


This topic was modified 2 weeks ago by NHI Mgmt Group

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

Azure OpenAI prompt injection is a control-scoping problem, not a classifier problem. The article shows that the shield technology can work as designed and still fail to protect the runtime teams actually operate. The gap appears when model-level protections are mistaken for agent-level protections, especially where tool calls and tool responses are outside the model boundary. Practitioners should treat scoping as the primary design question, not a tuning exercise.

A question worth separating out:

Q: How should organisations govern prompt injection risk across Azure OpenAI agents?

A: They should govern the agent runtime, not just the model. That means mapping each workload to its build path, verifying which intervention points are active, and adding behaviour-based monitoring for agents that hold meaningful tool, secrets, or network reach. Governance has to reflect actual execution boundaries.

👉 Read our full editorial: Azure OpenAI prompt injection exposes agent guardrail blind spots



   
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.