Manuscript Offprint

arXiv:2611.12377

Detecting Shadow AI: Unsanctioned LLM Agents on Enterprise Endpoints: A Taxonomy, an Open Detector and a Controlled Evaluation

Jeremy Canale, Fabien Soulis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Shadow IT, the use of technology that the IT organisation has not approved, is a longstanding governance problem. We argue that autonomous AI agents can make it grow much faster: agents make building tools nearly free, act with their user's privileges, and leave behind scripts, automations and MCP servers that are themselves unsanctioned. A simple compounding model shows that, under its assumptions, shadow IT grows exponentially once agentic artifacts reproduce faster than the organisation retires them; retiring them starts with detecting them. We then ask whether unsanctioned agents can be detected on Windows endpoints. We propose a taxonomy of nine classes of agents and six layers of endpoint footprint, and argue that rules based only on the structure of processes and connections cannot separate an agent from its behavioural twin, the same program talking to a non-AI service. We present Agent Detector, an open-source Windows detector that anchors behaviour to the identity of the remote service and correlates it with configuration, installation and execution history, using a catalog of 39 tools and 184 LLM endpoint entries; it informs users through a notice they must acknowledge instead of blocking. On a controlled bench of 12 synthetic agents, 3 AI components and 9 benign workloads, repeated 5 times on one workstation, two behavioural rules flagged every behavioural twin, while Agent Detector flagged none and detected every agent in the majority of runs. Its limits are temporal: a connection to a provider behind a shared content-delivery network is attributable only while the DNS cache holds the provider's name, one to five minutes, and an intermittent agent was seen by about one scan in three. A scan costs about 154 ms. The bench is too small to rank detectors; it maps what each kind of evidence can see: unsanctioned agents can be partly detected, and not by behaviour alone.

1 Introduction

Shadow IT. Every organisation runs software that its IT department never approved. The phenomenon has a name, shadow IT: "all hardware, software, or any other solutions used by employees inside of the organisational ecosystem which have not received any formal IT department approval" [72]. It is old, it is mostly well-intentioned, since employees adopt tools to get their work done, and it is persistently underestimated: a systematic review of the literature concludes that "the true extent of Shadow IT usage in companies is vastly underestimated by CIOs" [36]. Its risks are those of any system nobody has listed: data held by unknown providers, security controls that do not apply, compliance obligations that cannot be met. Its governance starts with finding it [22].

Shadow AI. Generative AI produced the fastest wave of shadow IT so far. In 2024, 75% of knowledge workers used generative AI at work and “78% of AI users are bringing their own AI tools to work” [51]; in a 2025 global study, 44% of employees admitted using AI in ways that contravene their organisation’s policies and 61% avoided revealing their use [24]. Among the breached organisations that IBM studied, one in five reported a breach involving shadow AI, and only 37% had policies to manage AI or detect shadow AI [32]. This first wave was conversational: employees pasted text into a chatbot, in a browser, where network controls could see it.

Agents change the rate, not just the scale. The second wave is made of agents: software in which a language model, in a loop, decides on actions that tools then execute on the user's machine, with the user's privileges. Coding agents such as Claude Code, Codex and GitHub Copilot's agent mode, desktop agents, AI-native IDEs, local model runtimes and home-made scripts now run on enterprise laptops, often outside any inventory [74, 75]. We argue that this wave does not merely add a category to shadow IT; it changes how fast shadow IT grows. Agents make building a tool nearly free; they act without asking; and the scripts, automations, packages and MCP servers they leave behind are themselves unsanctioned, and sometimes agentic in turn. We make the argument explicit with a compounding model in which, under stated assumptions, shadow IT grows exponentially as soon as agentic artifacts reproduce faster than the organisation retires them (Section 4). The model does not measure anything; it shows which quantities matter. Since deliberately retiring an artifact requires finding it first, detection is a precondition of governance, though not a sufficient one.

Why detecting agents is hard. Detecting agents is harder than detecting the chatbots of the first wave. The network sees an encrypted connection to an API, often through a content-delivery network shared with unrelated services, sometimes through an aggregator or a relay with an innocuous name; it does not see which process opened it, it does not see laptops outside the corporate network, and it does not see local models at all. Inventories see installed products, but a script of a few dozen lines has no installer. Behavioural detection, the usual answer to software without a signature, looks promising: an agent holds a connection to a remote service and runs commands. But so does npm install, so does an IDE with an integrated terminal, so does an administrator's automation script. We argue that for every agent there is a behavioural twin, the same program talking to a non-AI service, that a detector using only the structure of processes and connections cannot separate from it, and we measure the consequence for two simple behavioural rules (Sections 6 and 11). What separates an agent from its twin is the identity of the remote service and of the software.

Approach. We therefore detect agents on the endpoint by correlating weak signals around identity: which process talks to which LLM service (attributed through the Windows DNS cache or through address ranges dedicated to a provider), whether that process also runs shells, what configuration it carries (base URLs, MCP server definitions), what is installed, and what Windows remembers having executed. We implement this in Agent Detector, an open-source Windows detector deployed with Microsoft Intune, which runs every hour as SYSTEM, reads only local state, never reads content, and never blocks. When it finds an agent, it shows the user a notice that they must acknowledge, and it records the acknowledgement: the user is informed rather than silently observed.

Contributions. This paper makes six contributions.

C1. An argument, with a simple compounding model and the available evidence, that agents accelerate shadow IT through second-order artifacts, and that detection is a precondition, though not a sufficient one, for keeping an organisation below the threshold of exponential growth (Section 4).

C2. An analysis of why behaviour-only detection of agents falls short, centred on the behavioural-twin argument, with an operational boundary between behaviour and identity (Section 6).

C3. A taxonomy of nine classes of agents and six layers of endpoint footprint, arguing that productless agents are visible only at run time, in the network and in configuration (Section 7).

C4. An open, dated catalog of 39 tool signatures and 184 LLM endpoint entries in nine categories, including aggregators, inference platforms, gateways and relays (Section 7, Section A).

C5. The design and implementation of Agent Detector, which correlates these layers, protects privacy by design, informs users instead of blocking, and deploys with standard enterprise tooling (Sections 9 and 10).

C6. A controlled evaluation with synthetic agents in three languages, behavioural twins, AI components, developer workloads and an in-situ cross-check, repeated 5 times as standard user and as administrator against a signature baseline and two behavioural baselines, with two experiments on time: the expiry of DNS cache entries and intermittent agents (Section 11). The bench is small and run on one workstation; it shows where each kind of evidence fails rather than ranking detectors. The behavioural rules flag every twin; Agent Detector separates agents from their twins, but attributes connections to providers behind a shared content-delivery network only while the DNS cache holds their names, sees an intermittent agent at about one scan in three, and misses ephemeral agents, undeclared relays and agents inside WSL 2; a scan takes about 154 ms.

Organisation. Section 2 reviews shadow IT and shadow AI, and Section 3 introduces agents and their ecosystem. Section 4 develops the acceleration argument. Section 5 states the threat model and the requirements. Section 6 explains why behaviour is not enough. Section 7 presents the taxonomy and the catalog, and Section 8 the landscape of existing approaches. Sections 9 and 10 describe Agent Detector, and Section 11 evaluates it. Section 12 discusses the inform-not-block design, the legal framework and the limitations; Section 13 reviews related work and Section 14 concludes.

References (48)