Beginner FriendlyFoundryDeFi
100 EXP
View results
Submission Details
Severity: high
Valid

Backend server does not take into account unstake amounts to reduce user points.

Description

The backend server only listens to one specific event and does not track unstake events. As a result, when someone unstakes, it does not impact the points calculation.

Impact

A user can repeatedly stake and unstake to artificially inflate their awarded points.

Proof of Concepts

Backend sever only listen Stake events, therefore doesn't way to reduce the points balance if somebody unstake.

Recommended mitigation

Add listener for Unstake event and add logic to reduce the points balance.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Steaking server is not taking unstakes into account

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.