Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]Audit-Code4rena-2024-12: Compare the different files With Fix #10

Open
wants to merge 87 commits into
base: audit/code4rena
Choose a base branch
from

Conversation

thorseldon
Copy link
Contributor

@thorseldon thorseldon commented Dec 2, 2024

  • This PR including all fix for the audit 2024-07;

  • Adding src/oracles/EETHPriceAdapter.sol;

  • Adding src/oracles/SUSDSPriceAdapter.sol;

  • Changing src/PriceOracle.sol;

  • Changing src/irm/DefaultInterestRateModel.sol;

  • Adding src/yield/susds/YieldSavingsUSDS.sol which is based on the src/yield/sdai/YieldSavingsDai.sol;;

  • Adding src/yield/wusd/YieldWUSDStaking.sol which is based on the src/yield/YieldStakingBase.sol;

  • Files

src/PriceOracle.sol
src/oracles/EETHPriceAdapter.sol
src/oracles/SUSDSPriceAdapter.sol
src/irm/DefaultInterestRateModel.sol
src/libraries/logic/InterestLogic.sol
src/libraries/logic/IsolateLogic.sol
src/libraries/logic/LiquidationLogic.sol
src/libraries/logic/PoolLogic.sol
src/libraries/logic/ValidateLogic.sol
src/libraries/logic/VaultLogic.sol
src/libraries/logic/YieldLogic.sol
src/migrations/BendV1Migration.sol
src/modules/BVault.sol
src/modules/CrossLending.sol
src/modules/IsolateLending.sol
src/modules/Yield.sol
src/yield/YieldAccount.sol
src/yield/YieldRegistry.sol
src/yield/YieldStakingBase.sol
src/yield/etherfi/YieldEthStakingEtherfi.sol
src/yield/lido/YieldEthStakingLido.sol
src/yield/sdai/YieldSavingsDai.sol
src/yield/susds/YieldSavingsUSDS.sol
src/yield/wusd/YieldWUSDStaking.sol

thorseldon and others added 30 commits July 25, 2024 10:52
…ng contract #10; unstake/repay , when botAdmin call , use yieldAccounts[msg.sender] is wrong #37;
…n the configurator module #5;

Updating fee factor may create issues for the protocol #7;
…o vulnerable implementation in IsolateLogic::executeIsolateLiquidate #12;
…rrect accounting of assetData or DOS liquidation. #13;

Anyone can get the NFT collateral token after an Auction without bidding due to missing check on msg.sender #14;
… asset / staker level yield cap checks #15; executeYieldBorrowERC20() checking yieldCap wrong #35;
…eldAccount.sol is incompatible with ether.fi's WithdrawRequestNFT.sol #19;
… may result in the unstake exceeding MAX_STETH_WITHDRAWAL_AMOUNT, resulting in the token not being retrieved. #36;
@thorseldon thorseldon changed the base branch from audit/code4rena to audit/code4rena-fix-2024-07 December 2, 2024 09:49
@thorseldon thorseldon changed the title [WIP]Audit: Compare the different files [WIP]Audit-Code4rena-2024-12: Compare the different files Dec 2, 2024
@thorseldon thorseldon changed the base branch from audit/code4rena-fix-2024-07 to audit/code4rena December 9, 2024 01:26
@thorseldon thorseldon changed the title [WIP]Audit-Code4rena-2024-12: Compare the different files [WIP]Audit-Code4rena-2024-12: Compare the different files with Fix Dec 9, 2024
@thorseldon thorseldon changed the title [WIP]Audit-Code4rena-2024-12: Compare the different files with Fix [WIP]Audit-Code4rena-2024-12: Compare the different files With Fix Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant