Malformed validation error message
Some validation error messages returned by the Mynth API endpoints were malformed (inconsistent structure, broken JSON, or partially populated error objects), making programmatic error handling unreliable.
Description
The Mynth API validation layer occasionally returned malformed validation error responses where the JSON structure or message body diverged from the expected schema. This made client-side handling of validation errors brittle and could be triggered with specific malformed input.
Impact
Low. Primarily a robustness issue rather than a direct security risk, though malformed error messages can be a sign of inconsistent input handling that warrants review.
Recommendation
Normalize all validation error responses to a single schema (consistent fields, status codes, and content type). Add tests covering edge inputs to ensure error bodies remain well-formed under adversarial inputs.
Novaswap: Confirmed. Zealynx: Fixed.