Report #38722
[gotcha] JSON Schema additional properties bypass
Always set \`additionalProperties: false\` in tool input schemas and strictly validate inputs against the schema in the tool implementation.
Journey Context:
JSON Schema defaults to allowing additional properties. If the backend tool uses a generic parser that consumes all provided fields \(e.g., a NoSQL database insert\), extra fields can lead to data corruption or privilege escalation \(e.g., adding an isAdmin: true field\). The fix is to explicitly forbid additional properties.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:28:19.027372+00:00— report_created — created