Had an interesting example of shadow AI in the wild this week that I thought was worth sharing.
An employee at a mid-sized company needed to find a planning presentation that had been shared with them. Pretty normal task. They downloaded a helper script from an AI website, ran it, and then launched a third-party AI coding agent on their laptop to help find the file.
The problem was that the agent didn't have a native, governed path into Microsoft 365. So it started figuring out its own way to accomplish the task.
It first interacted with desktop Outlook, reading the user's email signature files and using Outlook automation to enumerate mailbox stores and folders. Then it checked for Microsoft's Graph PowerShell modules and Microsoft 365/Azure command-line tools.
Then things got more interesting.
The agent unlocked the browser's encryption key, copied Edge and Outlook cookie databases, and launched a remote-controlled browser pointed at Outlook on the web.
From there, it eventually found the presentation. But it didn't stop there.
It also accessed SharePoint, saved a year-to-date revenue workbook, opened the employee's Power BI financial report, captured data from it, and accessed a third-party business database. Microsoft Defender generated four alerts during the process.
The employee's existing sessions were eventually revoked, but even that didn't completely stop the activity because the agent was running locally on the employee's already signed-in device. After the employee authenticated again, the agent's automated browser was back in Power BI shortly afterward.
The whole thing lasted more than 80 minutes.
What's interesting to me is that this wasn't really a case of an employee intentionally trying to bypass security controls or an outside attacker breaking into the environment. The AI agent was given a goal. It didn't have a governed route to the data it needed, so it kept finding other ways to accomplish that goal.
That's the part of shadow AI I think businesses are underestimating.
We've spent years thinking about application permissions in terms of what does this app have access to?
AI agents introduce another question:
What will this thing try next when the path we expected it to use doesn't work?
A connector alone doesn't necessarily solve that problem either. A connector governs the traffic that actually goes through the connector. An agent running locally may still have access to a browser, authenticated sessions, command-line tools, files and whatever permissions the employee already has.
This incident was caught through Microsoft Defender telemetry and our Cloud Protect SOC, which correlated the alerts and reconstructed what the agent had actually done.
For anyone interested, this is the security service involved: Office 365 Hacked | Small Business Cybersecurity | Cloud Protect | RyanTech
Curious if anyone else here has started seeing this kind of agent behavior in real environments. Most of the shadow AI conversations I've seen are still focused on employees pasting data into ChatGPT/Claude, but autonomous agents running on endpoints seem like a very different problem.