8.md

September 28, 2022 ยท View on GitHub

Bypass Contract Size Check

Description:

It is possible to create a contract with code size returned by extcodesize equal to 0. This can lead to bypass of 0-address check in a contract, which may lead to lost of fund or locking of funds.

References:

https://solidity-by-example.org/hacks/contract-size/

Contents

  1. 1Bypass Contract Size Check
  2. 1.1Description:
  3. 1.2References: