Subscribe to the Non-Human & AI Identity Journal

What breaks when agent governance is limited to output filtering?

Output filtering catches unsafe text, but it does not stop an agent from taking an unsafe action first. If the system can query databases, send messages, or write records, the harmful step may already be committed by the time the output is reviewed.

Why This Matters for Security Teams

Output filtering is a useful safety layer, but it is not a governance model. For agentic systems, the risky moment is often not the final text shown to a user, but the tool call, database write, email send, ticket update, or API action that happens before anyone reads the output. That is why current guidance in the OWASP Agentic AI Top 10 and the NIST AI Risk Management Framework stresses broader control of agent behaviour, not just content moderation.

The practical failure is simple: a filtered response can still conceal an unsafe chain of actions. If an agent has access to customer records, internal systems, or privileged workflows, a malicious prompt, poisoned retrieval result, or poor tool policy can trigger harmful behaviour even when the wording that reaches the screen looks harmless. In security terms, output filtering only examines the last mile, while the attack surface sits across inputs, planning, tool use, memory, and execution authority.

That distinction matters because incident response depends on stopping the action, not merely rejecting the text. Teams that equate “safe output” with “safe system” often miss the fact that autonomous steps can mutate state, expose data, or create downstream trust decisions before any human review occurs. In practice, many security teams encounter this only after a record has been changed, an approval has been sent, or a credential has been exposed, rather than through intentional testing.

How It Works in Practice

agent governance needs to control the full action chain. Output filtering can sit at the end of the pipeline, but it should be paired with pre-execution policy checks, least-privilege tool access, human approval for high-impact actions, and logging that records prompts, plans, tool calls, and outcomes. The key question is not only “was the response safe?” but also “was the action authorised, necessary, and reversible?”

In mature environments, governance is usually layered across four points: intake, reasoning, execution, and audit. Intake controls limit prompt injection and untrusted data sources. Reasoning controls constrain what the agent is allowed to plan. Execution controls gate database writes, outbound messages, financial actions, and secret access. Audit controls provide traceability for investigations and model risk review. This lines up with the control intent of the NIST Cybersecurity Framework 2.0, especially governance, access control, logging, and response coordination.

  • Restrict tools by role, environment, and task scope.
  • Use approval workflows for destructive or external actions.
  • Separate read-only reasoning from write-capable execution.
  • Log prompts, tool arguments, and final system state changes.
  • Test prompt injection, indirect prompt injection, and tool abuse paths.

Threat modelling should also include adversarial AI patterns. The MITRE ATLAS adversarial AI threat matrix is helpful for mapping how manipulation of inputs, context, or tools can produce harmful outcomes, while the CSA MAESTRO agentic AI threat modelling framework is useful for thinking about trust boundaries across multi-step agent workflows. These controls tend to break down when the agent is allowed broad tool access in a live production environment because a single unconstrained action can complete before a filter evaluates the final text.

Common Variations and Edge Cases

Tighter agent controls often increase latency, operational friction, and review overhead, so organisations have to balance safety against workflow speed. That tradeoff becomes more visible when the agent supports customer operations, SOC triage, or developer automation, where blocking every uncertain action can reduce usefulness.

Best practice is evolving for semi-autonomous and multi-agent systems, and there is no universal standard for how much action should be pre-approved versus post-reviewed. For low-risk summarisation, output filtering may be adequate as one layer. For systems that can send messages, alter records, trigger payments, or manage identities, current guidance suggests moving to action-based policy enforcement, not just content inspection. That is especially important when the agent can touch privileged workflows, because the most damaging failure may be a valid-looking action taken with legitimate credentials.

The identity-security intersection is strongest when the agent can assume roles, invoke service accounts, or request access on behalf of a user. In those cases, output filtering does nothing to stop privilege misuse. Practitioners should map agent permissions to the minimum necessary scope, then validate whether the agent can escalate through tool chaining or inherited trust. Output safety is still worthwhile, but it is not a substitute for action governance, identity-aware access control, and audit-ready decision records.

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, MITRE ATLAS and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A1 Agent output filtering misses tool abuse and unsafe actions.
NIST AI RMF GOVERN Governance must cover autonomous behaviour and decision authority.
NIST CSF 2.0 PR.AC-4 Least privilege limits what an agent can do if prompts are manipulated.
MITRE ATLAS ATLAS maps attack paths that exploit model context and tools.
CSA MAESTRO MAESTRO addresses trust boundaries across agent workflows.

Treat agent safety as end-to-end control of inputs, tools, and execution, not only response text.