Skip to content

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
Find Swaylend on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Swaylend chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Market.collateral_value_to_sell will always revert if collateral_configuration.decimals < storage.market_configuration.base_token_decimals Smart contracts Low – – – 22 Oct 2024
Market.update_collateral_asset should reuse old configuration's asset_id Business logic Informational – – – 21 Oct 2024
Absorb_internal might be DOSed DoS Medium – – – 21 Oct 2024
Permanent freezing of tokens when user sends extra tokens as update fee Business logic High – – – 20 Oct 2024
Recipient with a NULL address will lead to permanent loss of minted coins Business logic Informational – – – 19 Oct 2024
Market.update_market_configuration should reuse old configuration's base_token.decimals Business logic Informational – – – 17 Oct 2024
Truncation in the present_value_borrow() can lead to loss of accrued borrow interests. – Medium – – – 16 Oct 2024
Incorrect event name Business logic Informational – – – 15 Oct 2024
If the collateral token''s decimal is <= the base token decimal in a market, collateral_value_to_sell() will always revert & available_to_borrow() will return a wrong amount tha Business logic Low – – – 12 Oct 2024
Users will lose funds on calls to critical functions if the prices are not updated Business logic High – – – 11 Oct 2024
Permissonless constructor always for front-running owner initialization. Access control Medium – – – 10 Oct 2024
By bypassing base_borrow_min limitation borrows can create inabsorbable loans Business logic High – – – 10 Oct 2024
Market.present_value_borrow should be roundUp – Medium – – – 9 Oct 2024
Market.absorb can be called when Market.supply_collateral is paused Business logic Informational – – – 8 Oct 2024
Src-20.burn should use "==" instead of ">=" Smart contracts High – – – 8 Oct 2024
Market.set_pyth_contract_id should emit an event Smart contracts Informational – – – 7 Oct 2024
Constanct value is used to check price.confidence – Critical – – – 7 Oct 2024
Unhandled smaller base decimals than 6 or bigger than the collateral's decimals Business logic Low – – – 6 Oct 2024
Market::available_to_borrow() compares the collateral in USD against the borrow in base units Business logic Low – – – 6 Oct 2024
Loss of yield to the protocol due to incorrect interest rate applied Business logic Critical – – – 6 Oct 2024
User loss due to Pyth oracle update fee being smaller than the msg amount sent Business logic High – – – 6 Oct 2024
Withdrawals can not be paused which could lead to protocol insolvency in case of issues Business logic Low – – – 5 Oct 2024
Users can withdraw collateral even when the admin pauses the contract. Business logic Low – – – 5 Oct 2024
Adding too many collaterals will halt the protocol operation DoS Informational – – – 4 Oct 2024
Incorrect Pyth Oracle Price Feed Process Leads to Wrong Collateral Value Calculation Smart contracts Critical – – – 3 Oct 2024