The staking rewards contract calculates virtual rewards using a ratio that the first depositor can manipulate by donating SALT tokens, causing the virtual rewards to exceed the uint128 limit and break the reward accounting. This allows the sum of claimable rewards to exceed the contract's SALT balance, leading to failed claims and loss of yield.
The removeLiquidity function checked reserve0 twice instead of checking both reserve0 and reserve1 against the DUST threshold. An attacker could remove liquidity such that reserve1 falls below DUST, causing swaps and related functions to revert and potentially manipulating the pool ratio.
A staker can sponsor only one active proposal at a time, and if that proposal never reaches quorum it cannot be finalised or cancelled, so the staker is permanently blocked from creating new proposals. An attacker could exploit this by sponsoring a proposal that is unlikely to reach quorum, trapping the sponsor.
The Uniswap TWAP price function truncates the tick toward zero instead of rounding down for negative ticks, so when the tick cumulative difference is negative and not divisible by the interval, the returned tick is too high. This can produce an incorrect price, enabling price manipulation and arbitrage, and may cause pricing logic to revert.
The contract's check for the remaining collateral ratio after liquidation rewards used a subtraction instead of a percentage calculation, so the actual buffer could fall below the intended 105% of the borrowed amount. This could leave the position less protected against market volatility than the protocol intended.
The upkeep function runs multiple steps in try/catch blocks, and a caller can supply just enough gas to complete steps 1–10 but not step 11, so step 11 reverts and is caught while the caller still receives the 5% incentive. This lets the caller save gas and skip sending SALT from the team vesting wallet to the team.
The DAO contract cannot handle tokens other than SALT, so when forming POL during upkeep, leftover USDS and DAI tokens are sent back to the DAO and become stuck forever. An attacker could not directly exploit this, but the DAO loses funds.
The protocol used the Chainlink BTC/USD price feed as the price of WBTC, which is a different asset that can depeg from BTC. If WBTC depegs, an attacker could flash-loan WBTC, skew the Salty pool spot price to match the incorrect Chainlink price, and manipulate the aggregated oracle to liquidate healthy positions.
The RewardsEmitter contract calculates each pool's reward share by multiplying the current pending rewards by a daily percentage, then subtracting that amount from pending rewards. Because the percentage is applied to a shrinking balance, the total distributed over time is less than intended, and frequent upkeep calls further reduce the daily payout.
The upkeep process converts arbitrage profits from WETH to SALT in step 5, but if that swap fails, step 7 still clears the recorded profits for pools without distributing the corresponding SALT rewards. This can cause liquidity providers to lose their share of arbitrage profits, which may later be misallocated to other pools.
The 30-day timelock on wallet changes could be bypassed because the confirmation wallet could start the timelock before any proposal existed. An attacker controlling the current wallets could then propose and immediately confirm new wallets, skipping the intended delay.
The smart contract's zap swap calculation assumes that after right-shifting large numbers to fit within 80 bits, the condition r1 * z0 > r0 * z1 still holds, but shifting can reduce z0 to zero, causing an underflow and a revert. An attacker could trigger this by calling depositLiquidityAndIncreaseShare with useZapping set to true and specific amounts, causing the transaction to fail.
The formPOL function lacked slippage and deadline protection when depositing liquidity, allowing an attacker to sandwich the deposit and cause the protocol to lose funds. The issue was acknowledged but the protocol removed POL entirely as a mitigation.
The value of a liquidity position was calculated from the pool's current token reserves, which an attacker could manipulate by trading to push the reserve ratio away from the correct ratio, inflating the position's apparent value. The attacker could then use this inflated LP position as collateral to borrow more USDS than the position was really worth, creating bad debt.
When the DAO's POL is withdrawn during upkeep, the rewards earned are sent to the DAO but not distributed to the team wallet or burned as intended. An attacker could cause some rewards to be stuck, preventing the team from receiving its share and reducing the burn.
The initial liquidity share calculation used x + y instead of the geometric mean, making the minShares slippage parameter ineffective for the first deposit. An attacker could front-run the first depositor to inflate shares and manipulate the exchange rate, causing the victim to lose most of their tokens.
When the Chainlink price feed has not updated within its 60-minute heartbeat, the protocol falls back to a spot price derived from pool reserves, which an attacker can skew by swapping tokens. This makes the two remaining price feeds diverge beyond the allowed threshold, causing PriceAggregator calls to revert.
A check meant to prevent duplicate confirmation proposals can be abused by creating a proposal whose ballot name ends in '_confirm', which then blocks legitimate proposals for the same change. An attacker can repeatedly prevent updates to price feed contracts and website URLs, disrupting DAO operations.
The minimum collateral check was enforced only when borrowing USDS, not when withdrawing collateral, so a user could open a small loan and then withdraw collateral to fall below the threshold. This could leave small loans unliquidated, potentially causing bad debt in the protocol.
The VestingWallet contract's release() function lacks access control, allowing anyone to call it and release SALT tokens to the Upkeep contract. Since Upkeep's performUpkeep() only transfers the amount it calculates as releasable, any tokens released early become locked in Upkeep, preventing the development team from receiving them.
The first liquidity provider to stake in an empty pool receives no virtual rewards deduction, allowing them to claim all accumulated staking rewards. An attacker could deposit a small amount and then claim the entire pool's rewards, up to 5.5k SALT initially.
The protocol's price aggregator uses a manipulable spot price from CoreSaltyFeed, allowing an attacker to move the price cheaply and cause undesired liquidations. An attacker can profit from liquidation rewards while honest liquidators cannot act.
A user facing liquidation could front-run the liquidation transaction by depositing a tiny amount of collateral, which resets their cooldown timer and causes the liquidation to revert. This allowed the user to evade liquidation and potentially leave the system with bad debt.
When a borrower repays USDS, the tokens are sent to the USDS token contract instead of the Liquidizer contract, so the Liquidizer's balance never increases even though its burnable-USDS counter does. An attacker can repeatedly borrow and repay to inflate that counter, forcing the protocol to sell its own liquidity to cover the shortfall and eventually leaving bad debt uncovered.
The staking contract rounds down the virtual rewards to remove when a user decreases their share, so a user can choose a very small decrease amount that makes this value zero and claim rewards that should not be claimable. This lets the user withdraw more rewards than they are entitled to.
The DAO contract does not handle a revert from an external contract call when executing an approved ballot, so the ballot cannot be marked as finalized. This leaves the proposer with an active proposal, preventing them from creating new proposals.
The token whitelisting proposal function enforces a cap on the number of open proposals, so once that cap is reached no new whitelisting proposals can be created. An attacker or group of users could fill the queue with fake token proposals, blocking genuine tokens from being proposed and disrupting protocol functionality.
The liquidation function reverts when removing a borrower's collateral would leave pool reserves below a minimum threshold, so if a single user holds all the USDS debt, they cannot be liquidated. An attacker could borrow the maximum USDS and avoid liquidation even if their collateral value crashes, causing bad debt for the protocol.
SI
Salty.IO
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.