Skip to content

πŸ›‘οΈ QA | Strict Inbound Request Payload ValidationΒ #289

@Sadeequ

Description

@Sadeequ

Description

The asset pairing routes accept raw body inputs without structural validation, risking internal server errors if the frontend sends a malformed request.

Technical Requirements

  • Implement Zod or Joi schema validation on all POST/PUT endpoints (e.g., adding a relayer or altering configuration).
  • Return a clear 400 Bad Request with exact field error messages if validation fails.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions