Skip to content

Code4rena

Swivel v3 contest

Every publicly disclosed report for Swivel v3 contest and what kind of bugs they were.

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

Disclosed reports

Newest first. Only what Swivel v3 contest chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
ERC20 Incorrect check on returnedAddress in permit() results in unlimited approval of zero address Access control Medium – – – 29 Sep 2022
Interface definition error Smart contracts Medium – – – 29 Sep 2022
ZcToken.withdraw will send user 0 tokens if called after maturity deadline but before market is set mature Business logic Medium – – – 29 Sep 2022
Swivel.setFee() is implemented wrongly. Business logic Medium – – – 29 Sep 2022
Mismatch in withdraw() between Yearn and other protocols can prevent Users from redeeming zcTokens and permanently lock funds Business logic High – – – 29 Sep 2022
VaultTracker has the wrong admin Access control Medium – – – 29 Sep 2022
unpaused(p) modifier missing in authRedeem function Business logic Medium – – – 29 Sep 2022
Loss of funds in an underlying protocol would cause catostrophic loss of funds for swivel Business logic Medium – – – 29 Sep 2022
Should use >= instead of > Smart contracts Medium – – – 29 Sep 2022
VaultTracker miscalculates compounding interest Smart contracts Medium – – – 29 Sep 2022
Error in allowance logic Business logic Medium – – – 29 Sep 2022
With most functions in VaultTracker.sol, users can call them only once after maturity has been reached. Smart contracts Medium – – – 29 Sep 2022
Yearn vault integration is broken Business logic Medium – – – 29 Sep 2022
Missing event & timelock for critical onlyAdmin functions Access control Medium – – – 5 Nov 2021
Swivel: implementation for initiateZcTokenFillingZcTokenExit is incorrect Business logic Medium – – – 5 Nov 2021
transferNotionalFrom doesn’t check from != to Business logic High – – – 5 Nov 2021
fee-on-transfer underlying can cause problems Business logic Medium – – – 5 Nov 2021
Admin is a single-point of failure without any mitigations Access control Medium – – – 5 Nov 2021
Previously created markets can be overwritten Business logic Medium – – – 5 Nov 2021
Unsafe handling of underlying tokens Business logic High – – – 5 Nov 2021
Swivel: Taker is charged fees twice in exitVaultFillingVaultInitiate Business logic High – – – 5 Nov 2021
return value of 0 from ecrecover not checked Smart contracts High – – – 5 Nov 2021