Skip to content

Sherlock

Sense Update #1

Every publicly disclosed report for Sense Update #1 and what kind of bugs they were.

disclosed reports
15
most reported class
Business logic
bug classes found
4
first disclosure
2022
Find Sense Update #1 on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Sense Update #1 chose to make public.

Business logic

Refund of protocol fee is being to wrong user

The refund of unspent protocol fees in ETH was calculated incorrectly, resulting in a zero refund to the sender. Instead, the refunded amount was included in the bought tokens sent to the receiver, meaning the sender lost the refund.

Sense Update #1

Medium
Business logic

sponsorSeries() method fails when user want to swap for stake token using

The sponsorSeries() function incorrectly transfers the stake token instead of the sell token when a user tries to swap another token for the stake token, causing the transaction to fail unless a permit is used. An attacker could not exploit this; it is a functional bug that prevents legitimate sponsorship.

Sense Update #1

Medium
Business logic

Multiple functions may leave excess funds in the contract that should be returned

Several periphery functions move the full specified amount of a sell token into the contract but do not guarantee the swap quote consumes all of it, so leftover tokens can remain stuck in the contract. An attacker or unlucky user could lose those excess funds instead of having them returned to the receiver.

Sense Update #1

Medium
DoS

AutoRoller.sol#roll can revert if lastSettle is zero because solmate ERC4626 deposit revert if previewDeposit returns 0

The roll function in AutoRoller deposits a very small first amount and mints shares to the zero address, but the underlying ERC4626 deposit reverts when the previewed share amount rounds down to zero. An attacker could inflate the vault's space token balance so the share calculation truncates to zero, making roll revert and preventing a new sponsored series from starting.

Sense Update #1

Medium
Business logic

Adversary can brick AutoRoller by creating another AutoRoller on the same adapter

An AutoRoller calculates a future maturity date and tries to create a new series at that date, but the system only allows one series per adapter and maturity. An attacker can create a second AutoRoller on the same adapter that first creates the target maturity, causing the original AutoRoller to revert every time it tries to roll.

Sense Update #1

High
Misconfiguration

Hardcoded divider address in RollerUtils is incorrect and will brick autoroller

RollerUtils stored the Divider contract address as a hardcoded constant, and that address was the Goerli testnet one rather than the correct mainnet address. Because the wrong address makes the series lookup revert, the AutoRoller cooldown cycle could never complete, and for combineRestricted adapters liquidity providers could be left unable to withdraw their funds.

Sense Update #1

Medium
Business logic

AutoRoller#eject can be used to steal all the yield from vault's YTs

The AutoRoller contract's eject function transfers the entire target asset balance of the contract to the caller, which includes yield collected from all YTs in the pool, not just the caller's share. An attacker could call eject to steal the yield belonging to other users.

Sense Update #1

High
DoS

Possible DOS in RollerPeriphery `approve()` function

The approve function on the RollerPeriphery contract was public and callable by anyone, so an attacker could call it with a zero amount and reset an existing allowance. This could block deposits and minting through the vault.

Sense Update #1

High