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

DoS attack vectors on kami RPC endpoint #66

Open
4 tasks
zemse opened this issue Sep 21, 2020 · 0 comments
Open
4 tasks

DoS attack vectors on kami RPC endpoint #66

zemse opened this issue Sep 21, 2020 · 0 comments

Comments

@zemse
Copy link
Contributor

zemse commented Sep 21, 2020

  • A Kami should cache responses to compute bunch proposal in some way urgently
  • There is a method that computes a bunch proposal. It should only do that from the next start block number instead of any random one. This can prevent lot of possibilities of computation. Like it could be triggered for every block.
  • Make fetch blocks RPC method private if it isn't
  • Store the cache in storage later on.

These precautions majorly reduce DoS attack damage, but past this, there is still some scope that can be seen later on as it requires more thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant