The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: high
Valid

Unrestricted Access to distributeAssets Function

Summary

distributeAssets function which is intended to distribute assets to TST holders is not restricted / lacks access control.

Vulnerability Details

The distributeAssets function handles some crucial operations, including assets distribution and token burning got no accessibility restrictions currently and is unprotected. This function distributes assets to the TST \ EUROs holders on the basis of amount of stake they hold

Tools Used

Manual review

Recommendations

use the onlyManager modifier same as distributeFees to ensure only the poolManager can execute this function

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

distributeAssets-issue

Support

FAQs

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