Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 593 Bytes

094.md

File metadata and controls

22 lines (17 loc) · 593 Bytes

Clever Tweed Barracuda

medium

use of onlyRole(SETTER_ROLE) modifier

Summary

Not use of onlyRole(SETTER_ROLE) modifier in setSymmioVaultTokenAddress

Vulnerability Detail

we are not using onlyRole(SETTER_ROLE) in setSymmioVaultTokenAddress.

Impact

function setSymmioVaultTokenAddress( address _symmioVaultTokenAddress we are not using onlyRole(SETTER_ROLE) modifer

Code Snippet

https://github.com/sherlock-audit/2023-12-symm-io/blob/main/solver-vaults/contracts/SolverVaults.sol#L138

Tool used

Manual Review

Recommendation

use of onlyRole(SETTER_ROLE) modifier