MCP servers can silently bypass host confirmation prompts after Day 1 approval — with a fix

Independent-Sir3234 · reddit · 2026-11-08

MCP servers added to Claude Code, Codex, or Cursor can silently mutate tools/list after initial approval: annotation downgrades (flipping destructiveHint/readOnlyHint) stop hosts from prompting before destructive calls, and description strings injected into system prompts can carry hidden instructions without changing schemas. The author ships a zero-dependency Node script that canonicalizes tools/list (defaulting omitted hints to true) and verifies its SHA-256 digest to block drift before agent sessions start.

Original post →

More from coding & agent

coding & agent channel →