Code4rena
SecondSwap
Every publicly disclosed report for SecondSwap and what kind of bugs they were.
- disclosed reports
- 23
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2025
Disclosed reports
Newest first. Only what SecondSwap chose to make public.
-
SecondSwap_Marketplace vesting listing order affects how much the vesting buyers can claim at a given step
Business logic High Audit finding +30 collaborators
-
transferVesting creates an incorrect vesting for new users when they purchase a vesting, because stepsClaimed is the same for all sales, allowing an attacker to prematurely unlock too many tokens
Business logic High Audit finding +50 collaborators
-
Incorrect listing type validation bypasses enforcement of minimum purchase amount
Business logic Medium Audit finding +32 collaborators
-
MarketPlace Change In Vesting Manager, Leads To Loss Of Previous MarketPlace Listing
Business logic Medium Audit finding +5 collaborators
-
Tokens that have already been vested can be transferred from a user.
Business logic Medium Audit finding
-
maxSellPercent will be broken when a vesting is delisted after a seller has claimed additional steps
Business logic Medium Audit finding
-
Price Granularity Limited by Payment Token Decimals: Cannot List Tokens Cheaper than 0.000001 USDT
Business logic Medium Audit finding +1 collaborator
-
maxSellPercent can be buypassed by selling previously bought vestings at a later time
Business logic Medium Audit finding +22 collaborators
-
Underflow in claimable DOSing claim Function
DoS Medium Audit finding +9 collaborators
-
Unauthorized increase of maxSellPercent
Business logic Medium Audit finding +2 collaborators
-
buyFee And sellFee Should Be Known Before Purchase
Business logic Medium Audit finding +6 collaborators
-
Outdated penalty fee gets charged if the penalty fee has changed since listing
Business logic Medium Audit finding +2 collaborators
-
Users can prevent being reallocated by listing to marketplace
Business logic Medium Audit finding +6 collaborators
-
Missing sellable check in completePurchase will cause a user to buy a token marked as unsellable by S2ADMIN if it was listed beforehand
Business logic Medium Audit finding +7 collaborators
-
Unlisting a vesting after seller has claimed additional steps locks tokens which should have been claimable already
Business logic Medium Audit finding
-
Missing option to remove tokens from the isTokenSupport mapping can result in huge financial loss for users and the protocol
Business logic Medium Audit finding +7 collaborators
-
Incorrect referral fee calculations
Business logic Medium Audit finding +49 collaborators
-
In transferVesting , the grantorVesting.releaseRate is calculated incorrectly, which leads to the sender being able to unlock more tokens than were initially locked.
Smart contracts High Audit finding +11 collaborators
-
Creator of one vesting plan can affect vesting plans created by other users.
Access control Medium Audit finding +21 collaborators
-
Listing potential can not be purchased with discounted price
Business logic Medium Audit finding +27 collaborators
-
Rounding error in stepDuration calculations.
Smart contracts Medium Audit finding +23 collaborators
-
Possible DoS scenario when transferring vests to another address
DoS Medium Audit finding +1 collaborator