By NHI Mgmt Group Editorial TeamBased on ActiveFence: “WonderFence Now Integrates with Microsoft Copilot Studio to Secure Agents” (May 26, 2026)

TL;DR: As no-code AI agents become easier to deploy, WonderFence integrates with Microsoft Copilot Studio to enforce policies, monitor prompts and tool use, and reduce data leakage and compliance exposure, according to ActiveFence. The core issue is that agent governance now has to constrain runtime behaviour, not just approve access at build time.


At a glance

What this is: ActiveFence describes a guardrail layer for Copilot Studio agents that focuses on runtime policy enforcement, prompt monitoring, and tool-use control.

Why it matters: It matters because agent governance has to extend beyond build-time approval to continuous control over what an agent can say, access, and attempt during execution.


Context

Copilot Studio makes it easier for teams to deploy chat-based agents that can answer questions, access files, and call tools. The security gap is that ease of deployment does not equal governed behaviour, especially once an agent operates against live business data or customer workflows.

In practice, agent governance now sits at the intersection of AI safety, access control, and data protection. The issue is not only whether an agent is authorised to exist, but whether its runtime actions are constrained tightly enough to prevent prompt injection, unsafe tool use, and accidental disclosure.


Key questions

Q: What breaks when agent guardrails are missing in Copilot Studio workflows?

A: Without runtime guardrails, a no-code agent can be steered into revealing tools, misusing those tools, or disclosing data it should never expose. The failure is not just technical, but governance-related: the organisation has approved the agent, yet has not constrained its live behaviour tightly enough to keep execution within policy boundaries.

Q: Why do AI chat interfaces increase the risk of data leakage compared with normal user interactions?

A: AI chat interfaces lower the friction for disclosure, so users are more likely to paste confidential material into a conversation without thinking through the consequences. Unlike a controlled internal system, the interaction can leave the organisation’s boundary immediately, and the model may retain or learn from the input. That creates a wider exposure path for PII, intellectual property, and regulated data.

Q: How do organisations know if agent governance is actually working?

A: Agent governance is working when every agent is discoverable, owned, least privileged, and auditable at the action level. Look for reduced shadow AI, fewer embedded secrets, clean revocation on retirement, and logs that show which tools and data paths were used. If those signals are missing, governance is still partial.

Q: Should organisations separate customer-facing agent policies from internal automation policies?

A: Yes. Customer-facing agents usually need stricter limits on advice, disclosure, and tool scope than internal workflow agents, even when they use the same underlying platform. Separate policy domains reduce the chance that one permissive rule set bleeds into a higher-risk use case.


Technical breakdown

Why runtime guardrails matter for Copilot Studio agents

Copilot Studio agents operate with access to prompts, tools, and often organisation-specific context, which means build-time approval alone does not control their behaviour after deployment. Runtime guardrails sit between the agent and its actions, applying policy checks to prompts, tool calls, and outputs as they happen. That matters because the risky moment is often not creation, but execution, when an attacker or careless user can steer the agent into revealing information or taking an unsafe action. In governance terms, the control boundary has to move from provisioning to runtime enforcement.

Practical implication: apply policy enforcement at execution time, not just during agent onboarding.

How prompt injection turns tool access into data exposure

Prompt injection works by manipulating the natural-language instructions an agent follows so that it deviates from intended behaviour. When an agent can use tools or query data sources, the injection does not need to break the model, it only needs to redirect the workflow. That is why tool inventory, tool permission scope, and output filtering are tightly linked. If an agent can be persuaded to enumerate available tools, fetch records, or summarise restricted content, the attack path can end in data leakage without any traditional exploit. The control problem is identity and authorisation for agent actions, not just model quality.

Practical implication: restrict tool scope and treat tool invocation as a privileged action path.

Context-based policy enforcement for agentic workflows

Context-based guardrails apply different rules depending on who is asking, what the agent is doing, and what data is in scope. That is a practical fit for customer service and compliance-heavy workflows, where an agent may be allowed to answer routine questions but not provide regulated advice or expose sensitive records. The key technical point is that policy must be evaluated continuously against context, rather than encoded as a one-time static rule. This moves agent governance closer to conditional access for AI behaviour, which is a useful model for teams already managing sensitive workflows and identity-bound permissions.

Practical implication: define policy by use case and data context, then monitor for drift in production.


Threat narrative

Attacker objective: The objective is to use the agent's trusted workflow position to extract restricted information or trigger unsafe actions without needing direct infrastructure compromise.

  1. Entry occurs when a user or attacker interacts with a Copilot Studio agent that is exposed through normal business workflows and can accept free-form prompts.
  2. Credential or context abuse follows when the prompt steers the agent to reveal its available tools or use those tools beyond the intended business purpose.
  3. Impact occurs when the agent discloses sensitive information or executes a harmful workflow, turning a chat interface into a data exposure channel.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Agent governance has moved from approval to containment. Copilot Studio lowers the barrier to deployment, but that also means organisations can create production-facing agents faster than they can govern them. The important change is that access review alone does not tell you how an agent will behave once it starts reasoning over prompts and tools. Practitioners should treat runtime policy enforcement as the real control boundary.

Prompt injection becomes an authorisation problem once tools are in play. The article's core risk is not the existence of a chatbot, but the combination of conversational control and privileged tool access. That creates a governance gap where language can influence action, and action can reach sensitive systems. This is where agent identity, tool scope, and output control intersect in a way traditional IAM does not fully cover.

Context-aware controls are the right mental model for agentic risk. Static rules are too blunt for customer service, compliance, and workflow automation use cases, where the same agent may be safe in one context and unsafe in another. The emerging requirement is policy that follows the conversation, data sensitivity, and task intent. Teams that cannot express context in policy will keep discovering risk only after the agent is already live.

Agentic AI introduces a new governance debt: unmanaged production behaviour. The named concept here is runtime governance gap, meaning the difference between building an agent and constraining its live decisions. That gap widens when organisations allow no-code deployment without equivalent operational controls for logging, tool restriction, and policy exception handling. The practical conclusion is that agent rollout speed must be matched by control maturity.

From our research library:

What this signals

Runtime governance gap: Copilot Studio-style deployments show that the main control problem is not whether an agent exists, but whether its live decisions are constrained tightly enough to prevent prompt injection and unsafe tool execution. Organisations that rely on pre-deployment approval alone will continue to miss the moment where policy must actually intervene.

Agent behaviour needs to be governed like a sensitive access path. That means logging prompts, tool calls, refusals, and exceptions as first-class security events, then using those records to prove whether the agent stayed inside its intended boundary.


For practitioners

  • Enforce runtime policy checks for every agent action Apply approval logic to prompts, tool calls, and outputs at execution time so policy violations are blocked before the agent reaches data or downstream systems.
  • Limit tool access to the minimum required scope Inventory every tool exposed to an agent, remove anything not needed for the use case, and separate customer-facing workflows from internal data operations.
  • Log prompts, tool calls, and refusals centrally Keep a complete audit trail that shows what the agent was asked, what it attempted, and what it was prevented from doing, so investigations can reconstruct behaviour.
  • Test agents against prompt injection and jailbreak paths Red-team the exact workflows where users can ask about capabilities, request sensitive data, or coerce the agent into unsafe actions before broad rollout.

Key takeaways

  • The central risk is not agent creation speed but the gap between approval and live behavioural control.
  • Prompt injection becomes more dangerous when an agent can call tools or touch sensitive data during the same conversation.
  • Runtime guardrails, scoped tool access, and complete audit logging are the controls most likely to contain this class of risk.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on agents misusing tool authority and policy boundaries.
ASI02 — Tool MisuseThe article shows how prompts can steer an agent into unsafe tool execution.
ASI09 — Human-Agent Trust ExploitationThe attack pattern relies on users trusting the agent enough to follow malicious prompts.
Recommendation — Bind agent actions to least-privilege tool scopes and block privilege escalation at runtime. Restrict tools per workflow and validate every invocation against policy before execution. Design refusal paths and user warnings that prevent trust from becoming an exploitation channel.
NIST AI RMFMANAGE — AI Risk ManagementThe article is about governing agent behaviour in production workflows.
Recommendation — Establish production monitoring, escalation, and exception handling for agent runtime risk.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsAgent tool access is an authorisation problem once it can reach data and workflows.
Recommendation — Constrain agent entitlements so tool access matches the minimum required business task.

Key terms

  • Runtime Guardrail: A control applied while an AI agent is operating, not just during configuration or review. Guardrails can block dangerous tool calls, require approval for sensitive actions, or stop data leakage before it reaches systems or users.
  • Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads, causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
  • Tool Scope: The specific set of actions or resources a tool-enabled identity is allowed to use. For MCP, scope is the practical boundary that keeps a model-connected server from turning into broad system access. Weak scope design creates unnecessary blast radius and complicates later revocation.
  • Agentic workflow: An agentic workflow is a sequence of tasks executed by an AI agent with some level of tool access and decision authority. In security terms, the workflow matters because it can span multiple systems, identities, and permissions, which makes attribution and revocation harder than with ordinary automation.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and machine identity security. It helps security practitioners connect identity control to the operational risks created by autonomous and semi-autonomous systems.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org