QA Report #81
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sponsor disputed
Sponsor cannot duplicate the issue, or otherwise disagrees this is an issue
Lines of code
https://github.com/skalenetwork/ima-c4-audit/blob/main/contracts/schain/CommunityLocker.sol#L209-L231
Vulnerability details
Impact
The
setGasPrice()
function is used to configure themainnetGasPrice
andgasPriceTimestamp
on the relevant Schain. While the function would typically perform proper BLS signature verification, this has been commented out and hence any user can call this function to configure the values to any arbitrary amount.Proof of Concept
Tools Used
Manual code review.
Recommended Mitigation Steps
Consider performing the necessary signature verification on this function.
The text was updated successfully, but these errors were encountered: