Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 592 Bytes

49.md

File metadata and controls

12 lines (8 loc) · 592 Bytes

Unprotected SELFDESTRUCT Instruction

Description

Due to missing or insufficient access controls, malicious parties can self-destruct the contract.

Remediation

Consider removing the self-destruct functionality unless it is absolutely required. If there is a valid use case, it is recommended to implement a multisig scheme so that multiple parties must approve the self-destruct action.

References:

https://swcregistry.io/docs/SWC-106

Parity Incident