A security vulnerability has been identified in the Vercel AI SDK's tool fingerprinting mechanism, specifically affecting its handling of `readOnlyHint` annotations. While the SDK's drift check is designed to detect changes in tool descriptions and input schemas, it fails to account for modifications to the `readOnlyHint` property. This oversight means that a tool could be altered to become destructive without triggering the drift detection, as demonstrated by an analysis of 14,009 servers. The issue, which was initially shown by NerdLevelTech, has been addressed by a community member with a fix that includes output schema and annotations in the fingerprint. AI
IMPACT This vulnerability could allow malicious actors to modify AI tools without detection, potentially leading to unintended or harmful actions by AI agents.
RANK_REASON The item discusses a specific vulnerability and fix within a software development kit, which falls under the category of a tool-related issue.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →