Skip to content
IAM Insights

Column

When the tool list was the only guard in PayPal's test, a script ran a forbidden tool

In PayPal's test, AI agents under attack never tried a forbidden tool once it was filtered from their list. That makes filtering look like a block. Yet the authors call the result "almost true by definition".

By Boston Identity · Published  · 4 min read · For security leaders

On this page

A guessed name ran it

Authors at PayPal aimed 2,160 prompt-injection attempts, meaning text written to hijack an agent, at one tool their AI agents were forbidden to use. When the tool was filtered out of the list an agent sees, no agent tried to call it, a result the authors call "almost true by definition". Then a scripted client guessed the tool's name. Under filtering alone, the tool ran.1

For a team that relies on the list alone, that result is the risk: a tool believed to be off limits can run for a caller that skips the list.

What stopped the script was a check made in the tool itself when the call arrived: the check in the tool body and PayPal's full design both blocked it. The same check also stopped the agents. When they could still see the tool and it was the only guard, injected agents tried the call 152 times in 720, and it blocked every one. One of the four models tried 90 times in 180, and another never tried.1

We read this as support for checking each call on arrival. The filtered list is worth keeping, because agents stopped trying. Filtering alone is not a boundary, though, and at that rate of attempts the model's restraint is not a control.1

This is one company's test of its own design against a single tool. Its production evidence is thin: PayPal says the design runs across "dozens of authenticated MCP servers", which offer tools to agents, and gives no counts of tools, agents or requests. OAuth token exchange is left for future work, so no delegation chain crosses servers.2

Fig. 1

Filtering the tool from the list stopped agents trying it, but a script that guessed its name ran it; a check inside the tool blocked both.

Others also prefer enforced limits

Singapore's Infocomm Media Development Authority, a regulator, says organisations should in general prefer deterministic limits, such as an access control that stops the agent calling a tool at all, over a prompt telling it not to.3 Josh Woodruff of the Cloud Security Alliance wants every action to pass a checkpoint, usually a gateway, and says this is usually something a team builds.4 In his account the checkpoint must be able to refuse the action whatever the agent's intent was.5

WorkOS, a vendor writing on its own channel, sets Woodruff's timing in a checklist: check what the agent may do and what its user may currently do on every tool call, not once per session.6

The places differ: PayPal enforces in the server,1 and Woodruff's checkpoint is usually a gateway.4 PayPal's test compared a filtered list with a check inside the tool;1 we would not stretch it to rank a gateway against a server. Our reading is narrower: the check has to sit on the path a call takes even when the caller ignores the list.

What buyers should ask

Ask what happens when a caller names a tool the agent was never shown. Under filtering alone, PayPal's tool ran.1

Ask what a tool nobody has labelled gets by default. In PayPal's design, tools nobody annotated default to open.2 WorkOS's checklist goes the other way: unknown tools default to its high tier, where an action needs the user's approval through a channel the agent cannot forge.7

Ask how old the check's information can be. PayPal caches its token lookups, and that cache means a revoked token keeps working for up to its 300-second lifetime.2 WorkOS's own test is that revoking a user's access to a project mid-task makes the agent's next call on that project fail.6

What does the check do when its policy engine cannot be reached? In WorkOS's checklist, the action is denied.8

For security leaders

Check every call on arrival, even when the caller ignores the tool list: in PayPal's test, that check stopped a script the list did not.

  • Have your team call a tool by name that the agent was never shown, and ask to see the refusal.
  • Ask what a tool nobody has labelled gets by default, and treat it as high-risk until someone reviews it.
  • Ask how many seconds a revoked token keeps working, and what the check does when its policy service is down.

What would change our mind

We are wrong about where the check belongs if a repeat of PayPal's test, which covered one forbidden tool, shows a filtered list stopping a caller that names the tool directly.1 Our advice would change if the check arrived inside products buyers already run. We forecast that by 31 March 2028 at least two of the major identity governance suites will document, as generally available, a policy check on each agent tool call against the delegating person's entitlements before the call runs.9 The date is our forecast, not a vendor's schedule.

Evidence

Built on 8 findings and 1 forecast from 5 briefings. The numbers in the text point to these rows, grouped by the briefing each claim comes from. IDs are permanent, so a citation keeps pointing to the same claim even if we reword it.

Evidence dates: May 2026 to Oct 2026 · How to cite · Editorial independence

  • arXiv · September 18, 2026PayPal's MCP servers hide tools the caller's token can't use, and injected agents stopped reaching for them

    1. 1BI-FIND-2026-0665Agents that could see a forbidden tool tried it in 152 of 720 injections; PayPal's filtering cut that to none, and a call-time check stops a guessed name.
    2. 2BI-FIND-2026-0666PayPal gives no counts of tools, agents or requests for production, and its introspection cache lets a revoked token work for up to 300 seconds.
  • Infocomm Media Development Authority (Singapore) · May 20, 2026Singapore's regulator: each AI agent should have its own identity and, as a rule, no more access than its user

    1. 3BI-FIND-2026-0141IMDA says organisations should in general bound agents by design, with an access control that stops a tool call rather than a prompt asking the agent not to.
  • Insecure Agents · October 21, 2026Secure the action, not just access: CSA's Josh Woodruff on the Agentic Trust Framework and AARM

    1. 4BI-FIND-2026-1483Woodruff's starting point is a spreadsheet roster of agents, and an identity provider that issues a token only to the agents on it.
    2. 5BI-FIND-2026-1484Woodruff calls intent a good signal for the checkpoint, but says it must be able to refuse the action whatever the intent was.
  • WorkOS Blog · September 30, 2026WorkOS's agent checklist limits a delegated agent to what it and its user may both do, checked on every call

    1. 6BI-FIND-2026-1997WorkOS says to check both the agent's permissions and its user's current access on every tool call, and to allow only what both permit.
    2. 7BI-FIND-2026-1998The checklist says high-risk agent actions need the user's out-of-band approval, which covers one action with specific parameters and can be used once.
    3. 8BI-FIND-2026-1999WorkOS's checklist treats prompt injection as an authorization problem, so text from web pages or emails cannot be the reason a sensitive tool is allowed.
  • The Security Strategist · August 27, 2026SailPoint's product chief wants an agent's access checked before each tool call and again at each resource access

    1. 9BI-CALL-2026-0038By March 2028, at least two of the major IGA suites (SailPoint, Saviynt, Okta, Ping Identity, Microsoft Entra) ship, as a documented generally available capability, a policy check on each agent tool or MCP call against the delegating person's entitlements before the call runs.

All columns

Was this column useful?

Share this column

Follow us on LinkedInRSS feed

Weighing the same question in your own identity program? Talk to Boston Identity