AI NEWS · SOURCE CHECKED
Vercel AI SDK 7.0.178 fixes bypass of automatically denied tool approvals
The AI SDK now stops signing tool-approval requests that policy has already rejected. Under affected configurations, a client controlling message history could replay a denied request with an approval response and trigger execution. Old signatures require separate revocation planning.
The AgentenCode assessment
Our perspectiveVercel's AI SDK 7.0.178, released November 20, fixes a specific agent-tool approval issue. When experimental_toolApprovalSecret was configured, generateText and streamText could previously sign approval requests even after the tool policy had automatically denied the action. A client controlling message history could return that signed request with an approving response, potentially causing execution of a tool call the policy had rejected.
The patch no longer signs automatically denied requests. A manipulated approval response then fails with AI_InvalidToolApprovalSignatureError. The official release notes include an important limitation: signatures created before the change remain valid. Organizations that must invalidate these signatures need to rotate the secret supplied to experimental_toolApprovalSecret. Pending legitimate approval requests must then be issued again.
This is a documented issue for particular approval configurations, not evidence that every application using the SDK was compromised. Teams should check their installed version, whether the affected feature was enabled, and whether older signatures require revocation. Tool authorization should still be enforced independently of a model's output.
Original source: Vercel AI SDK official GitHub release · Source dated 20 Nov 2026
EXPLORE
Relevant background
Independent guides for understanding this update.
Related agents, systems and context
Product links identify the subject of a report; ecosystem links provide context, not shared feature claims.
- Background guideAgent tool use