Skip to content
IAM Insights

Briefing · Paper · source · updated · Boston Identity

Berkeley and IBM found six ChatGPT and Claude connector setups asking more than their advertised tools need

MiniScope, from UC Berkeley and IBM Research, gives an AI agent permissions the way a person hands off a task: a role sized to the job, built from the OAuth scopes a service already defines or mined from usage. Run against the connectors in ChatGPT and Claude, it found six setups that request more than their advertised tools need, among them ChatGPT's Gmail and Calendar connectors, which list only reading tools yet are allowed to modify and delete.

arXiv · Jinhao Zhu, Xiao Huang, Kevin Tseng, Gil Vernik, Shishir Patil, Vivian Fang, Raluca Ada Popa · December 11, 2025 · read

share
4 findings6 sectionsAgentic identityAI trustStandards
14,480 words. With Jinhao Zhu et al., author, UC Berkeley; IBM Research.
01

What's happening

Finding4
BI-FIND-2025-0123Lead finding

Six of nine ChatGPT and Claude connector setups the authors checked ask for more OAuth permissions than their advertised tools need.

The authors took the advertised tools of each ChatGPT and Claude connector as its plan, computed the minimum OAuth permissions those tools need, and compared that with what the connector requests at install. Six of the nine configurations in their table ask for more. ChatGPT's Gmail and Google Calendar connectors "permit modification and deletion even though their advertised tools are read-only" (50 methods against 32, and 12 against 5); its Dropbox connector reaches 44 against 25 and its Notion connector 32 against 13. Claude's Gmail and Calendar connectors match the minimum. Its Google Drive connector carries an optional permission that allows modifying and deleting files (45 against 27, in a row the table labels Google Storage), and its Notion connector authorizes 32 methods against 29. The yardstick is what each connector advertises, at one point in time; the authors say they reported the configurations to the providers and record no reply.

high confidencebest source: independent researchobserved Dec 2025EvidenceSection 5
flag a problem with BI-FIND-2025-0123
BI-FIND-2025-0124

Four language models chose a wrong set of scopes for an agent in 1.7% to 4.9% of single-app, single-method requests and 22.9% to 34.7% of multi-app ones.

Asking a language model to choose an agent's scopes got worse as tasks grew. Given a fixed plan and the map from API methods to scopes, GPT 5.4, Claude Sonnet 4.6, Gemini 3 Flash and Qwen 3.5 returned a wrong set, one that could not run the plan or one broader than MiniScope's pick, in 1.7% to 4.9% of single-app, single-method requests and 22.9% to 34.7% of multi-app ones. Which model did worst depended on the setting: GPT 5.4 in single-app, single-method requests (4.9%), Qwen 3.5 in single-app, multi-method ones (12.7%) and Sonnet 4.6 in multi-app ones (34.7%). Scope names are part of the trouble. The authors trace most of the sets that could not run to Outlook and Outlook Calendar tasks and blame misleading names: Mail.ReadWrite looks as if it covers Mail.Read but some read methods need Mail.Read itself; in Google Calendar, *.events.readonly looks broader than two scopes that in fact authorize more methods. MiniScope orders scopes by the methods each one covers and solves for the cheapest sufficient set instead of reading names, and the authors assume the provider's specification of which tools each scope authorizes is correct.

medium confidencebest source: independent researchobserved Dec 2025EvidenceSimulated evaluationSection 2
flag a problem with BI-FIND-2025-0124
BI-FIND-2025-0125

MiniScope's 0.8% injection success, against 33.7% for a plain agent, depends on a simulated user who refuses any widening of permissions.

The attack result depends on a strict user and stops at the role boundary. On an adapted AgentDyn Workspace benchmark run with Gemini 2.5 Flash, injected instructions succeeded 33.7% of the time against a plain ReAct agent, 25.8% against a plan-first agent and 0.8% under MiniScope, whose simulated user refuses any widening of permissions once the agent has read untrusted content. The three attacks that got through stayed inside the permissions the original task needed, such as sending an email when the session already allowed sending; the authors count that as 0% for privilege escalation and put misuse inside a granted role outside MiniScope's guarantees. Utility under attack was 93.1% against 94.2% for the plan-first agent, and the plan-first workflow, not the 0.14-second permission check, accounts for most of the added latency.

medium confidencebest source: independent researchobserved Dec 2025EvidenceSimulated evaluationSection 3Problem, task-role model and threat model
flag a problem with BI-FIND-2025-0125
BI-FIND-2025-0126

MiniScope's fewer permission prompts come from language models playing simulated users, and the paper reports no test with real users.

Fewer prompts is a result about simulated users: language models playing Cautious, Typical and Permissive personas answered each prompt with always, this session or once, never deny, over sampled traces of about three months in Gmail, Google Drive and Google Calendar. For the Cautious and Typical personas MiniScope asked 43.4% to 89.4% less often than prompting for every tool. For the Permissive persona the version built on OAuth scopes cut prompts by 79.4% to 91.8%, while the version built from mined usage traces raised them, by 111.4% in Gmail and 30.1% in Calendar. The paper reports no test with real users.

medium confidencebest source: independent researchobserved Dec 2025EvidenceSimulated evaluationSection 3
flag a problem with BI-FIND-2025-0126
02

Section by section

6

showing 6 of 6

[1]

Problem, task-role model and threat model

Jinhao Zhu et al., UC Berkeley; IBM Research

Agentic identityAI trust

Zhu and colleagues argue that both common ways of approving an agent fail. Grants made at install leave standing authority the task never needed, and a prompt for every tool call wears users down. Their alternative treats the agent like a human delegate, given a role in a hierarchy that covers the task at hand. The threat model trusts the user and each service's published spec, not the model or what tools return; misuse inside granted permissions is out of scope.

technical artifactfrom published text + figures

[2]

Building permission hierarchies from OAuth scopes or user traces

Jinhao Zhu et al., UC Berkeley; IBM Research

Agentic identityStandards

The hierarchy comes from one of two places. From OAuth, a scope whose methods are a strict superset of another's becomes its parent, and in Google Calendar that ordering reverses what the scope names suggest. From usage traces, classic hierarchical role mining groups the permissions tasks need, with per-tool approval until enough traces build up. Either way the result is only as good as the provider's mapping of scopes to methods.

technical artifactfrom published text + figures

[3]

Runtime: least-privilege solver, two-layer consent, credential isolation

Jinhao Zhu et al., UC Berkeley; IBM Research

Agentic identity

The agent proposes a plan first. An integer linear program picks the cheapest set of roles that covers it, and the user is asked (always, this session, or once) only about roles not already granted. A permission checker tests each call against a session token and forwards it with the user's real credentials, which the agent never holds. Once the agent has read untrusted content, any widening needs fresh approval, even for a role granted earlier.

technical artifactfrom published text + figures

[4]

Simulated evaluation: LLM baseline, prompt burden, attack success

Jinhao Zhu et al., UC Berkeley; IBM Research

Agentic identityAI trust

Everything runs against synthetic backends built from 10 real APIs with 32 to 247 tools each, not live accounts. Four models asked to pick scopes (GPT 5.4, Sonnet 4.6, Gemini 3 Flash, Qwen 3.5) got it wrong in 1.7% to 34.7% of cases. Simulated Cautious and Typical personas saw 43.4% to 89.4% fewer prompts. On AgentDyn Workspace with Gemini 2.5 Flash, attacks succeeded 33.7% of the time against ReAct, 25.8% against a plan-first agent and 0.8% under MiniScope.

technical artifactfrom published text + figures

[5]

Audit of ChatGPT and Claude connector permissions

Jinhao Zhu et al., UC Berkeley; IBM Research

Agentic identityAI trust

The authors treat each connector's advertised tools as its plan, solve for the minimum scopes over the OAuth hierarchy, and compare that with what the connector requests. Six setups ask for more: ChatGPT's Gmail (50 methods against 32), Calendar (12 against 5), Dropbox (44 against 25) and Notion (32 against 13), and Claude's Google Drive, labelled Google Storage in the table (45 against 27), and Notion (32 against 29). They reported them to the providers and record no reply.

technical artifactfrom published text + figures

[6]

Limits: granularity, automated approval, delegation between agents

Jinhao Zhu et al., UC Berkeley; IBM Research

Agentic identity

The guarantee is only as fine as the hierarchy and says nothing about what an agent does inside a role; argument-level checks are left as a complement. Approval by an automated policy sits outside MiniScope, and such a policy could approve a malicious widening that MiniScope cannot catch. Delegation between agents, with a parent passing a child only a sub-role, is offered as a natural fit and left to future work.

technical artifactfrom published text

Terms used

AI agent
Software that uses an AI model to decide its own next steps and then acts through tools and APIs, rather than answering a single prompt. Because it acts, it needs an identity of its own.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
Application programming interface
Application programming interface: a defined way for software components to request operations or exchange data.
GPT
Generative pre-trained transformer: the family of large language models behind OpenAI's ChatGPT. Reports name versions such as GPT-4 and GPT-5.
Qwen
Alibaba's family of large language models.
Gemini 2.5 Flash
Google model.
ReAct agent loop
An agent design that alternates the model's written reasoning with tool actions and the observations they return.
Privilege escalation
Gaining access or actions beyond what you were granted; for AI agents, an attacker's text makes the agent use tools the attacker could not call.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity