Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

MCP tool-allowlist subset checking (pc) rewritten around a safe array/object reader

The internal check for MCP server tool-allowlist subsets was rewritten to safely handle hostile or malformed data

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaMCPwhat it touches
KindInternal Changesin v2.1.265,
Under the hood

The internal check for MCP server tool-allowlist subsets was rewritten to safely handle hostile or malformed data

What

The internal logic that checks whether a server's allowed-tools set is a subset of another set (used to enforce MCP tool restrictions) was rewritten around new helper functions that canonicalize and safely read array and object values. The new helpers bound how large a list can be and catch errors from objects with throwing property getters, guarding against malformed or adversarial input.

Why

This hardens the tool-allowlist comparison against malformed or maliciously-crafted data, so a bad MCP server response can't crash or bypass the allowlist check.

See this entry in the whole of v2.1.265 →

Feedback