• 8 min read

Detecting Shadow AI: DNS, Proxy Logs, OAuth Audits Explained

tl;dr

Remediation, not detection, is the shadow AI problem. DNS, proxy, and OAuth tools each have structural blind spots, and blocking tools drives usage to personal accounts where enterprise visibility drops to zero.

Featured image for "Detecting Shadow AI: DNS, Proxy Logs, OAuth Audits Explained"

Seventy-eight percent of AI users bring their own tools to work, according to Microsoft and LinkedIn’s 2024 Work Trend Index survey of 31,000 people across 31 countries. That number alone should make any security lead pause — but the real problem isn’t discovery. It’s what happens after you find something.

Why does shadow AI detection keep failing even with tools in place?

You’ve probably seen the dashboards. A CASB flags ChatGPT traffic. An identity audit shows twenty OAuth grants to AI notetakers. A DNS query log lights up with requests to anthropic.com and perplexity.ai. Each tool gives you a list, and each list looks different. The CASB misses the developer running Ollama locally. The identity audit misses the 32.3% of workplace ChatGPT use that flows through personal accounts according to Caspian. The DNS log counts devices, not people, and can’t tell you whether the request came from a sanctioned Copilot session or an unsanctioned Claude tab.

The research bears this out. One in five organizations has already suffered a breach tied to shadow AI, and high shadow-AI usage adds $670,000 to the average breach cost according to IBM’s 2025 Cost of a Data Breach Report. Yet 81% of organizations have a formal AI tool policy, and only 55.75% say it’s consistently enforced per DNSFilter. The gap isn’t policy — it’s that detection has commoditized across network, identity, browser, and endpoint signals while remediation remains the actual failure point. Findings pile up because no single owner is assigned to investigate and revoke access.

This is what I call the Response Ownership Gap: every discovery source has structural blind spots, and the bottleneck has shifted from detection to remediation. Blocking simply displaces usage to personal accounts invisible to enterprise signals. When you block something people find useful, they move to personal accounts and unmanaged devices where enterprise visibility drops to zero.

What do OAuth and identity logs actually reveal — and what do they miss?

Start with the data you already have. Google Workspace and Microsoft Entra ID record every OAuth grant: which app, which user, which scopes. Identity-based tools read those records through admin APIs and give you an immediate inventory of work-account AI connections and the data each one can reach. This is the fastest starting point — no agents, no network changes, five minutes to connect.

But there’s a catch. OAuth grants from Google Workspace or Microsoft Entra show which AI apps employees connected with their work account and the scopes granted, but they miss tools used with personal accounts or passwords. And personal accounts dominate actual shadow AI usage: 67% of AI access on corporate devices runs through personal, non-corporate accounts, and 45% of employees use AI on corporate devices — up from 15% a year earlier per the 2026 Verizon DBIR runbook. That means the majority of your exposure sits in a blind spot your identity provider was never built to see.

Nudge Security builds its discovery on this layer, pricing at $750 per month for up to 150 users or $5 per user for up to 1,500 users per Flamingo. Synk.to takes a similar approach, listing every AI tool connected to Google Workspace or Entra ID with risk tiers for $1 per user per month per Synk.to. Both are identity-first, which means they’re fast to deploy but structurally blind to personal-account usage. For a 50-developer engineering organization, Nudge Security would cost $9,000 per year in subscription fees ($750/month flat rate covering up to 150 users × 12 months), before adding any network DNS/proxy or endpoint detection layers that don’t publish per-user pricing.

How do DNS and proxy logs compare for catching AI traffic?

Network-layer detection looks at the problem from a different angle. DNS-based discovery — tools like Twingate AI Usage Overview or Secutec SecureDNS — shows which AI services each device looks up, with request counts and first/last seen timestamps. It’s lightweight, often already running, and catches traffic that never hits an identity provider. But it misses anything without a DNS lookup to a known AI domain, counts devices rather than people, and can’t see prompt content.

Proxy, CASB, and SSE tools (Zscaler, Netskope) go deeper: they see AI web and SaaS applications in inspected traffic with users and prompts per Kuntur. Netskope adds an endpoint scan on Windows and macOS. The tradeoff is they only see traffic that passes through them — and they miss local model inference entirely. A developer running Ollama or LM Studio on their laptop generates zero network traffic to an AI domain. The model runs locally; the data never leaves the machine.

Cloudflare One offers a free tier for up to 50 users for shadow AI discovery via Gateway DNS and HTTP traffic, making it a low-friction starting point for smaller teams. But the same structural limits apply: if the traffic doesn’t route through Cloudflare’s gateway, you don’t see it. And 46% of organizations have had an employee connect an unauthorized AI tool directly to corporate systems, with 20.1% of those connections causing a security incident per DNSFilter. Network tools catch the web-based connections. They miss the OAuth grants, the desktop agents, and the local models.

What about browser and endpoint visibility — do they close the gap?

Browser extensions and endpoint agents see what network and identity tools miss: prompt content, local models, desktop agents, and MCP servers running on the laptop. Harmonic Security, Nightfall, Cyberhaven, and LayerX (now Akamai Workforce Protector) operate here. They can see what employees paste into ChatGPT, whether a coding agent is calling an MCP server, and what data flows into local models.

But they introduce their own blind spots. Browser tools miss desktop apps, terminals, phones, and unmanaged browsers. Endpoint agents miss unmanaged devices entirely — personal phones, BYOD laptops, the contractor’s machine. And they’re more privacy-invasive, which creates adoption friction. The 2026 Verizon Data Breach Investigations Report found that 45% of employees use AI on corporate devices, and 67% of that access runs through personal accounts. Browser and endpoint tools on managed devices catch some of this. They don’t catch the engineer who switches to their personal laptop for a quick Claude session.

Microsoft Defender for Cloud Apps and Purview shadow AI discovery are included in Microsoft 365 E5 at $60 per user per month per AgentOpsGuide, giving Microsoft shops browser activity and registered enterprise AI app visibility plus Defender for Endpoint’s local agent discovery. It’s a compelling bundle if you’re already on E5. But it still misses non-Microsoft AI apps without additional configuration, and the endpoint piece requires Defender for Endpoint deployment.

Which tools are worth evaluating, and what do they cost?

The market splits by signal source, and most organizations need two layers: one discovery source for the inventory and one inline control in the browser or network. Here’s how the main options compare on pricing, primary signal, and target audience:

ToolPrimary SignalPublished PricingBest For
Microsoft Defender for Cloud Apps + PurviewTraffic logs, Defender for Endpoint, OAuthIncluded in M365 E5 ($60/user/mo)Microsoft 365 E5 organizations
Nudge SecurityEmail metadata, OAuth grants$750/mo up to 150 users; $5/user up to 1,500SaaS visibility + AI discovery
Synk.toGoogle Workspace / Entra ID OAuth grants$1/user/moFast identity-layer inventory
Cloudflare OneGateway DNS + HTTP trafficFree to 50 users; $7/user/mo afterSmall teams, DNS-first start
Netskope OneInline network traffic + endpoint scanQuote onlyEnterprise SSE shops
Harmonic SecurityBrowser + desktop prompts, MCPNot publishedPrompt-level DLP, EU hosting
Push SecurityBrowser extension, OAuth consent blockingPublic price (not specified in research)Browser-layer control, EU data
SentaroEmail + identity, OAuth scope scoring$6/product (includes inbox protection)EU teams on M365/Workspace

Netskope, Zscaler, Nightfall, Cyberhaven, Reco, and Josys don’t publish pricing — expect quoted enterprise deals. The free tier from Cloudflare One and the included M365 E5 capabilities mean many teams can start discovery without new budget. But free tools have the same structural blind spots as paid ones. The question isn’t which tool finds the most — it’s which blind spots you’re willing to accept.

Where does the response ownership gap leave you?

Here’s the uncomfortable truth: buying another discovery tool won’t fix this. Detection has commoditized. You can get identity-layer visibility from Synk.to for $1/user/month, network-layer from Cloudflare for free up to 50 users, endpoint-layer from your existing EDR if the license tier covers it. The tools overlap heavily — what Nudge finds via email, Synk.to finds via OAuth, what Cloudflare sees in DNS, Netskope sees in proxy logs.

The real failure point is remediation. Forty-one percent of shadow AI incidents surface only through user reporting rather than detection tools. When a new AI tool requests OAuth access to corporate systems, 43% of organizations let employees grant it themselves. IT either hears about it after the fact or never hears about it at all. And blocking drives usage underground: 71% of UK employees have used unapproved consumer AI tools at work, and 28% said their employer offered no approved option per Daylight. When you block without providing a sanctioned alternative, you don’t stop the behavior — you just lose visibility into it.

Gartner predicts that by 2030 more than 40% of enterprises will have security or compliance incidents linked to shadow AI. The organizations that avoid becoming part of that statistic won’t be the ones with the most discovery tools. They’ll be the ones that designated a single response owner with revocation authority, built a sanctioned tool catalog that actually meets developer needs, and treated shadow AI as a provisioning gap as much as a security one.

The detection piece is solved. The response piece isn’t. That’s where your next investment should go.