DeFiVulnLabs icon indicating copy to clipboard operation
DeFiVulnLabs copied to clipboard

To learn common smart contract vulnerabilities using Foundry!

Results 4 DeFiVulnLabs issues
Sort by recently updated
recently updated
newest added

In Reentrancy.sol we have contracts EtherStore and EtherStoreRemediated but in tests we have 4 contracts additional two attack and attackRemediated I cant locate 2 additional contracts . Is there any...

how about move test directory to project's root directory . according to [this](https://book.getfoundry.sh/projects/project-layout) of course it is also possible to put it in the current src/test directory.

The code in [return-break.sol](https://github.com/SunWeb3Sec/DeFiVulnLabs/blob/main/src/test/return-break.sol) may not present significant issues if it’s simply intended to demonstrate the difference between return and break. However, from a business logic perspective, the example is...