https://sherlock-files.ams3.digitaloceanspaces.com/profile_images/defaults/default_avatar_8.png

0xBug

Security Researcher

Contact Me

High

2

Total

Medium

5

Total

$3.28K

Total Earnings

#923 All Time

9x

Payouts

regular

2x

Top 10

regular

4x

Top 25

regular

4x

Top 50

All

Code4rena

CodeHawks

Oct '24

Dria

Dria

0.32 USDC • 1 total finding • CodeHawks • 0xbug

#72

high

Subtraction in `variance()` will revert due to underflow

Aug '24

Fjord Token Staking

Fjord Token Staking

0.19 USDC • 1 total finding • CodeHawks • 0xbug

#20

medium

[H-01] Auction tokens will be lost forever when auction ends without bids

Jul '24

Zaros Part 1

Zaros Part 1

6.08 USDC • 1 total finding • CodeHawks • 0xbug

#92

medium

A malicious User can DOS all offchain orders making them unexecutable and leaving the protocol in an insolvent state. Also all offchain Trades can also be DOSed for honest parties that do not meet the fillorder requirements (no try and catch)

May '24

Sablier

Sablier

2,494.35 USDC • 1 total finding • CodeHawks • 0xbug

#6

medium

The overflow in the `_calculateStreamedAmount` function can lead to unexpected results.

Apr '24

Beanstalk Part 2

Beanstalk Part 2

50.04 USDC • 1 total finding • CodeHawks • 0xbug

#10

low

Missing the `lookback` parameter when invoking the `getWstethUsdPrice()` in the `getTokenPrice` function

Jul '23

Beedle - Oracle free perpetual lending

Beedle - Oracle free perpetual lending

12.41 USDC • 14 total findings • CodeHawks • 0xbug

#147

medium

Single-step process for critical ownership transfer is risky

low

Zero address leads to transaction reverts

gas

Multiple accesses of a mapping/array should use a local variable cache.

gas

The `for loops` inside the borrow(), repay(), giveLoan() & startAuction() functions in Lender contract are probably gas-guzzlers

gas

Use of magic numbers

gas

For the borrow(), repay() & startAuction() functions in Lender.sol the public visibility modifiers should be changed to external, to help optimize gas usage

gas

Use assembly to check for `address(0)`

gas

NatSpec documentation for function is missing

gas

Large multiples of ten should use scientific notation

gas

Constants in comparisons should appear on the left side

gas

Floating pragma in all contracts

gas

Conformance to Solidity naming conventions

gas

[L-06] Some imported libraries are not used

gas

No use of Ownable in Staking contract.

Foundry DeFi Stablecoin CodeHawks Audit Contest

Foundry DeFi Stablecoin CodeHawks Audit Contest

31.01 USDC • 7 total findings • CodeHawks • 0xbug

#53

low

Pragma isn't specified correctly which can lead to nonfunction/damaged contract when deployed on Arbitrum

gas

Constants should be be used for hardcoded values

gas

[I-1] NatSpec `@param` is missing

gas

NatSpec `@return` argument is missing

gas

[I-4] Constants in comparisons should appear on the left side

gas

[I-10] Functions not used internally could be marked external

gas

Use `assembly` to check for `address(0)`

CodeHawks Escrow Contract - Competition Details

CodeHawks Escrow Contract - Competition Details

22.65 USDC • 4 total findings • CodeHawks • 0xbug

#62

gas

Use assembly to check for `address(0)`

gas

NatSpec `@param` is missing

gas

NatSpec `@return` argument is missing

gas

Constants in comparisons should appear on the left side

Apr '22

Badger Citadel contest

Badger Citadel contest

667.43 USDC • 2 total findings • Code4rena • 0xBug

#21

high

StakedCitadel: wrong setupVesting function name

medium

Funding.deposit() doesn't work if there is no discount set