[Wrapping] Security Analysis

Tracks tasks associated with identifying security considerations for the wrapping component.

Security Considerations

Component

Vulnerability

Description

Implications

Next steps / Status

Component

Vulnerability

Description

Implications

Next steps / Status

fio.erc20

fio.erc721

General solidity vulnerabilities

The following site lists several solidity hacks/vulnerabilities that should be reviewed and considered.

HackPedia: 16 Solidity Hacks/Vulnerabilities, their Fixes and Real World Examples

Solidity hacks could result in minting of WFIO without wrapping.

Complete

fio.oracle

Compromised keys

Outside of the general risks to the erc20 and erc721 contracts, the main risk for Oracles is that their signing keys somehow compromised and can be used to send approvals to the FIO and Solidity contracts.

The fio.oracle javascript code has not been audited. This code should only be run in a protected environment on Oracle servers. The keys are held in environment variables that, if compromised, would allow a hacker to approve illegitimate transactions

Could result in unauthorized minting and wrapping.