Skip to content

Code4rena

bunker.finance contest

Every publicly disclosed report for bunker.finance contest and what kind of bugs they were.

disclosed reports
4
most reported class
Business logic
bug classes found
2
first disclosure
2022
Find bunker.finance contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what bunker.finance contest chose to make public.

Smart contracts

Chainlink pricer is using a deprecated API

The price oracle contract used Chainlink's deprecated latestAnswer function to fetch asset prices. If Chainlink stops supporting that API or returns stale data, the contract could receive an outdated or failing price feed.

bunker.finance contest

Medium
Smart contracts

call() should be used instead of transfer() on an address payable

The smart contract uses the deprecated transfer() function to send Ether, which forwards only 2300 gas. If the recipient is a smart contract with a fallback that needs more gas, the transfer fails, potentially locking funds or breaking the protocol.

bunker.finance contest

Medium
Business logic

COMP Distributions Can Be Manipulated And Duplicated Across Any Number Of Accounts

The COMP distribution functions for suppliers were commented out, so supplier rewards are not correctly calculated, while borrower distributions remain active. An attacker could repeatedly supply and withdraw tokens across multiple accounts to manipulate and duplicate COMP distributions.

bunker.finance contest

Medium