Tagged articles

Ajv

1 articles · Page 1 of 1
Architecture Development Notes
Architecture Development Notes
Oct 28, 2026 · Backend Development

MCP Tool Schemas Are Untrusted: Validators Must Enforce Limits Against SSRF and DoS

The MCP 2026-07-28 spec relaxes tool schemas but adds constraints on external references and combinatorial keywords; testing shows jsonschema defaults to fetching remote refs (violating spec) while Ajv complies, and a tiny 1.3KB schema with nested anyOf can cause 10-second validation delays, so validators must enforce time budgets and reject external refs.

AjvDoSJSON Schema
0 likes · 13 min read
MCP Tool Schemas Are Untrusted: Validators Must Enforce Limits Against SSRF and DoS