Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

API Request Validation Submodule #53

Open
epociask opened this issue May 14, 2023 · 3 comments
Open

API Request Validation Submodule #53

epociask opened this issue May 14, 2023 · 3 comments
Assignees
Labels
type: enhancement New feature or request

Comments

@epociask
Copy link
Collaborator

epociask commented May 14, 2023

Problem

Currently, Pessimism's API supports no request validation module nor request validation for invariant deployment requests. This means that request bodies that successfully unmarshall can contain invalid data fields that could result in unforeseen consequences when the server attempts to process the request.

Problem Solution

Implement API validation logic to ensure that requests fields are properly vetted before triggering subsystem logic. This will require analyzing each structured request body (ie. InvariantRequest) field to understand how a variable's expression should be constrained and which value ranges should be applied to it.

@MindlessSteel
Copy link

I have to agree with the
Above suggest and comment on this base protocol in development!

@engr0001
Copy link

engr0001 commented Mar 3, 2024

It would be also great if we could alert certain events via Telegram

@0x0Saint
Copy link

well, have you tried s.th in practice with this solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants