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

Insecure Backend Server Points allocation.

Description:

The Steak protocol uses a backend server to allocate points to users based on the amount of ETH staked in the steaking contract. This centralized approach to points allocation introduces potential risks, as the backend server becomes a critical point of failure. If compromised or manipulated, it could result in incorrect point allocations, leading to unfair advantages for some users and undermining the integrity of the points-based reward system.

Impact:

If the backend server is compromised, attackers could artificially inflate their point balances, making them eligible for a disproportionately large share of the future $STEAK token airdrop. This could lead to significant financial losses for honest participants and damage the protocol's reputation.

Proof of Concept:

  1. A malicious attacker gains access to the backend server responsible for the points allocation.

  2. The attacker modifies the points allocation logic to favor their own or associated addresses.

  3. As a result, the attacker accrues an unfairly large number of points, increasing their share of the $STEAK token airdrop.

Recommended Mitigation:

Implement a decentralized oracle service to manage the points allocation process. The oracle can fetch and verify relevant staking data on-chain, ensuring that the allocation of points is transparent and tamper-proof. This approach would minimize reliance on a centralized server, thereby reducing the risk of manipulation or unfair distribution of rewards.

Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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