In March someone in sales tries an AI email assistant. They click “Allow” so it can read their inbox and draft replies. They stop using it after a week. In November, that assistant still has a live connection to their mailbox, calendar and files. Nobody remembers it exists.
That forgotten connection is a ghost token. It’s one of the quietest AI integration risks a business has, because nothing about it looks wrong. This post explains what ghost tokens are, why multi-factor authentication doesn’t stop them, a real 2026 incident that started with one, and how to find and revoke them in Microsoft 365 and Google Workspace.
What a ghost token is
When someone connects an app to Microsoft 365 or Google Workspace, they approve an OAuth grant: permission for the app to act on their behalf. The app gets a token it can use to read mail, files or calendars without asking again.
That token doesn’t expire when the person stops using the app. It lasts until someone revokes it. The Cloud Security Alliance calls these forgotten, still-active authorisations ghost tokens, and lists three things that make them dangerous (CSA research note, “OAuth Ghost Tokens: Enterprise AI Integration Supply Chain Risk”, May 2026):
- They don’t trigger MFA. The access was approved once, so the app never sees a sign-in prompt again.
- They carry the user’s permissions. Whatever the person could reach when they clicked “Allow”, the app can reach.
- Nobody is watching them. They don’t show up as sign-ins, and most businesses never review them.
The same note says enterprises average 17 different AI application integrations in their Microsoft and Google environments, and concludes that most hold ghost tokens nobody has reviewed (CSA, May 2026).
Why AI tools make it worse
Apps have asked for access to mail and files for years. AI tools changed three things:
- There are far more of them. Note-takers, writing assistants, email drafters, meeting summarisers, research tools. Staff try a new one every few weeks.
- They ask for more. An AI assistant is only useful if it can read everything, so it asks for broad access to mail, files and calendars.
- The vendors are young. Many are small start-ups. If one of them is breached, every token it holds is a way into its customers.
The risk isn’t the app you use every day. It’s the dozen you tried once.
A real example: April 2026
In April 2026, Vercel disclosed an incident that started outside its systems. An employee had connected Context.ai, a third-party AI productivity tool, to their Google Workspace account. Context.ai was compromised, and an OAuth token stolen from it was used to take over the employee’s account and move into Vercel’s internal systems. Vercel revoked every Context.ai token across its platform (Vercel security bulletin, April 2026).
The employee didn’t click a phishing link. They had once approved an AI tool. When the tool’s own vendor was breached, that approval became the attacker’s way in. The CSA note uses this incident as its main case study.
How to find ghost tokens
Microsoft 365
- In the Microsoft Entra admin center, open Enterprise applications and list all applications.
- For each one, check Permissions (what it can reach) and Users and groups (who approved it).
- Look at sign-in logs for the app to see when it was last used.
- Under Consent and permissions, check whether users can approve apps on their own. Many tenants still allow it for any app.
Google Workspace
- In the Admin console, go to Security, then Access and data control, then API controls, and open Manage third-party app access.
- Review each connected app: who uses it, what it can access, and whether it’s trusted, limited or blocked.
- For a single person, open their user record and check Security for connected applications.
What to look for first
- AI tools with access to mail, files or calendars, especially read and write
- Apps nobody has used in 60 days or more
- Apps approved by admins, finance or executives
- Apps from vendors you don’t recognise or that have had a security incident
How to revoke them safely
- Ask the owner first if the tool might still be in use, so you don’t break someone’s workflow.
- Revoke the grant, not just the user’s sign-in. In Microsoft 365, remove the app’s permissions or the app itself from Enterprise applications. In Google Workspace, block the app or remove the user’s access to it.
- Confirm it’s gone. Check the app no longer appears with access for that user.
- Change the default. Require an admin to approve new apps that ask for mail or file access, so the list doesn’t refill next month.
- Write it down. Record each AI tool you keep, with an owner and a review date.
A worked example
A 50-person architecture firm runs a review after reading about the Vercel incident.
- What they find: 23 apps with access to Microsoft 365. Nine are AI tools. Four of those haven’t been used since spring, including a note-taker with full access to a partner’s mailbox and calendar, and a PDF summariser one of the office managers tried once.
- What they do: They ask each owner, revoke the four unused AI tools, and switch Microsoft 365 so staff can’t approve new apps that read mail or files without IT.
- What’s left: Five AI tools, each in a one-page register with an owner and a review date in three months.
The review takes one afternoon. Without it, those four tokens would have stayed live until someone breached the vendors.
The example is illustrative.
Checklist: ghost token clean-up
- List every app connected to Microsoft 365 or Google Workspace
- Mark the AI tools and what each can reach
- Find apps unused for 60 days or more
- Ask owners, then revoke the unused ones
- Confirm each revoke took effect
- Require admin approval for new apps that read mail or files
- Give every AI tool you keep an owner and a review date
- Repeat the review every quarter, or run it continuously
Where Centeye fits
Centeye Lumen lists every AI app connected to mail, files and calendars and what each grant allows. It flags access that has gone unused for months and revokes it on the rules you set. Every revoke is confirmed at Microsoft or Google and can be undone. Each tool you keep lands in one register with an owner and a review date. Centeye Synthwatch covers the agents and apps that act on their own with Microsoft 365 access, each with a sponsor and an off switch.
For how attackers trick people into approving apps in the first place, read consent phishing.
FAQ
What is a ghost token? A forgotten app authorisation that is still active. The app can keep reading mail, files or calendars with the user’s permissions long after anyone stopped using it.
Does MFA protect against ghost tokens? No. The app was approved once, so it uses its token directly and never faces a sign-in prompt.
Do OAuth tokens expire on their own? Short-lived access tokens do, but apps usually hold a refresh token that lets them get new ones. In practice access often lasts until someone revokes the grant or the user’s password changes, depending on the platform and settings.
Should we stop staff connecting AI tools? A total ban pushes AI onto personal accounts. Require admin approval for apps that read mail or files, keep a list of approved tools, and review what’s connected on a schedule.
How often should we review connected apps? At least every quarter, and after any news that a vendor you use was breached.
Sources: Cloud Security Alliance research note “OAuth Ghost Tokens: Enterprise AI Integration Supply Chain Risk” (May 2026); Vercel security bulletin (April 2026). Admin steps reflect the Microsoft Entra admin center and Google Admin console as of November 2026; menu names can change. The worked example is illustrative. Microsoft 365 and Microsoft Entra are trademarks of the Microsoft group of companies. Google Workspace is a trademark of Google LLC.