Skip to content

Code4rena

Visor Finance

Every publicly disclosed report for Visor Finance and what kind of bugs they were.

disclosed reports
7
most reported class
Business logic
bug classes found
3
first disclosure
2021
Find Visor Finance on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Visor Finance chose to make public.

DoS

Unbounded loop in _removeNft could lead to a griefing/DOS attack

The vault's _removeNft function loops over a single shared array of NFTs until it finds the one to remove, and anyone can push NFTs into that array through the permission-less onERC721Received callback. A malicious NFT contract could flood the array and then revert on every transfer, so other users' unlock and transfer transactions consume huge amounts of gas or fail outright.

Visor Finance

High
Access control

Approval for NFT transfers is not removed after transfer

The Visor contract's transferERC721 function does not clear the approval for an NFT after transferring it. An approved delegatee can move the NFT out of the contract once, and if the NFT is later re-deposited, the same delegatee can steal it again.

Visor Finance

High
DoS

timelockERC721Keys could exceed the block size limit

The function that loops over all timelocked ERC721 token IDs could exceed the block gas limit if the collection grows large, causing transactions to fail. An attacker could not directly exploit this, but a successful project with many NFTs might make the function unusable.

Visor Finance

Medium