Hunt prep
Before you test Salty.IO
What 37 disclosed reports say about Salty.IO: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 24 | 0 | – | – | $0 |
| DoS lesson | 6 | 0 | – | – | $0 |
| Smart contracts lesson | 4 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Remove Liquidity has missing reserve1 DUST check, which can make reserve1 to be less than DUST
The check was fixed to verify both reserve0 and reserve1 against DUST.
Disclosed
-
No proposal time limit traps sponsors of unpopular proposals
The project added a default 30-day period after which ballots can be removed by any user.
Disclosed
-
_getUniswapTwapWei() will show incorrect price for negative ticks cause it doesn’t round up for negative ticks
The code was fixed to round down for negative ticks as suggested.
Disclosed
-
Incorrect calculation to check remaining ratio after reward in StableConfig.sol
The calculation should compute the reward as a percentage of the collateral ratio (e.g., minimumCollateralRatioPercent * rewardPercent / 100) and the default minimum collateral ratio should be raised to 111; the protocol later removed the stablecoin framework entirely.
Disclosed
-
Caller of Upkeep may skip step 11 to save gas
The function should check that sufficient gas is sent at the start of the call.
Disclosed
-
When forming POL the DAO will end up stucked with DAI and USDS tokens that cannot handle
The DAO contract was updated to use available token balances when forming POL, and later POL was removed from the protocol entirely.
Disclosed
-
Chainlink price feed uses BTC, not WBTC. In case of depegging, oracles will become easier to manipulate
The protocol removed the stablecoin framework, price feeds and related components, and the mitigation was confirmed.
Disclosed
-
StakingRewards pools are not given their promised share of rewards due to incorrect calculation
Store the eligible pool reward and the already paid out reward in separate variables and compare them to ensure the correct daily percentage is disbursed regardless of upkeep frequency.
Disclosed
-
Salt Rewards - Rewards related to Arbitrage profits for pools can be lost
Step 7 should not proceed if step 5 fails, or the clearing of profits should be conditional on successful distribution.
Disclosed
-
changeWallets() can be confirmed immediately after proposalWallets() by manipulating activeTimelock beforehand
The receive function should require that an active proposal exists before it can start the timelock; the project ultimately removed the managed wallet contract.
Disclosed
-
Incorrect assumption in PoolMath.sol can cause underflow when zapping is used
The fix was to remove scaling from zapping, as confirmed by the protocol team.
Disclosed
-
formPOL lacks slippage and deadline protection
The protocol removed POL entirely as a mitigation, as confirmed by the status 'Mitigation confirmed'.
Disclosed
-
Attacker Can Inflate LP Position Value To Create a Bad Debt Loan
The protocol removed USDS and the stablecoin framework, which was confirmed as a mitigation.
Disclosed
-
Some rewards from POL will not be send to team wallet nor burned
The protocol removed POL from the protocol, which mitigates the issue.
Disclosed
-
First depositor can break staking-rewards accounting
The fix was to change virtualRewards and userShare from uint128 to uint256, preventing overflow.
Disclosed