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