All posts

MCP tool poisoning: session access is not enough

Short answer: A poisoned MCP tool description can steer a later call from inside a session that already passed login. Session access and an audit record do not selectively stop that call. You need a per-call allow, deny, or approve decision next to the credential.

What did the research find?

In early November, Dynatrace researchers Farooq Shaikh and Biagio Montaruli posted arXiv 2611.03555, “MCP Tool Poisoning in Agentic AI Frameworks: A Cross-Framework Measurement Study.” Across 12 frameworks, 18 models, and 45 scenarios (9,720 cells) with real tool execution, the overall attack success rate was 22.9%. The audit found no intentional tool-poisoning defense in those frameworks, and five disclosures across four vendors were all rejected.

On November 2, Runlayer published Ranking MCP Security Platforms on Tool Poisoning and Prompt Injection Coverage. Session controls, it says, can block a user or revoke a token, “but they do not selectively stop a poisoned call inside a legitimate session,” and “an audit record cannot stop exfiltration in progress.” Gatekeeper is not in that ranking. The criteria still matter.

How does tool poisoning get past session access?

Tool poisoning starts in the supply chain. The attacker’s instructions are written into a tool’s description or schema, which the model reads when it discovers the tool, and the user usually never sees that text. The poisoned tool never has to run. Once its description is in context, it can steer a later call to a different tool.

Login asks whether this client is allowed into the session. A valid session carries every tool call that follows. Revoking later or writing a log is after the fact. Neither evaluates parameters on that outbound call. SSO and audit can both be true while a poisoned description drives an outbound request with a live credential.

What does a per-call check have to do?

It has to decide each invocation: this tool, these parameters, this service, now. Allow, deny, or hold for a person. That check should sit next to the credential. If the check runs in one place and the key sits in another, anything that reaches the key can skip the check.

LLM gateways govern what AI says; Gatekeeper governs what AI does. It sits between AI tools (Claude, ChatGPT, Cursor, Copilot, any MCP client) and the services they act on, and runs in an enclave (TEE). Policy evaluation and credential release happen inside that attested boundary, and no server outside the enclave holds a key.

On each call, deterministic rules decide whether it runs, deny by default, with no model in the decision path. Sensitive actions wait for a person, with approval bound to the exact parameters reviewed. The decision is written to an append-only audit log before the call goes out. Only then is the credential used to build the outbound request. See Tool-call policy: model or rules? and What is an MCP gateway?.

How do session access, hints, and per-call policy compare?

ComparisonSession access / loginSuggestion or hintPer-call policy in Gatekeeper
QuestionIs this client allowed into the sessionNudge or warn while the call still runsShould this request, with these parameters, run now
WhenAt sign-in or token grantAt or after a flagged callOn every tool call
What it can stopA client that shouldn’t be in at allNothing by itself; the call proceedsOne bad call from an otherwise allowed client
Where the key isUsually with the tool or gatewayUnchanged by the hintReleased inside the enclave for the approved call

Runlayer’s November releases show the difference. Runlayer 3.2.0 (November 6) adds Suggestion policies that steer preferred tools without blocking; the call runs and a message is added to the result. Its Hint scanner action (3.0.0, November 4) lets a flagged call go through with a warning. Useful signals. Not allow, deny, or approve. Runlayer also offers block actions and deny policies; the point is that a suggestion or hint on its own does not stop the call. Willow’s Human in the Loop AI post (November 5) points the same way: humans define policy, access scope and escalation rules once, then systems enforce them on every action.

What should you ask a vendor?

Ask what happens between “this session is allowed” and “this request reaches the service.” Does something look at each call’s parameters before the credential is used? Is that check deterministic? Can a suggestion, hint, or log substitute for a deny or an approval? If the answer stops at session grants, scanners, or post-hoc audit, the gap both sources describe stays open.

FAQ

Isn’t a clean tools/list scan enough?

No. Static scans catch some poisoned descriptions before deploy, and snapshots can show definition drift later. Neither stops a call already inside a legitimate session with a live credential. You still need a decision on the invocation itself.

Does the credential ever leave the enclave?

For bearer tokens, yes. The token goes out with the single approved request. AWS SigV4 is the exception: the request carries a signature, and the secret key itself is not sent.

Can we try this without blocking anything?

Yes. Monitor mode records what policy would have allowed, denied, or held for approval, so you can tune rules on your traffic first.

Next step: run one workflow in monitor mode with us and see what your AI tools are already doing: nathan@station70.com.

Security for what you can least afford to lose

Learn how Station70 protects keys, identities, and access.

Learn more