Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/02/07 12:00 a.m.19 views

First depositor for the Vault can be front-run and have part of their deposit stolen

Lines of code Vulnerability details Description The first deposit with a totalSupply of zero shares will mint shares equal to the deposited amount. File: src/vault/Vault.sol 298: supply == 0 299: ? assets 300: : assets.mulDivsupply, totalAssets, Math.Rounding.Down; Link to Code File:...

6.7AI score
SaveExploits0
Rows per page
Query Builder