sherlock-audit / 2023-10-real-wagmi-judging

16 stars 14 forks source link

phenom - Missing Reentrancy Guard in Functions with Transfer Hooks #161

Closed sherlock-admin closed 11 months ago

sherlock-admin commented 11 months ago

phenom

medium

Missing Reentrancy Guard in Functions with Transfer Hooks

[M-3] Missing Reentrancy Guard in Functions with Transfer Hooks

Impact:

Not protecting functions with transfer hooks using a reentrancy guard can expose the protocol to read-only reentrancy vulnerabilities.

Instances (1):

File: LiqBorrowingMan/abstract/ApproveSwapAndPay.sol

190:                 IERC20(token).safeTransferFrom(payer, recipient, value);