1 in 4 Breaches Are Now AI-Enabled: Why Static Firewalls Can't Stop Dynamic Agentic Threats
1 in 4 Breaches Are Now AI-Enabled: Why Static Firewalls Can't Stop Dynamic Agentic Threats
Date: 28 November 2026
Executive Summary
AI agents change the shape of an attack. A conventional application usually follows a known request path. An agent can interpret untrusted content, select tools, create intermediate plans, and take actions across systems. A firewall may permit the connection while missing the dangerous decision made inside it.
The business risk is unauthorized action at machine speed: data disclosure, fraudulent transactions, destructive changes, or privilege expansion. The security decision is clear: keep network controls, but place identity-aware authorization and policy enforcement at every meaningful agent step. Treat each tool call as a high-value operation, not as an incidental API request.
The “1 in 4” figure in this headline should not be treated as a universal industry statistic without a defined dataset, timeframe, and meaning of “AI-enabled.” Security teams should measure that category in their own incident data. The architectural risk exists regardless of the final percentage.
Contents
- Threat model and architecture
- The control layers
- Implementation guidance
- Risks and mitigations
- Deployment checklist
- Frequently asked questions
Threat Model and Architecture
An agentic system typically contains a user interface, an orchestration service, one or more models, memory or retrieval systems, and tools. Tools may include internal APIs, databases, browsers, ticketing systems, payment services, code execution environments, and messaging platforms.
Each component creates a trust boundary. The user input boundary separates an external principal from the agent. The model boundary separates probabilistic reasoning from deterministic application code. The tool boundary separates proposed actions from systems that can change business state. The data boundary separates retrieved content from trusted instructions and sensitive records.
These boundaries matter because the model should not be treated as an authority. It produces a proposal. A separate control plane must decide whether that proposal is allowed.
Identity is not intent
Authentication answers, “Who is this principal?” It may use an identity provider, workload identity, API key, certificate, or signed token. Authentication does not answer whether the requested action is safe.
An agent should have a distinct workload identity. Do not give it the user’s long-lived credentials or a broad service account shared by unrelated workflows. Where delegation is required, preserve the relationship between the human principal, the agent identity, the application, and the target resource.
Authorization answers, “May this authenticated principal perform this action on this resource under these conditions?” The decision should include the operation, object, tenant, data sensitivity, environment, time, approval state, and relevant risk signals.
Tool-call flow
A safer request path is explicit:
- The user authenticates to the application.
- The application creates a scoped agent session and records the human principal.
- The model produces a structured action proposal.
- The policy engine validates the proposed tool, arguments, resource, and context.
- A gateway obtains or presents narrowly scoped credentials.
- The target service performs its own authorization.
- The result is filtered before it returns to the model or user.
- The entire decision and outcome are recorded in an audit event.
A static firewall mostly observes network location, protocol, address, and connection metadata. It may block an unexpected destination, but it usually cannot determine whether an authenticated agent is exporting ten records, modifying a production control, or sending confidential text to an approved domain.
Common failure modes
- Prompt injection: Retrieved documents, web pages, email, or tickets contain instructions that redirect the agent.
- Excessive agency: The agent has write access when it only needs to read, or it can chain tools without approval.
- Confused deputy behavior: The agent uses its own authority to perform an action the user could not perform directly.
- Argument manipulation: Untrusted content changes a destination, query, file path, or recipient.
- Credential leakage: Tokens, secrets, or sensitive tool results enter prompts, logs, memory, or model context.
- Unsafe output handling: A generated command, URL, query, or code fragment is executed without validation.
- Audit gaps: Logs show that an agent called a service but not who initiated it, what policy allowed it, or what data was returned.
The Control Layers
Authentication
Use short-lived credentials and bind them to a workload, session, tenant, and intended audience. Validate issuer, audience, expiry, signature, and token scope. Avoid treating a model-generated identifier as proof of identity.
Authorization
Use deny-by-default decisions for tools and sensitive data. Resource-level authorization should happen at the target service, even if an agent gateway already made a decision. A gateway is a control point, not a substitute for service authorization.
Authorization should be based on structured fields rather than a free-form explanation. A useful decision input can include principal, agent_id, tenant, tool, operation, resource, data_class, environment, and approval_id.
Policy enforcement
Policy enforcement turns a decision into an action constraint. It can limit query rows, block external recipients, require human approval, redact fields, restrict file paths, or force a read-only mode.
Do not rely on the model to enforce these rules. The model may help classify intent, but deterministic code should enforce limits at the gateway and target service.
Auditability
Auditability is different from logging. A useful audit record can reconstruct the decision without storing unnecessary sensitive content. Record the initiating principal, agent identity, model or workflow version, tool, normalized arguments, resource, policy version, decision, approval state, result class, timestamp, and correlation identifier.
Protect audit records from alteration. Define retention and access rules based on business, legal, and security needs. Do not claim that a particular retention period is universally required. Requirements vary by jurisdiction, sector, contract, and internal policy.
Implementation Guidance
Illustrative example: The following policy pseudocode shows the separation between authentication, authorization, and enforcement. It is not a production policy language.
request = {
principal: session.user_id,
agent_id: session.agent_id,
tenant: session.tenant_id,
tool: proposal.tool,
operation: proposal.operation,
resource: normalize_resource(proposal.resource),
data_class: classify_resource(proposal.resource),
environment: runtime.environment
}
require authenticated(request.principal)
require trusted_agent(request.agent_id, request.tenant)
decision = policy.evaluate(request)
if decision.effect == "deny":
audit(request, decision)
return blocked()
if decision.effect == "approval_required":
approval = create_approval(request, decision)
audit(request, decision, approval.id)
return pending(approval.id)
constrained = enforce_limits(
proposal,
max_rows=decision.max_rows,
allowed_domains=decision.allowed_domains,
write_mode=decision.write_mode
)
result = tool_gateway.execute(constrained, scoped_token(decision))
audit(request, decision, result.summary)
return filter_result(result)
For high-impact operations, separate planning from execution. Let the agent prepare a proposed change, show the affected resources, and obtain approval through a controlled interface. The approval should be bound to a specific normalized action, not to a vague statement such as “continue.”
For retrieval systems, label source content as data. Keep system instructions, developer policy, user content, and retrieved text in distinct fields. Apply output filtering before retrieved text is passed to another tool. A document that says “ignore previous rules” is still untrusted document content.
For observability, trace the full chain from user request to model response, tool proposal, policy decision, execution, and returned result. Alert on unusual tool sequences, repeated denied actions, new destinations, privilege changes, large exports, and attempts to bypass approval.
Use adversarial tests that reflect the deployed workflow. Test indirect prompt injection, cross-tenant retrieval, malicious file names, oversized outputs, tool argument confusion, replayed approvals, expired credentials, and partial failures. A model safety benchmark alone does not test the authorization boundary.
Risks and Mitigations
| Risk | Why static controls miss it | Primary mitigation |
|---|---|---|
| Indirect prompt injection | The harmful instruction arrives through an approved data source. | Separate data from instructions, constrain tools, validate arguments, and test retrieved content. |
| Overprivileged agent | The network path may be legitimate while the permission scope is excessive. | Use workload identities, least privilege, short-lived tokens, and operation-specific policies. |
| Cross-tenant disclosure | Traffic can look normal even when object authorization is wrong. | Enforce tenant checks at retrieval and target services, then test isolation. |
| Unsafe tool chaining | Each individual request may be allowed while the sequence creates harmful impact. | Track session state, cumulative risk, transaction limits, and approval requirements. |
| Unprovable decisions | Connection logs do not explain why an action was allowed. | Record policy inputs, policy version, decision, approval, and execution outcome. |
Deployment Checklist
- Define the agent’s human, workload, application, tenant, and service identities.
- List every tool, operation, resource type, data class, and external destination.
- Assign trust boundaries and document which component enforces each control.
- Use short-lived, scoped credentials instead of shared administrator secrets.
- Implement deny-by-default authorization outside the model.
- Normalize and validate tool arguments before execution.
- Set limits for rows, files, recipients, transactions, runtime, and chained actions.
- Require approval for irreversible, high-value, or externally visible operations.
- Apply authorization again at the target service.
- Redact secrets and sensitive data from prompts, logs, traces, and memory.
- Capture decision-quality audit events with correlation identifiers.
- Test prompt injection, replay, tenant isolation, privilege escalation, and partial failure.
- Review policies when tools, models, data sources, or workflows change.
- Measure AI-enabled incidents using a documented internal definition.
Frequently Asked Questions
Can a web application firewall protect an AI agent?
It can protect HTTP traffic and block known patterns, but it cannot replace authorization for tool calls or data access. Use it as one layer in a broader control plane.
Should every agent action require human approval?
No. Universal approval can create delays and approval fatigue. Use risk-based controls. Low-impact reads may be automatic, while destructive changes, sensitive exports, and external communications require stronger checks.
Is prompt injection an authentication problem?
No. Prompt injection is primarily an instruction and authorization problem. The attacker may have no valid identity, yet their content can influence an agent that holds valid authority.
Should the agent use the user’s access token?
Only when the delegation model is explicit, scoped, and auditable. In many systems, a distinct workload identity with carefully bounded delegation is safer than passing a broad user token through model context.
Are policy engines enough?
No. Policy engines make decisions, but enforcement must be attached to execution points. The target service should still authenticate and authorize the request.
What should security teams monitor first?
Start with tool-call traces, denied decisions, approval bypass attempts, unusual action sequences, high-volume retrieval, new destinations, and changes to agent permissions.
Does this architecture require a specific regulation?
No. The controls are architectural practices, not a claim about a universal legal requirement. Map them to applicable laws, contracts, sector rules, and internal risk tolerances.
What is the first practical step?
Inventory one production agent. Draw its identity and data flows, list its tools, and place an enforceable authorization decision between the model’s proposal and every consequential action.
Static firewalls remain useful for network exposure and transport control. They are not designed to judge dynamic intent. Agent security requires the same discipline applied to other privileged systems: explicit identity, narrow authorization, enforceable policy, and evidence that explains what happened.
Use AXEC for governed AI-agent security and schedule a 30-minute meeting to discuss your agentic workflow controls.