Lucene search

K
code423n4Code4renaCODE423N4:2023-04-FRANKENCOIN-FINDINGS-ISSUES-935
HistoryApr 19, 2023 - 12:00 a.m.

Position ownership could be transferred to zero address

2023-04-1900:00:00
Code4rena
github.com
7
ownership transfer
zero address
collateral loss
2 step transfer
openzeppelin contract

Lines of code

Vulnerability details

Impact

Ownership of a Position could be transferred to zero address. This is usually caused by mistake but the consequence is loss of collateral.

Proof of Concept

The position owner calls transferOwnership but accidentally set newOwner address to 0x0.

Tools Used

Manual review

Recommended Mitigation Steps


The text was updated successfully, but these errors were encountered:

All reactions