Skip to content
RED SAG Skills
hard20 pts · first answer countssmart-contract-securitydefirounding

The first depositor attack

In a new ERC-4626 vault, an attacker deposits 1 wei, then transfers 10,000 USDC directly to the vault. A victim then deposits 9,000 USDC. With round-down share math and no protection, what does the victim get?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions