Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/04/13 12:0 a.m.12 views

A hacker can front-run the owner of a PrivatePool to drain the pool

Lines of code Vulnerability details Impact A hacker can sandwitch calls to setVirtualReserves or setMerkleRoot in a private pool and make an instant profit at the expense of the owner. For example, the hacker sees that there is a setVirtualReserves transaction in the mempool that will make the NF...

7.1AI score
SaveExploits0
Code423n4
Code423n4
added 2022/07/14 12:0 a.m.11 views

merkleRoot can be set by delegatecall(), violate setMerkelRoot()

Lines of code Vulnerability details Impact When delegatecall to target, the context is on Caller contract, all state change logics reflect on Caller’s storage. If the Vault contract calls the malicious contract by function execute,the important storage variable merkleRoot can be modified. Accordi...

7AI score
SaveExploits0
Rows per page
Query Builder