Skip to content

Code4rena

Tempus Finance contest

Every publicly disclosed report for Tempus Finance contest and what kind of bugs they were.

disclosed reports
3
most reported class
DoS
bug classes found
2
first disclosure
2021
Find Tempus Finance contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Tempus Finance contest chose to make public.

Access control

Steal tokens from TempusController

The TempusController contract's depositAndProvideLiquidity function accepted an arbitrary tempusAMM address, allowing an attacker to supply a fake contract that returned manipulated values for tokens and shares. This let the attacker transfer any ERC20 tokens held by the contract to themselves.

Tempus Finance contest

High
DoS

depositAndFix can be made to fail

The depositAndFix function in TempusController contains an assert that checks the contract's yield share balance is zero after a swap. An attacker can frontrun the call by sending a tiny amount of yield shares to the contract, causing the assert to fail and the transaction to revert.

Tempus Finance contest

Medium
DoS

exitTempusAMM can be made to fail

The exitTempusAMM function contains an assert that the contract's LP token balance is zero after redemption, but an attacker can front-run by sending a tiny amount of LP tokens to the contract, causing the assert to fail and blocking all legitimate exits.

Tempus Finance contest

Medium