beam_mcp: nested tool argument constraints advertised but not enforced
ScriptKittyOS beam_mcp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ScriptKittyOS beam_mcp |
| No fix yet |
| ScriptKittyOS beam_mcp |
| No fix yet |
Original description
Improper Input Validation vulnerability in BeamMCP.Schema in ScriptKittyOS beam_mcp allows an MCP client to reach a tool's dispatch function with arguments that violate the input schema the server advertised. BeamMCP.Schema.validate/2 checked type, required, additionalProperties, enum and numeric bounds on the top-level arguments object only. Constraints inside nested objects and on array items (items, minItems, maxItems, minLength, maxLength, pattern, nested required, enum and additionalProperties: false) were advertised by tools/list and never checked at tools/call or prompts/get, and keywords outside the enforced subset (oneOf, anyOf, $ref) were advertised and ignored.