Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 537 Bytes

unprotected-ether-withdrawal.md

File metadata and controls

8 lines (5 loc) · 537 Bytes

Unprotected Ether Withdrawal

Without adequate access controls, bad actors may be able to withdraw some or all Ether from a contract. This can be caused by misnaming a function intended to be a contructor, giving anyone access to re-initialize the contract. To avoid this vulnerability, only allow withdrawals to be triggered by those authorized, or as intended, and name your constructor appropriately.

Sources