AI attack surface · Part 10
Three AI surfaces the network sees and can't name
I built and open-sourced Zeek's OCSF mapping, so I've spent a fair amount of time inside what a network sensor records, and a run in my lab on the evening of 9 November showed how little of that is local AI. The lab's simulated workstation, a container on one Docker bridge network carrying a local Ollama runtime and a small server speaking the OpenAI API among other things, was captured twice, once on its own network interface, which is the nearest the lab gets to a sensor's view, and once on every interface including loopback. Zeek's HTTP log from the network interface held four rows, three of them calls a second container on the lab network made to the local runtimes and the fourth a request to a benign file server, while the log from the all-interfaces capture held 32 rows (28 and 29 in the next two runs), including the calls a client on the same machine made to Ollama on 127.0.0.1:11434 and to the local server on port 8000, and Ollama's own runner answering health and completion requests on an ephemeral port. Traffic from the workstation to its own runtimes never reached the interface, and the one footprint the runtime left on the wire was a pull request to registry.ollama.ai, which the lab made for a tag that doesn't exist so the name would show up in DNS and TLS, and which a runtime whose models are already on disk has no reason to make.
That run covers one of the three surfaces this part of the series is about, and the other two follow the same shape for different reasons. AI features a SaaS vendor runs inside an application the organization already sanctioned, a local model once its weights are on disk, and an MCP server that a coding agent launches as a child process over standard input and output all leave their evidence somewhere other than the network, in a SaaS admin console, a directory on disk and a JSON file in a home directory, and the argument of this part is that a shadow-AI programme starting from the SSE or CASB catalogue can't name any of the three as AI, and that this comes from where a network control sits, so a better network product would miss the same things. They aren't the whole list, since Part 9's method-by-surface grid grades the network just as blind to self-hosted model serving and to anything on a cloud workload or an off-network device that never crosses the control point, but they are the three where the evidence sits somewhere a security team can go and collect it. What the tools you already own can see graded the incumbent categories against all thirteen surfaces, and Finding shadow AI takes the full sixteen-method matrix and the join, so this part stays with the three, walks each one from what the network sees to what proves the thing exists, and then publishes the series' rough model of how much AI use a network-only programme misses as a table you can reweight, since nobody has measured it.
Reading time: about 18 minutes. Evidence tier: B for the two lab runs, each pre-registered, run by an agent session on one host and reproduced when a second agent session re-ran it, with containers standing in for the workstation in the discovery run, and covering Ollama only for local models and config files only for MCP; A for the MCP transport text; B for what each vendor and project page says its product does, re-read on 2026-11-16; D for the reasoning about embedded SaaS AI, which no lab run here has tested, and D for every number in the visibility model.

Visibility
What counts as seen
Each of the three surfaces puts something on the wire, just nothing that says AI. By visible I mean that a network control point saw the traffic and could classify it as AI by destination, which is a generous definition, since it says nothing about whether the use was then attributed to a corporate tenant or a personal account, which is a further cut.
By that definition the network does well on remote AI. In the same lab run, Zeek on the interface named every TLS destination by its SNI, and Zeek, the DNS log and an egress allowlist each found all eight model APIs and all five AI SaaS sites the workstation called, in each of three runs. That is the part of AI use a CASB's "Generative AI" category is built for, and with a domain list that already held those thirteen names it worked, though the one redirect target the list lacked, copilot.com, was flagged only by the allowlist. Two caveats travel with it: no Encrypted Client Hello was observed with curl 8.14.1 against those hosts on 2026-11-10, which is a property of today's clients that won't hold forever, and a DNS name says nothing about purpose, so api.openai.com reached by an unsanctioned IDE extension looks the same as the same name reached through a sanctioned gateway.
The three surfaces below are where that view stops, and the reason is the same each time: the AI part of the activity happens server-to-server inside someone else's infrastructure, on loopback, or over a pipe between two processes on one host.
Visibility · where the AI part happens
Surface one
Embedded SaaS AI
This is the surface with the least evidence behind this article and, in the series' rough model further down, the largest weight, so I'll say plainly what is reasoning and what is documented.
The reasoning is that when a user in a sanctioned SaaS application asks its built-in assistant to summarize a ticket or draft a page, the user's browser talks to the SaaS vendor's own domain, as it always did, and the call to a model, whether the vendor's own or a model provider it subcontracts, happens from the vendor's infrastructure to the provider's. The network control point in front of the user sees a session to a domain already on the sanctioned list. An inline proxy that decrypts TLS may see request paths on that domain that a per-vendor rule could tie to the AI feature, and I haven't tested whether any common SSE ships such rules, so I'd treat that as an open question rather than a gap. What the tools you already own can see grades the SSE category partial on this surface for the same reason, and some suites may serve their assistant from a hostname of its own, which DNS would show without decryption, so the 0 percent in the model below is an assumption (Tier D) and the cell I'd reweight first. Without decryption and a per-vendor rule, the traffic carries no sign of AI, and no lab run here has measured what it does carry.
How these features arrive is documented, and Atlassian's own learning material says "Rovo is enabled by default and can't be turned off, though org admins can deactivate AI features in individual apps", which describes a feature that turns up in the tenant without anyone on the customer side installing it. A CSIRO interview study of 27 Australian critical-infrastructure organizations reports that "vendors were effectively turning [features] on" in enterprise tools without formal risk assessment, with security teams having "some level of awareness . . . but not a great detail" of those capabilities, and it names unassessed capability expansion as one of three mechanisms by which shadow AI degrades security (Chhetri et al., arXiv 2606.00088, a preprint under review, so Tier B). That study supports the arrival pattern and didn't measure network visibility, though its participants named tools including Netskope and Microsoft Defender as giving them visibility into AI usage, and the authors describe vendor-controlled AI dependencies as undermining it.
The proof that the feature exists is in the tenant itself: the vendor's admin settings show which AI features are on and often for which users and since when, the admin audit log may record the toggle, and the vendor's subprocessor list often names the model providers involved. Few SaaS audit logs record individual AI invocations as distinct events, though, so the usual result is a record that the feature is enabled rather than a record that anyone used it, and the work is per vendor and repeats every time a vendor ships something new. In OCSF 1.9.0 the closest home for a tenant setting is Device Config State (5002) or Device Config State Change (5019), which is a stretch, since the "device" is a SaaS tenant.
Surface two
A local model after the download
The local model is the surface the lab has actually measured, for one runtime, though with one departure from the defaults that matters here. Ollama's FAQ says it "binds 127.0.0.1 port 11434 by default", so a client on the same machine talks to it over loopback, and in the lab run above, that traffic reached the all-interfaces capture and never the network interface. The lab bound its runtimes to its private bridge network instead, so that the peer container could call them, which is the only reason the peer calls in the opening appeared on the wire at all, since at the documented default they couldn't have. What the network did see, every run, was the registry name, registry.ollama.ai, in Zeek's DNS and TLS logs and on the egress allowlist, from a pull the lab issued for a nonexistent tag, since its weights had been copied in from the host. A real pull would carry the same name plus a large transfer, which the lab didn't capture, and weights copied from a USB drive or an internal file share, which is what the lab's copy amounts to, don't produce even the name. The same FAQ says "Ollama on macOS and Windows will automatically download updates", so a desktop install does make recurring traffic to its vendor, which names Ollama without saying any model is in use. A runtime someone has exposed to another machine, as the lab did, shows up as a connection to a high port with a model API's URL paths inside it, which the lab graded as partial, since the port and URL paths suggest a model API and the pre-registered rules didn't name the runtime from them. Ollama also offers cloud models that run on its own service, and those do leave the machine, so this section is about weights on local disk.
Surface two · two captures of one workstation
The model's existence shows up on the host, in four places: the runtime's process, its listening port, its files and, weakly, sustained GPU use. The process and the port are ordinary endpoint inventory, and in the lab run osquery's processes table showed ollama serve and a runner process whose command line pointed at a blob named by its sha256, with listening_ports showing 11434. The files are the harder part, because Ollama keeps weights in a content-addressed store, with a manifests directory mapping model names to digests and a blobs directory holding files named by sha256, and the tools a team might reach for first don't read it. In the series' earlier inventory bench, Syft 1.55.0, Trivy 0.76.0 and the AI-specific scanner ai-bom 3.6.0 all saw nothing of a TinyLlama model once its weights sat in the Ollama store, though Syft found the same weights as a named GGUF file outside it, and none of the three noticed when the model was re-tagged to a new name, which became visible only in a non-default run that hashed every file, as a changed manifest path over identical blob hashes.
osquery did no better until someone told it where to look. In the lab's discovery run, its file query over the user's home directory, written with the recursive %% wildcard before the run, returned 15,618 regular files and none under .ollama, because osquery expands the first level of that wildcard with a shell-style glob that skips names starting with a dot, and .ollama sat directly under the home directory. A query written afterwards, and labelled as post-hoc, that named .ollama/models/blobs/ returned all five blobs with their sizes, the weights at 637,699,456 bytes. So the store was findable by an endpoint agent that could list a directory, at a path the FAQ documents for each operating system unless someone has moved it with the OLLAMA_MODELS variable, but the inventory found it only when the path was already in the query. The lab put its store under the user's home, as macOS and Windows do by default, while a standard Linux install keeps it under /usr/share/ollama, which a home-directory query wouldn't reach at all. I'd expect the Hugging Face cache and LM Studio's model folder to behave the same way, though no lab run here has tested either. The runtime defaults, exposure counts and the model-identity problem belong to the next part, The model you hold has a name your records don't carry.
Surface three
A stdio MCP server
The third surface is the one where the network's blindness comes from the protocol itself rather than from where traffic happens to flow. The MCP specification defines two standard transports, and for stdio it says "The client launches the MCP server as a subprocess", with the server reading JSON-RPC messages from its standard input and writing them to its standard output, and the current revision describes the same binding as "newline-delimited messages over the standard streams of a client-launched subprocess". Between a coding agent and a stdio server there is no socket at all, so no network sensor, proxy or gateway can see the tool calls that pass between them, and an EDR sees a process start whose name is usually node, npx, uvx or python, which says nothing about AI, though the command line often names the package, as both examples below do, and no lab run here has scored what a rule could key on.
That is narrower than saying a stdio server leaves nothing on the wire, though. The package often arrives over the network the first time a config like npx -y @modelcontextprotocol/server-filesystem or uvx mcp-server-git runs, as an ordinary fetch from npm or PyPI, and a server that wraps a remote service (a ticketing system or a code host, say) makes its own outbound calls to that service's API. None of that traffic says MCP, and the tool calls that decide what the agent does stay on the pipe. The base rate is also an open question, since the CSIRO interviews found "no evidence of shadow agentic AI" in their sample, where use was mostly interactive and chat-based, so I can say where the evidence of an unsanctioned stdio server would be and can't yet say how often one is there.
The evidence for a stdio server is the client's config file, which holds the command and arguments for each server, often with a pinned package version. Claude Code stores local and user-scoped servers in ~/.claude.json and project-scoped ones in .mcp.json at the project root, and Cursor uses .cursor/mcp.json per project and ~/.cursor/mcp.json globally. The paths move, which is the recurring cost: VS Code's configuration reference now directs new Copilot setups to ~/.copilot/mcp-config.json (or the same file under $COPILOT_HOME), with a workspace-root .mcp.json offered behind an experimental setting, and says .vscode/mcp.json uses the format of a Local harness that "is deprecated and will be removed in February 2027", so a collection rule written against last year's path list is already drifting. In the lab's discovery run, osquery found both planted config files, a Cursor config and a Claude Desktop config each declaring a filesystem and a git server, through a file query and, once a table name in the query was fixed after the run was registered, a YARA content match, and it found them only because the query carried a list of seven client config paths, while Syft reported nothing for either file and the network methods saw nothing. That run planted config files and no running server, so it measured where the evidence sits and nothing about what a live server emits. What the tools you already own can see reads two vendor pages that describe endpoint features inventorying local MCP servers without a customer-maintained path list, in Microsoft Defender for Endpoint and CrowdStrike's AI Discovery, and I haven't tested either, so the path-list cost here is what the lab measured with osquery and may be lower with those turned on.
Knowing a server exists still leaves its identity to resolve, and the earlier inventory bench found that identity split across tools. In a post-hoc run of that bench, ai-bom reported MCP servers from client config files with no version and no link to the package or its advisories, while Syft reported both installed packages and Trivy both only in its root-filesystem mode, Grype (reading Syft's output) and Trivy in that mode matched every listed advisory on two packages picked because they had some, and none of them marked either package as an MCP server, so nothing in that tool set joined the two. Once a server is known, Tool poisoning shows up as a diff covers what snapshotting its tool list catches.
Where it lands
Where the evidence lives instead
Put side by side, the three surfaces differ in where the proof sits and who has to collect it, which is what a data team deciding what to ingest needs from this. The table says what the network sees of each, where the evidence that the thing exists actually lives, and the OCSF 1.9.0 class it would land in today.
| Surface | What the network sees | What proves it exists | Who collects it | OCSF 1.9.0 landing |
|---|---|---|---|---|
| Embedded SaaS AI | A session to an already-sanctioned SaaS domain | The tenant's AI settings, the admin audit log, the subprocessor list | SaaS admin, per vendor, or an SSPM tool | Device Config State (5002) or Device Config State Change (5019), a stretch for a tenant |
| Local model after the download | A pull from a model registry or hub, and on macOS and Windows the app's update traffic to its vendor, but no inference (peer calls, if any, as a high port) | The runtime process and loopback listener; the model store's manifests and blobs at a known path | Endpoint agent with the store paths in its queries | Process Activity (1007), Software Inventory Info (5020), File Query (5007) |
| stdio MCP server | A package fetch from npm or PyPI and the server's own outbound calls, none marked MCP | The client config file naming the command, arguments and often a pinned version | Endpoint agent with a maintained list of client config paths, or a vendor inventory feature that carries the list | File Query (5007) for presence, Device Config State (5002) for parsed content |
Collection and class choices from the research behind this series, with class IDs checked against the OCSF schema at tag v1.9.0. None of these classes has a typed field for "this is an AI model" with a weights digest: at 1.9.0 the ai_model object carries a provider, name, UID and version and no hash, and the package object does carry a hash but types a package only as an application or an operating system (or unknown, or other).
Every row ends at the endpoint or at a vendor's admin plane, which is why I think a shadow-AI programme that budgets only for network collection will keep producing an inventory of remote AI and calling it an inventory of AI. The join across these sources, on host, user and principal, is the subject of Finding shadow AI.
The model
A model you can rerun
Nobody has published a measurement of how much AI use a network-only programme misses, as far as the research behind this series could find on 2026-11-09, and the figures that look like answers measure something else: the 2024 Microsoft and LinkedIn Work Trend Index's 78 percent of AI users bringing their own tools measures tool choice from a vendor-run survey (Tier C), and says nothing about which device or network carried the use. So an agent drafted a model with stated assumptions for this series, and I'm publishing it as a table to reweight, because I think its structure is more useful than its total.
Each row multiplies an assumed share of all AI use by an assumed share of that use a network control point could see and classify as AI, and the visible total is the sum of the products:
| Surface group | Share of AI use (assumed) | Share network-visible (assumed) | Visible points |
|---|---|---|---|
| Embedded SaaS AI | 25% | 0% (assumed; see the embedded SaaS section) | 0.0 |
| Web and desktop assistants | 35% | 80% (the rest off-network or on personal devices) | 28.0 |
| Browser AI | 5% | 60% | 3.0 |
| Coding agents | 15% | 70% | 10.5 |
| Direct API use and gateways | 10% | 40% (server egress bypasses the SSE) | 4.0 |
| Local models | 3% | 0% after download | 0.0 |
| MCP servers, builders, managed platforms, self-hosted serving, fine-tuning, RAG and AI in security tools, combined | 7% | 20% | 1.4 |
| Total | 100% | 46.9 |
Illustrative weighting, every number an assumption (Tier D) and not measured. Swap in your own shares and visibilities and the visible total is the sum of share × visibility ÷ 100 across the rows.
Varying only the two biggest rows gives a range:
| Scenario | Embedded SaaS AI share | Assistants share | Visible | Not visible |
|---|---|---|---|---|
| Little embedded AI enabled | 10% | 50% | 58.9 | 41.1 |
| Model defaults | 25% | 35% | 46.9 | 53.1 |
| Deep in AI-enabled SaaS | 35% | 25% | 38.9 | 61.1 |
Same model, two rows changed and the rest held at the defaults (Tier D).
Three things about this model matter more than its total:
- the "40 to 60 percent invisible" range comes from those two scenarios and is not a bound, since every other row is held fixed and a reader with more server-side API use or more off-network laptops would land outside it;
- "share of AI use" has no unit, because the model never says whether a unit is an invocation, a user-day or a token, and the answer would move the embedded SaaS row more than any other;
- apart from embedded SaaS AI, most of the invisible share doesn't come from this article's three surfaces at all.
Of the 53.1 points the defaults leave invisible, embedded SaaS AI supplies 25, local models 3 and the combined row 5.6, and stdio MCP servers have no row of their own, sitting partly inside that combined row and partly inside coding agents. The other 19.5 points come from surfaces the network does see, missed because the device was off the network or was a personal one, or because the call left from a server, though up to 4.5 of them sit in the coding-agents row, where some of the miss is the locally launched MCP servers again. So the three surfaces here account for somewhere between 28 and 38 of the 53.1 points, with embedded SaaS AI the dominant term at 25 and the other two small, and I'd expect most of the reweighting a reader does to happen in the first two rows.
The model · where the invisible share comes from
The visible share is also an upper bound on what a network-only programme gets right, because seeing that traffic went to an AI destination is not the same as knowing whether it went to the corporate tenant or a personal account, and I'd expect that attribution cut to push the useful share lower still, by an amount nobody has measured (Tier D).
Limits
Limits
- The lab evidence covers two of the three surfaces, partially. The two lab runs measured Ollama only, on one host with one version of each tool and, in the discovery run, containers on one Docker bridge standing in for the workstation and another workstation, so the Hugging Face cache, LM Studio and llama.cpp layouts are documentation readings here. For MCP, the discovery run planted two config files and no running server, so what a live stdio server emits to an EDR is untested.
- Embedded SaaS AI has no lab run behind it. The claim that the user's traffic carries no sign of the AI feature is reasoning from how these features are built, and an inline proxy with decryption and per-vendor rules might do better than this article assumes.
- The planted surfaces were known in advance. The discovery run's rules were written by the same agent that planted the fixtures, so its finds say what a competent query can see and its misses (the hidden-directory glob, the config paths) say how much depends on whoever maintains the query list.
- The visibility model is Tier D throughout, with no measurement behind any cell, and it should not be quoted as a finding.
Falsifiers
What would change my mind
The measurement the model stands in for is a comparison of two inventories over the same 30 days on one real fleet: AI destinations derived from proxy and DNS logs on one side, and an inventory built from endpoint queries (processes, packages, model files, extensions, MCP configs), OAuth consent grants and SaaS AI toggles on the other, reported as the set difference per surface group. That study hasn't run. If it found the network side catching most of what the endpoint and admin side found, or found embedded SaaS AI a small share of real use once a unit is fixed, I'd drop the claim that a network-first programme is structurally short and treat the gap as a tuning problem. Two narrower runs would also move parts of this article: launching a live stdio MCP server from an IDE on an EDR-instrumented host and scoring what a rule could key on, and pointing a decrypting proxy with its vendor's stock rules at one SaaS application with an embedded assistant to see whether anything in the logs separates the AI feature from ordinary use.
Bottom line: the network sees remote AI well, by name, and sees these three surfaces only as a sanctioned SaaS session, a registry pull and an ordinary package fetch, none of which it can name as AI, while self-hosted serving, cloud workloads and off-network devices sit outside its view for other reasons, so the evidence that these three exist has to come from the SaaS admin plane and from endpoint collection that already knows where to look, and the size of the gap is a model with one dominant row that you should reweight for your own organization before quoting anything from it. The next part, The model you hold has a name your records don't carry, takes the local model further, into what a team can verify about weights it found.
Sources
| # | Source | What it supports | Tier |
|---|---|---|---|
| 1 | T1 shadow-AI discovery, sdw-lab-benchmarks/t1-shadow-ai-discovery (run 2026-11-09 local, re-run by a second agent session, with fixes) | Opening; network methods name remote AI by SNI and DNS; loopback and runner traffic only in the all-interfaces capture; registry pull; osquery hidden-directory miss and post-hoc store find; MCP configs found only with the path list | B (one host, pre-registered) |
| 2 | R4 AI artifact inventory, sdw-lab-benchmarks/ai-artifact-sbom (2026-11-09, re-run by a second agent session, with fixes) | Ollama store and re-tag seen by none of the three tools tested; MCP servers seen as packages, and as MCP servers only from config | B (same) |
| 3 | Model Context Protocol specification, Transports (2025-06-18 and current 2026-07-28 revision), read 2026-11-16 | stdio: client launches the server as a subprocess, messages over standard streams | A |
| 4 | Ollama documentation, FAQ, read 2026-11-16 | Default bind 127.0.0.1:11434; model store paths per OS; cloud models exist | B |
| 5 | Atlassian Community learning, "Use Atlassian Intelligence across your organization", read 2026-11-16 | Rovo enabled by default and can't be turned off; per-app deactivation | B |
| 6 | Chhetri, Tariq, Aamir et al., "From Frontier to Shadow AI: A Simmering Threat to Assurance and Security in Critical Infrastructure", arXiv 2606.00088 (2026), read 2026-11-16 | Vendors turning features on without assessment; partial awareness; no evidence of shadow agentic AI in the sample | B (preprint, interview study) |
| 7 | Claude Code documentation, "Connect Claude Code to tools via MCP", read 2026-11-16 | ~/.claude.json and project .mcp.json | B |
| 8 | Cursor documentation, "Model Context Protocol", read 2026-11-16 | .cursor/mcp.json and ~/.cursor/mcp.json | B |
| 9 | Visual Studio Code documentation, MCP configuration reference, read 2026-11-16 | ~/.copilot/mcp-config.json; workspace-root .mcp.json behind an experimental setting; the Local harness, whose format .vscode/mcp.json uses, deprecated with removal in February 2027 | B |
| 10 | OCSF schema at tag v1.9.0 (event classes and ai_model, package objects), read 2026-11-16 | Class IDs in the landing table; no hash on ai_model; package types | A (standard at a pinned tag) |
| 11 | Microsoft and LinkedIn, 2024 Work Trend Index announcement (2024-05-08), read 2026-11-16 | 78 percent of AI users bring their own tools, as a survey of tool choice | C (vendor-run survey) |
| 12 | Security Data Works background research on shadow-AI discovery (2026-11-09), network-only visibility model | Every share and visibility in the model; the two scenarios | D |