Skip to content

Code4rena

Putty

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

disclosed reports
20
most reported class
Business logic
bug classes found
5
Find Putty on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Putty chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Use of Solidity version 0.8.13 which has two known issues applicable to PuttyV2 Smart contracts Medium – – – –
Zero strike call options will avoid paying system fee Business logic Medium – – – –
Order cancellation is prone to frontrunning and is dependent on a centralized database Business logic Medium – – – –
Order duration can be set to 0 by Malicious maker Business logic Medium – – – –
Options with a small strike price will round down to 0 and can prevent assets to be withdrawn DoS Medium – – – –
fee can change without the consent of users Business logic Medium – – – –
Putty position tokens may be minted to non ERC721 receivers Access control Medium – – – –
The contract serves as a flashloan pool without fee Race condition Medium – – – –
Overlap Between ERC721.transferFrom() and ERC20.transferFrom() Allows order.erc20Assets or order.baseAsset To Be ERC721 Rather Than ERC20 Business logic Medium – – – –
An attacker can create a short put option order on an NFT that does not support ERC721 (like cryptopunk), and the user can fulfill the order, but cannot exercise the option Business logic Medium – – – –
[Denial-of-Service] Contract Owner Could Block Users From Withdrawing Their Strike DoS Medium – – – –
fillOrder() and exercise() may lock Ether sent to the contract, forever Business logic Medium – – – –
Put options are free of any fees Business logic Medium – – – –
Put option sellers can prevent exercise by specifying zero amounts, or non-existant tokens Business logic Medium – – – –
Unbounded loops may cause exercise() s and withdraw() s to fail DoS Medium – – – –
Malicious Token Contracts May Lead To Locking Orders Business logic Medium – – – –
Zero strike call options can be systemically used to steal premium from the taker Business logic High – – – –
Create a short call order with non empty floor makes the option impossible to exercise and withdraw Business logic High – – – –
acceptCounterOffer() May Result In Both Orders Being Filled Race condition High – – – –
Fee is being deducted when Put is expired and not when it is exercised. Business logic High – – – –