Cortex AES and Securing AI Coding Agents on the Endpoint

Victor Monga · November 10, 2026

Bottom line: an AI coding agent is not an application you can allow or block once and forget. It is a user-privileged process that reads untrusted content, calls tools, installs things, and acts at machine speed. Cortex Agentic Endpoint Security (AES) gives you inventory and control over that layer on the endpoint. The Prisma AIRS Runtime integration, which went GA in September 2026, adds inspection of what flows through the agent. You need both halves, and you need them scoped to the same agents, or you end up with coverage you think you have and do not.

I have sat in reviews where the security team could list every binary on a developer laptop and could not answer a simpler question: which coding agents are running, which MCP servers they talk to, and what they did yesterday. The EDR was working. It was just looking at the wrong layer.

The mental model: two layers, two owners

Palo Alto describes the modern endpoint as increasingly shaped by nonbinary software: code packages, browser extensions, IDE plugins, scripts, local MCP servers, containers, and model artifacts. Employees and developers install these directly, and because they are not classic binaries, they tend to fall outside traditional endpoint tooling. Agents make it worse. They operate with the user's credentials and permissions and can discover, invoke, and install additional components on their own.

Split the problem into two layers.

Layer 1: what is on the box and what it is allowed to do. This is AES. Inventory of AI tools, agents, MCP servers, extensions and packages. Risk analysis of each. Policy on what may be installed or used. Real-time blocking of risky downloads and agent actions. Palo Alto frames AES around four pillars: AI-native total visibility, context-aware risk, proactive governance and control, and real-time prevention.

Layer 2: what flows through the agent. This is Prisma AIRS AI Runtime Security (API Intercept). It inspects prompts, MCP tool calls, and network calls and returns a verdict.

The integration doc is explicit about the split, and it is worth internalizing. AIRS inspects content and returns an enforcement verdict. AES owns everything around that verdict on the endpoint: which agents, endpoint groups, and events are in scope, deploying and managing the AIRS hooks on every device with API keys handled centrally, enforcing the verdict and telling the developer inside the agent's chat, and recording every verdict in the AES portal attributed to device, agent, session, and policy.

Two consoles, one handoff: Detection rules live in the Prisma AIRS console in Strata Cloud Manager. Scope, hooks, and enforcement live in the AES console. The only value you copy between them is a service account credential.

What AES sees and controls

From the public material, AES covers:

It deploys two ways. Standalone, alongside a third-party EDR, using the Cortex targeted sensor. Or natively inside Cortex XDR One, which puts XDR and AES on a single sensor and console. Unit 42 also offers Managed AES on top of either model.

How the AIRS integration inspects agent content

The integration doc names Claude Code, Cursor, Codex, GitHub Copilot, and Antigravity as examples of the AI coding tools it secures.

AIRS inspects at four points:

It detects prompt injection, sensitive data leakage, insecure output such as malware and malicious URLs, toxic content, and credential leakage. When sensitive data is detected, the response comes back with masked text in place of the original.

Policy is layered. AES fetches your AIRS security profiles so a runtime policy can reference them by name. A default profile applies to the whole policy, and any individual rule for prompts, MCP tools, or network calls can override it with a different profile. That override is where most of your design work happens.

The rollout checklist

Prerequisites from the doc: Prisma AIRS AI Runtime Security (API Intercept), a Prisma AIRS AI Runtime API application, and a Cortex AES subscription.

1. Inventory before you enforce

Turn on discovery and leave it alone for a while. You want the real list of agents, MCP servers, and extensions in use, not the sanctioned list. The XDR One announcement gives the right framing: a CISO can see which coding agents engineering actually uses and make an informed call on the productivity cost of removing one.

2. Create the Strata Cloud Manager service account

Add a service account, assign the RBAC role for Prisma AIRS API access (minimum Read Only for API Keys and Profiles under AI Runtime Security API), save, and copy the Client ID and Client Secret. They are shown once. Put them in your secrets vault before you close the dialog.

3. One API key per policy

Create the runtime API application and key. The doc says to create one API key per policy, and a separate key for each policy if you plan to use different security profiles. Decide your policy count now. Retrofitting keys later is churn.

4. Build the security profile

Choose detectors and actions, for example prompt injection set to block, plus DLP and malicious URL detection. Start with the detectors that produce findings you will actually act on.

5. Match profile scope to policy scope

This is the one the doc calls out directly. If an AES policy targets more agents than the selected security profile covers, those agents will not be fully protected. Scope both to the same set of agents. Write the mapping down.

6. Connect in the AES console and deploy hooks

Enter the Client ID and Secret in AES. AES uses them to fetch your API keys and security profiles automatically. Creating the runtime policy and deploying hooks happen in the AES console and are covered in the AES documentation; the integration doc says rules are pushed as managed policy with no per-device hook setup. My rule of thumb: roll out by endpoint group, not to the whole fleet on day one.

7. Test the latency behavior in the pilot

AIRS API security profiles carry a latency threshold in seconds, with an Allow or Block action when it is exceeded. The integration doc does not say how that setting plays out for AES hook traffic, so I treat it as a pilot check: set it deliberately on each profile AES will reference, then confirm in a pilot group what developers actually see when inspection is slow. Tell engineering what you found.

8. Test key rotation in the pilot

AIRS API keys can be set to rotate every month, 3 months, or 6 months, and after rotation the previous key remains active for 14 days. The integration doc does not cover rotation, so I check in a pilot group that AES picks up the rotated key before the old one expires.

Policy decisions worth arguing about

Failure patterns worth naming

Where this goes next

Inventory is the floor. Once you know what agents and MCP servers are actually running, the rest is ordinary policy work: scope, profiles, exceptions, and a review cadence. Later posts will cover AIRS security profile tuning and how agent verdicts should land in your SOC workflow.

If you take one action from this post: list every AI coding agent and MCP server on ten developer laptops this week. Compare it with what you think is approved. You will find something.

Running AES or the AIRS integration already? Bring your rollout lessons to the next FUEL SoCal event. The good ones get folded into the follow-up.

Sources

More from the FUEL SoCal blog