The Endpoint Strikes Back

Why AI agents have made the endpoint the most important place to look again, and what I'd do about it.

Shaun Archer

11/11/202615 min read

Visibility of the endpoint
Visibility of the endpoint

For most of the last decade, the endpoint was the part of the stack nobody argued about. You bought an EDR, deployed the agent (praying it didn't consume too much compute), tuned the noise and moved your budget and your best people on to Cloud, SaaS and Identity. The interesting problems were somewhere else. As someone who works on Identity Security, I say this with some self-awareness. I think the industry stopped looking at the device far too early.

The most consequential software in the enterprise today is not in a data centre or a SaaS tenant. It is an AI agent running on a laptop. It reads local files, holds OAuth tokens, spawns shell commands, calls MCP servers and drives a browser session that is already signed in to everything (I personally use Claude in Chrome heavily, turning my browser frequently in to an interactive agent on-demand). The endpoint has quietly become the place where AI actually does things, and that makes it the place AI security has to see.

My argument is simple. AI security is driving a resurgence in endpoint security, not because the old threats came back, but because the endpoint is the only vantage point that sees the whole chain from prompt to action. Network, SaaS and identity telemetry each see a fragment. The device sees the story.

In this post I cover how we got here, what changed, the visibility gap, the new threat model, what endpoint telemetry needs to capture, how the market is responding, where identity fits and what I would do over the next 12 months.

1. How the endpoint became "solved"

The endpoint lost its status as the frontier for a simple reason. EDR worked. Signature AV gave way to behavioural EDR in the mid-2010s, and by the early 2020s a handful of platforms dominated the market. Kernel-level sensors, cloud analytics and managed detection turned ransomware and commodity malware into a known operational problem rather than an existential one.

At the same time, the attack surface moved. Three shifts pulled attention away from the device.

  • Cloud and SaaS. Business data moved into tenants the endpoint agent never touched. CSPM, CASB and SSPM rose to cover them.

  • Identity. Attackers stopped breaking in and started logging in. Session hijacking, MFA fatigue and OAuth abuse made "identity is the new perimeter" the defining line of the era, and ITDR and ISPM emerged as categories.

  • The browser. Most work happened in a tab, so enterprise browsers and browser extensions became a control point of their own.

The net result was a familiar pattern. EDR became table stakes, consolidated into platforms and was treated as plumbing. Necessary, expensive (additional compute, licensing and operational cost) and not where the innovation lived.

That framing assumed the device was a client, a window onto work done somewhere else. AI agents break that assumption. They turn the laptop back into a place where autonomous work is executed.

2. What changed when AI moved onto the device

The first wave of enterprise AI was a chat window in a browser, and security for it looked a bit like traditional web security: block the domain, inspect the upload, log the prompt at a proxy. The second wave is very different. AI now runs as local software with the user's own privileges, and it acts.

On a typical developer's or knowledge worker's machine, the local AI estate now looks something like this:

  • CLI coding agents. Claude Code, Codex CLI, Gemini CLI and GitHub Copilot CLI read repositories, edit files and run shell commands.

  • Desktop assistants. Claude Desktop, ChatGPT Desktop and Microsoft Copilot, increasingly wired into local files and connectors.

  • Agentic IDEs and extensions. Cursor, Kiro, Cline and Roo Code turn the editor into an autonomous executor.

  • Local MCP servers. These give agents their tools: filesystem, Git, databases, cloud CLIs, ticketing, chat. Each one is a process launched from a config file the security team has probably never seen.

  • Skills, plugins and extensions. Pulled from public registries, often unsigned and unreviewed.

  • Local models. Runtimes such as Ollama move inference off the network entirely.

  • Browser agents. These operate inside a browser session that is already authenticated (Claude in Chrome, Codex for Chrome etc.)

None of this is hypothetical any more. When Microsoft took local AI agent discovery in Defender to general availability on 29 October 2026, it already covered more than 50 agents and MCP servers across Windows and macOS (Microsoft). I find that quite telling. A major vendor is now inventorying a category that barely existed two years ago.

What all of these share is that they run as the user. An agent inherits the user's filesystem access, their SSH keys, their cloud CLI sessions, their browser cookies and their OAuth tokens. Palo Alto Networks' Lee Klarich put it well when closing the Koi acquisition, saying these agents "operate with access to critical systems and sensitive data, creating the ultimate insider threat" (Palo Alto Networks).

3. The visibility gap

An agent action is a chain. An instruction arrives, the agent reasons, it picks a tool, the tool touches something local (a file, a credential, a process) and then it may reach out to a SaaS API or the internet. Most of the security stack was built to see only the last link. Here is what each control sees, and what it misses.

  • Secure web gateway / SSE. Sees destination domains and some prompt content sent to known AI endpoints. Misses local MCP servers, local models, tool calls, anything over stdio and which files were read.

  • CASB / SSPM. Sees API calls landing in sanctioned SaaS tenants. Misses which agent made the call, what prompt triggered it and any local data staged beforehand.

  • Identity provider / ITDR. Sees sign-ins, token issuance and session risk. Misses that the "user" is actually an agent, tokens lifted from disk and replayed, and local actions that never authenticate.

  • DLP (network). Sees sensitive content in egress traffic. Misses data read into a model's context window and then summarised, encoded or sent out in fragments.

  • Classic EDR. Sees processes, file writes and network connections. Misses the why behind an otherwise ordinary node or python process, meaning the prompt, the agent, the MCP server and the permission.

  • Endpoint with AI context. Sees the full chain: agent, config, MCP servers, tool calls, files, credentials, child processes, egress. Misses only server-side agents that never touch the device.

The last two are the crux. Classic EDR records almost everything, but an agent at work looks like a developer at work. A Node process reads files, spawns git and calls curl. Without AI-specific context the telemetry exists, but the meaning is lost. One vendor analysis puts it neatly, noting that EDR, MDM, identity and DLP tools see agent activity "only as generic processes, installed apps, or traffic" (Backslash).

Practitioners have noticed. In Latio's 2026 AI Security Market Report, 45% of surveyed practitioners named endpoint agents as their primary AI security concern, roughly double any other category. The share of teams with a dedicated AI security budget also rose from 8% to 37% in a single year (as cited by again, Backslash).

4. The new endpoint threat model

Agents do not replace the old endpoint threats. They add new ones, and every one of them lands on the device.

  • Prompt injection that becomes execution. Untrusted content (a README, an issue, an error message, a web page) carries instructions the agent follows. On a chat surface that leaks a reply. On an endpoint it runs a command. Tenet Security found injected instructions executed in 85% of test cases across Claude Code, Cursor and Codex CLI via poisoned Sentry data, with 2,388 organisations exposed (CyberDesserts).

  • A new software supply chain. MCP servers, skills and plugins are code that runs locally with the agent's privileges, installed from registries with weak vetting. Antiy CERT confirmed 1,184 malicious skills on ClawHub in February 2026, roughly one in five packages at peak (CyberDesserts).

  • Credential and token sprawl. Agents store long-lived tokens in predictable files in the user's home directory. Those files are now a prime target for infostealers, because a refresh token is a durable identity.

  • Silent data movement. Sensitive data is read into a context window, transformed and sent onward. In BlackFog's research, 49% of workers admitted adopting AI tools without approval and 51% had connected AI tools to work systems without IT's knowledge (CIO).

  • Shadow agents. Unsanctioned agents and MCP servers that no inventory knows about. You cannot apply policy to software you cannot see.

The 2026 incident record shows the pattern clearly. The device is where the compromise happens, even when the prize is a cloud identity.

  • June 2026, agentjacking via Sentry MCP. Injected instructions were run by local coding agents in 85% of tests. Injection turned into local command execution.

  • April to May 2026, the codexui-android npm package. With around 27,000 to 29,000 weekly downloads, it read ~/.codex/auth.json and exfiltrated access and refresh tokens for about a month, disguised as telemetry (CSA).

  • April 2026, CVE-2026-32211 (CVSS 9.1). A flaw in an Azure DevOps MCP npm package exposed API keys and tokens through a vulnerable local MCP server.

  • February 2026, SANDWORM_MODE. The campaign injected rogue MCP servers into Claude Code, Cursor and Windsurf configs and harvested keys for nine LLM providers, all through config-file tampering on the device (CSA).

  • February 2026, ClawHavoc. The campaign placed 1,184 malicious skills on ClawHub, and SecurityScorecard counted 135,000 OpenClaw instances with insecure defaults. Untrusted extensions were executing locally.

  • February 2026, CVE-2025-59536 (CVSS 8.7). Check Point disclosed code execution via a coding agent's project config files, since patched. Opening a repo was enough to execute.

  • January 2026, Git MCP server CVEs. Three CVEs enabled remote code execution through prompt injection alone, with the tool server as the execution primitive.

Incidents other than the CSA-sourced ones are as compiled by CyberDesserts. I would treat some of the individual figures with care, as several come from vendor research rather than independent review, but the direction is consistent.

What stands out to me is how many of these end in an identity outcome (stolen tokens, impersonated sessions, API keys used elsewhere) yet begin with something only the endpoint can see: a file read, a config change, a child process.

5. What AI-aware endpoint telemetry needs to capture

If the endpoint is the vantage point, the next question is what it should record. Process trees and file events are necessary but not sufficient. The job is to bind each local action to the agent, the instruction and the permission behind it. This is the checklist I would work from.

Inventory and posture

  • Every installed agent, IDE extension, desktop assistant and local model runtime, with version and publisher

  • Every configured MCP server (local and remote), the command that launches it and its declared tools

  • Every skill, plugin and extension, with its source registry and signature status

  • Agent permission modes, meaning what each agent may do without asking (auto-approve settings, allowlisted commands)

  • Credentials each agent can reach: token files, keychains, cloud CLI profiles, SSH keys, browser sessions

Runtime behaviour

  • Tool calls as first-class events, recording which agent invoked which tool and with which arguments

  • Child processes attributed to the agent that spawned them, not just the parent binary

  • File reads into context, especially secrets, source code and regulated data

  • Config tampering, meaning changes to agent and MCP configuration files outside an approved workflow

  • Egress attributed to the agent and the MCP server, including calls to model APIs

Context and correlation

  • The triggering prompt or content source, where it can be captured lawfully and proportionately

  • The human identity the agent is acting for, and whether a human approved the action

  • A stable agent identity that can be joined to IdP, SaaS and cloud audit logs

Two design principles matter as much as the list. First, attribute, don't just record. The value is in linking prompt → agent → tool → action → identity. Second, enforce at the point of execution. Blocking an unsafe tool call before it runs is categorically better than alerting on the exfiltration afterwards. That is why vendors are moving from discovery to inline runtime controls, and why Microsoft shipped runtime protection for local agents (in preview on Windows) alongside its GA discovery release (Microsoft).

5.1 Can this be done agentlessly?

A fair question is whether you can get this visibility without deploying yet another (potentially costly) sensor. My answer is partly. You can cover most of the sanctioned estate without a new endpoint agent. You cannot cover the agents you do not know about, and you are largely trusting the agent to report on itself.

There are five agentless sources worth knowing.

  • Agent-native telemetry. Coding agents increasingly export OpenTelemetry and support hooks that fire before and after each tool call. Claude Code, for example, can have both enforced through managed settings pushed by MDM, and Zenity takes this route to monitor coding agents without a sensor (Backslash). You see tool calls and arguments, prompts where enabled, MCP usage, files touched and approvals. You miss tools without support, and a manipulated agent still writes its own log.

  • LLM and MCP gateways. Managed config routes model API and remote MCP traffic through a proxy. You see the full agent loop for API-based agents, because tool calls and their results travel inside model API traffic. You miss local models, stdio MCP servers and sessions you cannot redirect.

  • Vendor audit logs. Enterprise audit and compliance APIs from the AI and developer platforms show who used which agent, conversation content and policy events. They miss most of what happened locally.

  • MDM inventory. Compliance scripts in your existing device management can enumerate agents and read MCP config files. You see what is installed, which MCP servers are configured and which credential files exist. You miss runtime behaviour, as it is a point-in-time snapshot.

  • Identity and SaaS logs. OAuth grants, token usage and user-agent strings in IdP and SaaS audit logs show what the agent's credentials actually did downstream. They miss why it happened, and anything local.

The catch is that agentless visibility depends on the agent's cooperation. I have argued before that an audit log has to be written by something the agent cannot control, and agent-native telemetry fails that test by design. A prompt-injected agent, or one a user installed outside policy, will simply not report.

So I would layer it. Use agent-native telemetry and a gateway for the tools you sanction, identity and SaaS logs for downstream impact and either an EDR you already run (most now offer AI discovery) or MDM scripts to catch what you did not sanction. The good news for identity teams is that the correlation work, joining agent telemetry to IdP and SaaS activity, sits naturally in the identity plane.

6. The market is converging on the device

If you want evidence that this is more than a theory, follow the money. In roughly 15 months, every major endpoint platform has bought or built an AI-on-the-endpoint capability, and identity vendors have spent heavily on securing the agents those endpoints run.

  • October 2026, Microsoft (endpoint). Local AI agent and MCP server discovery in Defender went GA, covering 50+ agents and included in Defender for Endpoint P2 and above (Microsoft).

  • September 2026, Cyera and Oasis Security (identity). Cyera completed its acquisition of the non-human identity specialist, valued at $1bn (company-stated).

  • August 2026, Okta and Permiso Security (identity). Okta completed the deal for human, non-human and agentic identity detection. Terms were undisclosed.

  • June 2026, Cisco and Astrix Security, SailPoint and Entro Security (identity). Both deals target machine and agent identities, at a reported ~$400m and ~$122.6m respectively.

  • April 2026, Palo Alto Networks and Koi (endpoint). Palo Alto completed the deal and launched "Agentic Endpoint Security" with a new Cortex XDR module. The price was not disclosed in the release (Palo Alto Networks).

  • February 2026, Palo Alto Networks and CyberArk (identity). Palo Alto closed its $21.1bn acquisition of the privileged and machine identity vendor.

  • January 2026, CrowdStrike and SGNL (identity). CrowdStrike announced the ~$740m deal for continuous, real-time access control for humans and AI agents (Security Boulevard).

  • September 2025, CrowdStrike and Pangea (AI runtime). CrowdStrike framed "AI Detection and Response" as the successor to EDR. Terms were undisclosed (TechRepublic).

  • 2025, SentinelOne and Prompt Security (endpoint and AI runtime). The deal added discovery of coding assistants, local agents and MCP servers. Terms were undisclosed.

Identity deal figures are as compiled by Deepak Gupta; SentinelOne per Pipelab.

I read three patterns in this.

  • The EDR incumbents are reframing, not just adding a feature. CrowdStrike positions AIDR as the next step after EDR. Palo Alto has named a new category, Agentic Endpoint Security. That is how vendors behave when they believe a control point is being re-founded.

  • A specialist layer has formed in parallel. Start-ups such as Backslash, Neo Security, AIR Security, Glow and Zenity are competing on inventory, inline tool-call control and binding agents to identities, often designed to sit alongside an existing EDR rather than replace it (Backslash).

  • Endpoint and identity are being bought by the same acquirers. CrowdStrike bought Pangea and SGNL. Palo Alto bought Koi and CyberArk. The platforms are assembling the full chain, from what the agent did on the device to which identity it did it with.

One caveat for buyers. Futurum's survey found 43% of organisations plan to expand their security vendor count, against 34.6% consolidating (Futurum). This category is still fragmenting before it consolidates, so I would buy for the architecture rather than the logo.

7. Where identity meets the endpoint

This is the part I personally care about most. The resurgence of the endpoint is not a rejection of "identity is the new perimeter". It is the completion of it. AI agents are a new class of identity, and I do not think they can be secured from the identity plane alone.

Local agents are an awkward fit for every identity model we have. They are not human users, but they act with a human's delegated credentials. They are not classic service accounts, but they hold long-lived tokens and act at machine speed. CrowdStrike's George Kurtz describes the consequence bluntly, saying AI agents make "every agent a privileged identity that must be protected" (Security Boulevard).

Consider a scenario that should worry every identity team. A developer asks their coding agent to triage a bug. The agent reads a poisoned issue, follows the instruction hidden in it, picks up a GitHub token from disk and pushes a change to a release branch. To the IdP and to GitHub, that is the developer, on their own managed laptop, from their own IP, with a valid token, at a normal time of day. Every classic ITDR signal (impossible travel, new device, unfamiliar ASN, anomalous MFA) stays green. The only thing that differs is who is driving, and that is only observable on the device.

The reverse is also true. Endpoint telemetry alone cannot tell you the blast radius. Knowing that an agent read ~/.config/gh/hosts.yml matters because of what that token can reach: which repos, which orgs, which production pipelines. That answer lives in the identity and SaaS layer.

The two planes overlap at one link, the local action that uses a credential. That overlap is where correlation has to happen, and it is why I think the two planes need each other.

  • ITDR needs device context. It has to separate human actions from agent actions taken in the human's name, and recognise when a token issued to one device is replayed somewhere else.

  • ISPM needs endpoint inventory. The real identity attack surface now includes refresh tokens on disk, personal access tokens embedded in MCP server configs, over-scoped OAuth grants consented to by an agent and dormant agent credentials that outlive the project.

  • Behavioural detection needs a new baseline. A human and an agent working under the same identity produce very different patterns in volume, timing, breadth of access and sequence of API calls. Modelling "normal" per identity now means modelling the human and their agents separately.

This is the convergence the deal list describes. The architecture that wins will join what happened on the device to what the identity was allowed to do, and actually did, across SaaS and cloud.

8. What I would do over the next 12 months

Most organisations do not need a new platform tomorrow. They first need visibility, and the kind of correlation described above. If I were running a security programme today, this is the rough order I would work in.

  1. Inventory the local AI estate this quarter. Find every agent, extension, MCP server, skill and local model on managed devices. Many EDR platforms now offer this natively, so turn it on and look at the numbers. I would expect them to be larger than your sanctioned list.

  2. Treat agent configs as security-relevant files. MCP and agent configuration files define what code runs with user privileges. Monitor them for change and manage approved configurations centrally.

  3. Hunt for tokens on disk. Enumerate the credential files agents create and the tokens embedded in MCP configs. Shorten their lifetimes, scope them down and move secrets into OS keychains or brokers where the tooling allows.

  4. Set an approved-component policy. Publish an allowlist of agents, MCP servers and skills. Block unsigned or unvetted components at install time, the same way you already treat browser extensions.

  5. Move from discovery to runtime control for high-risk users. Start with developers and admins, whose agents hold the most powerful credentials. Require human approval for destructive or high-privilege tool calls.

  6. Give agents an identity you can join on. Make sure agent activity can be correlated from endpoint telemetry to IdP sign-ins and SaaS audit logs. If your SOC cannot answer "was this the human or their agent?", that is the gap to close.

  7. Fold agents into your ITDR and ISPM programmes. Add agent credentials to posture reviews and human-versus-agent behaviour to detection engineering. Do not run AI security as a silo separate from identity.

  8. Write it into procurement. Ask every endpoint, identity and AI security vendor the same three questions. What do you see on the device? How do you attribute it to an agent and an identity? Can you block before execution?

To measure progress, I would track a handful of concrete numbers: the percentage of managed devices with AI inventory enabled, the number of unsanctioned agents and MCP servers found and removed, the median lifetime of agent-held tokens and the percentage of agent actions attributable to a named identity.

9. The endpoint is ground truth again

For a decade, the industry followed work as it left the device: into the cloud, into SaaS, into the identity provider. That was the right call. But AI agents have brought execution back to the endpoint, and with it some of the hardest questions in security: who acted, on whose behalf, with what instruction and with which credential.

No single plane answers all of those. The network sees destinations. The identity provider sees sessions. SaaS sees API calls. Only the endpoint sees the agent, the prompt, the tool and the action together, and only identity tells you what that action could reach.

Questions worth asking your team today:

  • How many AI agents and MCP servers are running on our managed devices right now, and how many of them did we approve?

  • Which agent-held tokens on those devices could reach production, and how long do they live?

  • If an agent acted in a user's name yesterday, could we tell it apart from the user?

  • Can we block an unsafe tool call before it runs, or only alert afterwards?

  • Are our endpoint and identity teams looking at the same agent, or at two halves of it?

The endpoint is not back because the old threats returned. It is back because it is the only place where an agent's instructions and its actions meet. The organisations that join that ground truth to their identity and behavioural signals will be the ones that can let their people adopt agents at full speed and still know what is happening.

Stay

Get weekly cyber tips straight to your inbox

Contact

NEWSLETTER

shaun@shaunarcher.co.uk

© 2026. All rights reserved.