Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants