By NHI Mgmt Group Editorial TeamBased on KonaSense: “Your security team has never seen the apps breaching you” (April 20, 2026)

TL;DR: OAuth grants to third-party AI tools can become long-lived bearer credentials that expose Google Workspace data, and KonaSense shows how one employee’s “Allow All” click led to Vercel account pivoting, environment-variable enumeration, and a $2M BreachForums listing. The control problem is no longer the login screen itself, but the unmanaged trust chain that starts when consent outlives review.


At a glance

What this is: This analysis shows how a single OAuth consent to an AI office suite enabled attackers to move from Google Workspace into Vercel accounts and exposed data.

Why it matters: It matters because IAM and security teams now have to govern third-party OAuth grants as standing access paths, especially where AI tools expand the number and scope of connected apps.


Context

OAuth consent has become a privileged access problem, not just an application integration issue. When a third-party app receives scopes on behalf of a user, it can act with the user’s authority long after the original click, which makes review, revocation, and scope discipline part of access governance rather than casual app hygiene.

The article centers on a familiar but escalating pattern: a third-party SaaS app becomes the entry point, then the attacker uses the granted token to reach mail, calendar, documents, and connected business systems. In that sense, this is a SaaS-to-SaaS and OAuth app governance problem as much as it is a breach story.


Key questions

Q: What should teams do first when a third-party app has broad workspace access?

A: Start with an immediate inventory of all authorized apps, then revoke any grant that is not actively used or that requests mail, drive, calendar, or send-as permissions without a clear business case. The priority is to shrink the number of standing delegated credentials before you tune policy or monitoring, because each extra grant expands the blast radius of a single vendor compromise.

Q: Why do broad OAuth scopes increase breach impact?

A: Broad scopes turn one consent decision into multiple reachable resources, which gives an attacker a much larger blast radius if the app is compromised. Mail, drive, calendar, and directory access can expose credentials, internal documents, and organisational structure. The wider the bundle, the more likely the compromise becomes a workspace-level incident rather than a single-app event.

Q: How do security teams know whether OAuth grants are being governed properly?

A: Look for complete inventory coverage, business ownership, expiry or review dates, and evidence that dormant grants are removed promptly. If teams cannot explain who approved a delegated app, what data it can reach, and when it was last reassessed, the governance model is too weak for a shared-access SaaS environment.

Q: What happens when an AI assistant vendor is compromised after users have granted access?

A: The attacker inherits the delegated scopes already approved by users, which can include mail, calendar, and document access. From there, the breach can move into account pivoting, secret discovery, and impersonation without needing to break the primary enterprise login, so incident response has to include token revocation and downstream access review.


Technical breakdown

How OAuth scopes become reusable bearer credentials

OAuth scopes are not passwords, but they behave like reusable authorization tokens once consent is granted. The user authenticates to the primary platform, then the app receives delegated access that can remain valid for weeks or months until revoked. That creates a trust gap: the app’s security posture becomes part of the identity boundary, yet most teams still treat the consent screen as a one-time usability event. In this case, the attacker did not need interactive login because the token already carried the user’s delegated authority. See the SaaS-to-SaaS and OAuth App Governance Guide.

Practical implication: Treat high-impact OAuth grants as durable access paths and review them with the same seriousness as privileged credentials.

Why broad workspace scopes create a lateral movement path

Broad scopes let one compromised integration read mail, calendar, Drive, and sometimes send email on the user’s behalf. That combination turns a productivity tool into a data collection and impersonation channel. Calendar access reveals relationships and timing, Drive exposes shared files, and mail access can uncover resets, backup codes, and business instructions. Once the token is stolen, the attacker can operate from any IP and at any hour, so the normal signals that support user-driven detection disappear. See the Google Workspace Security Guide.

Practical implication: Segment scopes by function and remove any grant that enables inbox, document, or message impersonation without a clear business need.

Why AI assistants magnify OAuth risk

AI office suites, notetakers, and meeting assistants increase the number of connected apps because they promise convenience across email, meetings, documents, and task workflows. That growth matters because each integration adds another third-party token holder with potential access to the same identity. The risk is not only that more apps exist, but that the approval decision is compressed into a single consent action while the downstream access is broad, persistent, and difficult to inventory at scale.

Practical implication: Create a governed approval process for AI tools that request workspace scopes and make scope review mandatory before rollout.


Threat narrative

Attacker objective: The attacker’s objective was to harvest reusable access and valuable internal secrets from the compromised workspace and monetize them publicly.

  1. Entry occurred when the employee granted Context.ai broad Google Workspace permissions through an OAuth consent screen.
  2. Credential access followed when attackers who had compromised Context.ai reused that token to enter Vercel’s Google Workspace and pivot into the employee’s Vercel account.
  3. Escalation and collection came next as the attacker enumerated environment variables that were not marked sensitive and staged them for sale.
  4. Impact was the exposure of internal data to BreachForums and the need for incident response, customer notification, and credential review.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

OAuth consent is now a privileged access decision, not a user convenience event. The breach worked because a delegated grant outlived the moment it was approved and remained powerful enough to bridge identities and services. Security teams that still treat app consent as low-risk app hygiene are missing the real control point, which is issuance and lifecycle governance. Practitioners should govern OAuth grants as part of access management, not as an afterthought.

AI tooling has turned consent sprawl into a governance problem. Meeting assistants, note takers, and office copilots expand the number of third-party tokens attached to a single identity, which increases the number of places where trust can break. This is exactly where consent governance matters: not because every AI tool is malicious, but because broad scopes make ordinary productivity tools indistinguishable from a post-compromise access path once the vendor is breached. Practitioners should assume the trust boundary now sits outside the enterprise perimeter.

“Non-sensitive” labels can become a false comfort layer around secrets exposure. The Vercel case shows that enumeration logic and default data classification can fail together, especially when environment variables, API keys, and tokens live inside systems that were not designed for adversarial browsing. The governance gap is not only token theft but also secret visibility after pivot. Practitioners should re-evaluate what counts as sensitive in any system reachable through delegated access.

Consent review needs to move from periodic audit to enforced policy. Quarterly reviews are too slow when new AI apps arrive continuously and grants can be abused immediately after compromise. The field needs tighter scope allowlisting, explicit admin approval for high-risk scopes, and revocation workflows that are actually used. Practitioners should treat third-party app trust as a living control surface, not a static inventory.

What this signals

Delegated access has become the new persistence layer. As more employees connect AI tools to work identities, the lifecycle of an OAuth grant matters as much as the application itself. The programme implication is straightforward: teams need continuous visibility into which third-party apps can act on behalf of a user, because consent outlives the moment it was given.

Consent sprawl is the control gap most organisations have not operationalised. The issue is not that users should never connect tools, but that enterprise governance has to assume every connected app becomes a future trust dependency. When that dependency crosses email, documents, or calendar data, the security team is no longer managing convenience, it is managing delegated authority.


For practitioners

  • Review every third-party OAuth grant Pull the full app inventory for your workspace identity provider and identify which apps have mail, calendar, drive, or send-as permissions. Revoke grants that no longer have an active business purpose and require explicit approval for future high-risk scopes.
  • Move high-risk scopes to an allowlist Block user-driven approval for sensitive permissions and force admins to approve only the scopes the business has formally accepted. Separate productivity tools that need read-only access from tools that can write or send on behalf of the user.
  • Inventory connected apps by identity and scope Map who authorized each app, when it was approved, what scopes it holds, and whether the app can act outside normal business hours. Use that inventory to spot stale grants and broad delegate access that should not exist.
  • Treat environment variables as secret-bearing data Audit systems where values are tagged non-sensitive by default but may still contain tokens, API keys, or credentials. If a third-party app can enumerate those values, then the classification model is not strong enough for your threat model.
  • Build revocation into incident response Predefine how to revoke OAuth tokens, rotate exposed secrets, and validate whether a compromised integration had access to mail, Drive, or downstream SaaS. The first response should be containment of delegated access, not just password resets.

Key takeaways

  • A single OAuth consent can expose a much larger attack surface than a password compromise because the granted token carries delegated authority across the user’s workspace.
  • The evidence in this case shows the practical path from third-party compromise to account pivoting, secret enumeration, and monetisation of stolen access.
  • The limiting control is not just user awareness but enforced governance over app approval, scope minimisation, and rapid revocation of stale grants.

Related NHI Mgmt Group resources: SaaS-to-SaaS and OAuth App Governance Guide · Entra ID Applications and Consent Guide · Google Workspace Security Guide · Shadow AI and AI Agent Discovery Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03 — Vulnerable Third-Party NHIThe breach begins with a compromised third-party app that holds delegated workspace access.
NHI-02 — Secret LeakageThe attacker used delegated access to enumerate environment variables and sensitive material.
NHI-10 — Human Use of NHIA human user approved a non-human integration that later acted on their behalf.
Recommendation — Assess third-party apps as NHI trust dependencies and remove any that cannot be justified and continuously monitored. Reduce secret exposure by classifying and restricting any data reachable through delegated app access. Prohibit ad hoc human approval of powerful app access and require governed consent for delegated identities.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementOAuth tokens function as authenticators whose lifecycle must be managed after issuance.
Recommendation — Apply token lifecycle controls to revoke, rotate, and validate delegated credentials promptly.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about excessive delegated permissions and entitlement sprawl.
Recommendation — Review and limit access permissions so third-party grants match the minimum required scope.

Key terms

  • OAuth Scope: An OAuth scope is a permission string that defines what an application can do on behalf of a user. In practice, scopes set the blast radius of delegated access, because the token carries the right to read, write, or administer resources until it is revoked or expires.
  • Delegated Access: Delegated access is permission granted to one identity to act on behalf of another user, service, or system. In NHI environments, this usually appears in OAuth-connected apps and automation tooling. It is powerful, but it must be tightly scoped and reviewed because it can persist long after the original business need ends.
  • Consent Governance: Consent governance is the set of policies, systems, and evidence needed to collect, record, propagate, and withdraw permission for data processing. It becomes operationally meaningful only when the organisation can prove that downstream systems honour the decision consistently across channels and vendors.
  • Bearer Credential: A bearer credential is a secret that grants access to whoever possesses it, without requiring proof of the original user at every request. In SaaS and cloud environments, OAuth tokens, session cookies, and similar artifacts behave this way, which makes theft and replay a direct access path.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners turn delegated access and token lifecycle risk into an auditable control model.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org