Hunt prep
Before you test USG - Tangent
What 16 disclosed reports say about USG - Tangent: 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 | 8 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Smart contracts 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.
-
Incorrect assumption that one (1) Pendle SY token equals one (1) Yield Token in oracle pricing
The oracle should use the real SY-to-yield-token exchange rate rather than assuming a 1:1 peg; the team acknowledged the issue but said it will not be fixed at this time.
Disclosed
-
Caller supplied `ControlTower` lets anyone be the migrator
The protocol team fixed this issue in a pull request.
Disclosed
-
Incorrect assumption of fixed 1e18 scaling in Pendle PT Oracle Rate
The protocol team fixed this issue in a pull request.
Disclosed
-
There is no way for the `admin` to sweep `rewards` lost due to precision
A sweep function should be added so the admin can recover reward tokens left in the contract.
Disclosed
-
Users can steal accumulated rewards when `totalCollateral` becomes zero due to incomplete state updates
The protocol team fixed this issue by always updating userRewardPerTokenPaid to sync with the current rewardPerTokenStored, even when totalCollateral is zero.
Disclosed
-
WStable Contract Invariant Break in isSaving=true Mode
The contract should track shares instead of assets when isSaving=true to maintain the 1:1 invariant.
Disclosed
-
Incorrect calls and Enforcements during Migration To a market
The protocol team fixed this issue by adding conditions to only enforce pause checks and call the post-deposit hook when collateral or debt is actually being added.
Disclosed
-
`ZappingProxy` cannot receive ETH refunds resulting in failed zaps
Add a payable ETH acceptance path (receive or fallback) so router refunds do not revert.
Disclosed
-
Lack of USDT support due to use of transfer
The issue was fixed by switching to safeTransfer from the SafeERC20 library, which handles tokens that do not return a boolean.
Disclosed
-
USG peg assumption in on-chain safety checks incorrect liquidation/insolvency decisions when USG depegs
The debt should be converted to USD using a USG price oracle before it is compared with the USD-valued collateral.
Disclosed
-
No slippage check for liquidators when they burn USG from their account without Swapping first
The protocol team fixed this issue by allowing a slippage check against the maximum USG the liquidator is willing to burn.
Disclosed
-
Delayed Reward Cut Parameter Updates (Two-Cycle Enforcement Lag)
The protocol team fixed this issue by reordering operations so that rcParams[market] is updated before processRewards is called.
Disclosed
-
Liquidation Fee is incorrectly computed
The fee should be calculated on the liquidation reward (collateral value minus repaid debt) instead of the repaid debt, and the protocol team fixed this issue.
Disclosed
-
WStable 1:1 exit path will break with cooldown-enabled ERC4626 vaults like sUSDe
The team acknowledged the issue but will not fix it now; the suggested remedy is to use a vault with instant withdrawals or to make the wrapper handle cooldown periods.
Disclosed
-
Edge-case USG prices will force reverts for functions relying on IRCalculator
The protocol team fixed this issue in a pull request.
Disclosed