Boost _ Folks Finance 33687 - [Smart Contract - Medium] Loan creation can be frontrun preventing the
Description
Brief/Intro
Vulnerability Details
SpokeCommon.sol
function createLoan(
Messages.MessageParams memory params,
bytes32 accountId,
@> bytes32 loanId,
uint16 loanTypeId,
bytes32 loanName
) external payable nonReentrant {
_doOperation(params, Messages.Action.CreateLoan, accountId, abi.encodePacked(loanId, loanTypeId, loanName));
}Impact Details
References
Recommendation
Proof of concept
Proof of Concept
PreviousBoost _ Folks Finance 33684 - [Smart Contract - Critical] Lack of available liquidity check when senNextBoost _ Folks Finance 33694 - [Smart Contract - Medium] stableBorrowRates are manipulatable through
Last updated
Was this helpful?