Immunefi
Swaylend
Every publicly disclosed report for Swaylend and what kind of bugs they were.
- disclosed reports
- 25
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2024
Disclosed reports
Newest first. Only what Swaylend chose to make public.
-
Market.update_collateral_asset should reuse old configuration's asset_id
Business logic Informational Audit finding
-
Absorb_internal might be DOSed
DoS Medium Audit finding
-
Permanent freezing of tokens when user sends extra tokens as update fee
Business logic High Audit finding
-
Recipient with a NULL address will lead to permanent loss of minted coins
Business logic Informational Audit finding
-
Market.update_market_configuration should reuse old configuration's base_token.decimals
Business logic Informational Audit finding
-
Incorrect event name
Business logic Informational Audit finding
-
Users will lose funds on calls to critical functions if the prices are not updated
Business logic High Audit finding
-
Permissonless constructor always for front-running owner initialization.
Access control Medium Audit finding
-
By bypassing base_borrow_min limitation borrows can create inabsorbable loans
Business logic High Audit finding
-
Market.present_value_borrow should be roundUp
Medium Audit finding
-
Market.absorb can be called when Market.supply_collateral is paused
Business logic Informational Audit finding
-
Src-20.burn should use "==" instead of ">="
Smart contracts High Audit finding
-
Market.set_pyth_contract_id should emit an event
Smart contracts Informational Audit finding
-
Constanct value is used to check price.confidence
Critical Audit finding
-
Unhandled smaller base decimals than 6 or bigger than the collateral's decimals
Business logic Low Audit finding
-
Market::available_to_borrow() compares the collateral in USD against the borrow in base units
Business logic Low Audit finding
-
Loss of yield to the protocol due to incorrect interest rate applied
Business logic Critical Audit finding
-
User loss due to Pyth oracle update fee being smaller than the msg amount sent
Business logic High Audit finding
-
Withdrawals can not be paused which could lead to protocol insolvency in case of issues
Business logic Low Audit finding
-
Users can withdraw collateral even when the admin pauses the contract.
Business logic Low Audit finding
-
Adding too many collaterals will halt the protocol operation
DoS Informational Audit finding
-
Incorrect Pyth Oracle Price Feed Process Leads to Wrong Collateral Value Calculation
Smart contracts Critical Audit finding