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

Withdrawal script potential vulnerability at deregister #2

Open
HinsonSIDAN opened this issue Aug 23, 2024 · 0 comments
Open

Withdrawal script potential vulnerability at deregister #2

HinsonSIDAN opened this issue Aug 23, 2024 · 0 comments

Comments

@HinsonSIDAN
Copy link
Member

There are 2 easiest solution in handling staking script deregistering:

  1. Disallow reregistering
  2. Same treatment as withdrawal

Disallow registering lead to permanent lock at registering (2ADA per script)
Same treatment as withdrawal offers vulnerability at emergency scripts since users can deregister on its own

Potential workaround is to restrict deregistering by app owner only

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