Release Notes
Patch Changes
555c5de: fix(react): deny MCP App tool calls by default when allowedTools is omitted
experimental_MCPAppRenderer's bridge only enforced theallowedToolsallowlist when it was non-null, so omittingallowedToolsskipped the check and forwarded everytools/callfrom the (untrusted) MCP App iframe to the host'scallTool. A malicious or compromised MCP server could therefore invoke any tool the host wired up.Tool invocation from MCP App content is now deny-by-default: if
allowedToolsis not explicitly provided, alltools/callrequests are rejected. To expose tools to an app, list them inhandlers.allowedTools.Updated dependencies [2a150f8]
Updated dependencies [b44b051]
Updated dependencies [aeda373]
Updated dependencies [25a64f8]
Updated dependencies [375fdd7]
Updated dependencies [f18b08f]
Updated dependencies [b4507d5]
- @ai-sdk/[email protected]
- @ai-sdk/[email protected]
- [email protected]