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:
- Discovery. Shadow AI, browser extensions, IDE plugins, MCP servers, local LLM models, and other unmanaged software across endpoints.
- Supply chain risk. Assessment of software supply chain risk. Palo Alto's write-up of the Binance intrusion describes AES inspecting code repositories and candidate packages before they are built or executed locally.
- Governance. Out-of-the-box policies for agent interactions and one-click removal of insecure packages, extensions, and AI tools.
- Prevention. Stopping risky downloads and rogue AI agent actions. The same Binance write-up describes AES restricting agents to approved toolsets.
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:
- User prompts before they reach the LLM.
- Responses after they return.
- External MCP tool calls before execution.
- Network calls (WebFetch and WebSearch) before and after execution.
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
- Masking is not an alternative to Block. The profile doc says masking only works when Sensitive Data Detection is set to Block, and only with a basic DLP profile. If you want masked output for some rules, give them a profile built that way and use the per-rule override.
- MCP tool calls get their own profile. External MCP calls execute with the user's permissions. They deserve a stricter override than plain prompts.
- WebFetch and WebSearch are an injection path. Fetched content is where indirect prompt injection arrives. Inspect both before and after execution.
- Data residency. Check the API Intercept supported-regions page. In some regions, URL category detection is out-of-region (extracted URLs go to the Netherlands or Singapore). If you have residency constraints, that matters for every WebFetch your agents make.
- Language coverage. Prompt injection detection supports a fixed list of languages, with Hindi and Traditional Chinese in preview. The doc lists custom topic guardrails as supported in English. If your developers prompt in other languages, test it.
Failure patterns worth naming
- The scope mismatch. AES policy covers five agents, the AIRS profile was built for three. Two agents are in scope and not fully protected. The doc warns about this case; it does not describe an alert for it, so I check the mapping by hand.
- The orphaned secret. The service account secret was shown once and nobody saved it properly. Integration works until someone needs to reconnect, then it is a re-provisioning exercise.
- The unexamined latency setting. Latency action left on Allow during the pilot and never revisited. Nobody has checked what happens to agent traffic when inspection is slow.
- The sanctioned-list illusion. Policy written for the agents IT approved. Discovery shows three more. Write policy from inventory, not from procurement.
- The EDR-only assumption. "Our EDR covers the laptops." It covers processes. It was not built to see an MCP server forwarding mail or an IDE extension reading open files.
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
- Prisma AIRS Integration with Cortex AES for AI Coding Agent Security
- Cortex Agentic Endpoint Security
- Prisma AIRS AI Runtime Security
- Cortex Agentic Endpoint Security At a Glance
- Cortex Agentic Endpoint Security (AES) Tech Brief
- Securing the Agentic Endpoint
- Reinventing Endpoint Security with Cortex XDR One
- Introducing Unit 42 Managed Agentic Endpoint Security
- How a Developer Endpoint Became the Path to Binance's $6.3B Heist
- Create and Configure API Security Profile
- Manage Applications, API Keys, Security Profiles, and Custom Topics
- Prisma AIRS API Intercept Supported Regions