# Shadow Agents Inside the Secured Network

FortiOS 8.0 gives network teams eyes on the agent conversation for the first time. What the wire can now see, what belongs to the layer above it, and where identity for this new population actually lives.

**Ram Jayam**, President and CEO, Backflipt · July 30, 2026 · 6 minute read

The perimeter held. Two decades of segmentation, application firewalls, vaults, and logging did what they were designed to do: the applications, assets, and data behind the network are identified, governed, and audited for every actor class the design anticipated.

AI agents are the class it did not anticipate. They appear in weeks, hold whatever tokens they were given, and reach the same resources the enterprise just finished securing. They are non-human identities operating at machine speed, and most of them arrive without a name the network can verify. That is the shadow agent problem, and this year it moved from theory to log file.

## What FortiOS 8.0 adds

With FortiOS 8.0, a FortiGate can parse the agent conversation itself. When Model Context Protocol or Agent2Agent traffic crosses the firewall under deep inspection, application control classifies it and the traffic log carries a new family of fields:

- `aimethod`: The JSON-RPC method the client invoked, such as _tools/call_ or _prompts/get_. This is the verb of the agent conversation.
- `aifunc`: The specific tool, prompt, or function name the method targeted.
- `aiargs`: The arguments passed to that function, straight from the payload.
- `cloudaiagent`: A signature composite naming the application, use case, method, and function of the destination service.
- `agent`: The client’s User-Agent header. MCP clients typically surface as values like _node_ or _python-httpx_.

Here is a documented 8.0 log line with those fields together:

```
type="utm" subtype="app-ctrl" appcat="GenAI" app="Protocol.MCP.Prompts"
srcip=10.1.100.126 srcport=60047 dstip=172.16.200.214 dstport=3333
hostname="172.16.200.214" url="/mcp" agent="node" httpmethod="POST"
aimethod="prompts/get" aifunc="simple-prompt"
cloudaiagent="APP=Protocol MCP, UseCase=Utility_Tools, Method=prompts/get, Function=simple-prompt"
```

Read it left to right: a Node-based client at **10.1.100.126** invoked **prompts/get** on a prompt named **simple-prompt** at an MCP server on **172.16.200.214:3333**. Green fields describe the conversation. The coral field is a claim the client made about itself.

Credit where it is due: this is real progress. A year ago this session was undifferentiated HTTPS. Today the firewall names the protocol, the method, and the function, and it does so inline, on hardware the enterprise already owns. Fortinet has given network and SOC teams their first honest census of a population most of them could not see. Discovery is the first control, and the wire now provides it.

## Identity lives a layer up

Now read the source side of that log line again. The destination is well described. The caller is _10.1.100.126_ and a User-Agent string. Which agent is that? Acting for whom? With what authority?

The wire has three ways to answer, and each one is doing exactly what its layer was designed to do. **Device detection** populates a source hostname when the FortiGate is layer-2 adjacent to the workload; across a routed hop or in a cloud VPC, that signal is out of scope by design. **The User-Agent header and the MCP payload fields** are self-asserted, as HTTP has always intended them to be: they describe the client in the client’s own words. **Address objects** map an IP to a friendly name for as long as address assignment holds, which in a world of NAT, shared egress, and container churn is a moving target no network device controls.

None of this is a flaw in the firewall. It is the nature of the layer. Packets carry addresses; they do not carry attested identity.

For human users the industry solved this long ago by moving identity up the stack: directories, MFA, tokens. Agents need the same move. Identity for this population is an application-layer property, which is why the decision layer, not the wire, has to carry it.

## Where verification has to live

Verified workload identity for agents comes down to three properties, all of them enforced above the packet:

**Cryptographic identity.** Each agent carries an attested credential, a SPIFFE SVID or an equivalent certificate bound to the workload itself, presented over mutual TLS. The name is proven, not asserted.

**A policy decision at request time.** Before the call executes, a decision point evaluates who the agent is, what it intends to do, and whether that intent is allowed for its group, and an enforcement point applies the answer inline. Segmentation moves up a layer: microsegmentation for agents, not just for subnets.

**Credentials with lifetimes.** The agent never holds a permanent secret. At call time, a verified identity is exchanged for a short-lived, scoped token drawn from the vault, and the standing privilege parked on the agent drops to zero.

DECISION LAYER · VERIFIES
Agent + SVID
Verify identity · Check intent
Exchange for scoped token
PDP + PEP at request time

MCPserver
WIRE LAYER · FORTIGATE OBSERVES
appcat="GenAI" aimethod aifunc aiargs cloudaiagent srcip srcport agent="node" hostname url

verification takes over here

The wire layer classifies the conversation and records claims. The decision layer proves the claimant, checks intent against policy, and issues a credential with a lifetime, before the request reaches the MCP server.

Notice what this pattern does not require. It does not replace the firewall; it consumes what the firewall now surfaces. It does not ask the enterprise to rebuild its identity stack; it federates with the IAM already in place. No agent is re-coded. No application authorization is reworked. The two decades of network investment that opened this article stay exactly where they are, and the verification layer completes them the same way MFA once completed the directory: no forklift, no reorganization, one new decision point in the path.

The wire now sees the agents. The next step is knowing, and controlling, who they are.

**Lumen A2A Gateway is Fortinet Fabric-Ready validated.** FortiGate detection and Lumen application-layer verification and enforcement are validated to work together as an integrated architecture.

We will show this pattern running live, FortiGate detection feeding application-layer verification and enforcement with Lumen A2A Gateway, alongside Fortinet and IBM at Black Hat USA on August 5: [Trust No Agent: Securing Agent-to-Agent and MCP Communications](/content/lumen-fortinet-ibm-solutions/index.html), 2:00 PM, Fortinet Theater.

## Frequently asked questions

**Does FortiOS 8.0 detect MCP and A2A traffic?**  
Yes. FortiOS 8.0 application control classifies MCP and A2A protocol traffic under deep inspection and populates new log fields, including aimethod, aifunc, aiargs, and cloudaiagent, so network teams can see which agent methods and tools are being invoked across the firewall.

**Can a firewall verify the identity of an AI agent?**  
A firewall records what the client presents. The source-side signals in agent traffic, including the User-Agent header and the MCP payload fields, are self-asserted by the client, and hostname mapping depends on device detection or IP assignment discipline. Verifying an agent requires cryptographic workload identity checked at the application layer, at request time. That is a complement to the firewall, not a gap in it.

**What is verified workload identity for AI agents?**  
It combines cryptographic identity for each agent, such as SPIFFE SVIDs attested over mutual TLS, a policy decision evaluated at request time before the call executes, and short-lived scoped credentials issued through token exchange so agents never hold permanent secrets.
