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

KingNFT

Security Researcher

Contact Me

High

1

Solo

58

Total

Medium

5

Solo

61

Total

$107.56K

Total Earnings

#82 All Time

61x

Payouts

gold

4x

1st Places

silver

2x

2nd Places

bronze

5x

3rd Places

All

Sherlock

Code4rena

Nov '24

Ethos Network Financial Contracts

Ethos Network Financial Contracts

0.38 USDC • 1 total finding • Sherlock • KingNFT

#33

high

More than intended fund will be withdrawn from graduated markets due to wrongly update ````marketFunds```` while ````sellVotes()````

Sep '24

Thanos L2 Native Token Bridge

Thanos L2 Native Token Bridge

4,500 USDC • 1 total finding • Sherlock • KingNFT

gold

high

Incorrect address aliasing while deposit transacton by ````onApprove()````

Flayer

Flayer

983.49 USDC • 3 total findings • Sherlock • KingNFT

#31

high

Users can't withdraw funds and fees previously deposited for initializing Uniswap collection pool

high

````UniswapImplementation.beforeSwap()```` is vulnerable to price manipulation attack

medium

````UniswapImplementation._unlockCallback()```` doesn't refund remaining fund

Aug '24

Winnables Raffles

Winnables Raffles

0.76 USDC • 1 total finding • Sherlock • KingNFT

#38

medium

Admin can't remove any roles once they were set

Jun '24

Allora

Allora

1,208.88 USDC • 1 total finding • Sherlock • KingNFT

#17

medium

Potential race conditions due to usage of ````sdk.Context```` in concurrent goroutines

May '24

Elfi

Elfi

1,791.93 USDC • 5 total findings • Sherlock • KingNFT

#9

high

The ````PortfolioVault```` could be drained

medium

The keeper will suffer continuing losses due to miss compensation for L1 rollup fees

medium

Missing compensation for the ````21,000```` intrinsic gas cost

medium

A significant ````105,983```` gas cost of ````processExecutionFee()```` execution is not accounted in the keeper's compensation

medium

Call of ````revokeAllRole()```` would fail silently

Apr '24

Zivoe

Zivoe

497.36 USDC • 4 total findings • Sherlock • KingNFT

#26

high

````depositReward()```` with zero amount to get reward tokens stuck in ````ZivoeRewards```` contracts

high

````_totalSupply```` and ````_totalSupplyCheckpoints```` are wrongly updated while ````revokeVestingSchedule()````

high

Users' votes are not correctly removed while ````revokeVestingSchedule()````

medium

Users can't ````getRewards()```` if any one of reword tokens is paused

Mar '24

WOOFi Swap

WOOFi Swap

3,884.93 USDC • 2 total findings • Sherlock • KingNFT

bronze

medium

Potential damages due to incorrect implementation of the ````ZIP```` algorithm

medium

Price manipulation by swapping any ````baseToken```` with itself

Perennial V2 Update #2

Perennial V2 Update #2

2,684.42 USDC • 1 total finding • Sherlock • KingNFT

bronze

medium

Orders on Optimism chains can not be settled due to revert of ````keep()````

Feb '24

Napier

Napier

1,826.71 USDC • 2 total findings • Sherlock • KingNFT

bronze

high

All yield could be drained if users set any ````> 0```` allowance to others

medium

Grief attack on ````Tranche.issue()```` to make users losing partial profit

Smilee Finance

Smilee Finance

378.73 USDC • 2 total findings • Sherlock • KingNFT

#6

medium

Bypass vault's ````maxDeposit```` limit to mint extra share tokens and potentially gain huge risk free profit

medium

Attack on ````FeeManager.trackVaultFee()```` to make the IG contract to be bricked

Rubicon Finance

Rubicon Finance

2,375 USDC • 1 total finding • Sherlock • KingNFT

gold

medium

Execution of orders would revert unexpectedly while ````baseFee```` or ````pairBasedFee```` equals to ````MAX_FEE````

Jan '24

Flat Money

Flat Money

2,468.26 USDC • 2 total findings • Sherlock • KingNFT

#5

high

The algorithm used for accounting PnL is incorrect

high

````_globalPositions.marginDepositedTotal```` might be set to a extreme big number

LooksRare YOLO

LooksRare YOLO

17.38 USDC • 1 total finding • Sherlock • KingNFT

#7

high

Attackers can deposit nothing to win round

Salty.IO

Salty.IO

82.28 USDC • 3 total findings • Code4rena • KingNFT

#75

high

When borrowers repay USDS, it is sent to the wrong address, allowing anyone to burn Protocol Owned Liquidity and build bad debt for USDS

high

User can evade `liquidation` by depositing the minimum of tokens and gain time to not be liquidated

medium

Unwhitelisting does not clear _arbitrageProfits, so re-whitelisting may result in an unfair distribution of liquidity rewards.

Curves

Curves

102.17 USDC • 6 total findings • Code4rena • KingNFT

#49

high

Whitelised accounts can be forcefully DoSed from buying curveTokens during the presale

high

Attack to make ````CurveSubject```` to be a ````HoneyPot````

high

Unauthorized Access to setCurves Function

medium

Single token purchase restriction on curve creation enables sniping

medium

onBalanceChange causes previously unclaimed rewards to be cleared

medium

If a user sets their curve token symbol as the default one plus the next token counter instance it will render the whole default naming functionality obsolete

reNFT

reNFT

1.8 USDC • Code4rena • KingNFT

#68

Dec '23

Footium Update

Footium Update

744.76 USDC • Sherlock • KingNFT

bronze
Revolution Protocol

Revolution Protocol

2,815.93 USDC • 2 total findings • Code4rena • KingNFT

silver

high

````VerbsToken.tokenURI()```` is vulnerable to JSON injection attacks

medium

Since art pieces' size is not limited, attacker may block AuctionHouse from creating and settling auctions

Ethereum Credit Guild

Ethereum Credit Guild

237.72 USDC • 1 total finding • Code4rena • KingNFT

#53

high

Anyone can steal all distributed rewards

Nov '23

Nouns Builder

Nouns Builder

21.94 USDC • 1 total finding • Sherlock • KingNFT

#9

high

The founder would lose the first vesting NFT while ````reservedUntilTokenId >= 100````

Sep '23

Maia DAO - Ulysses

Maia DAO - Ulysses

39.31 USDC • 2 total findings • Code4rena • KingNFT

#49

high

All tokens can be stolen from `VirtualAccount` due to missing access modifier

medium

Incorrect source address decoding in RootBridgeAgent and BranchBridgeAgent's _requiresEndpoint breaks LayerZero communication

Allo V2

Allo V2

428.82 USDC • 4 total findings • Sherlock • KingNFT

#16

high

The ````Anchor```` contract is broken entirely and any funds sent to it would be locked for ever

medium

Wrongly updating ````voiceCreditsCastToRecipient```` in ````_qv_allocate()```` of ````QVBaseStrategy```` contract

medium

````_registerRecipient()```` of ````RFPSimpleStrategy```` always reverts while ````useRegistryAnchor```` enabled

medium

````_distribute()```` of ````RFPSimpleStrategy```` would revert with ````NOT_ENOUGH_FUNDS()```` even if their is enough ````poolAmount```` remaining

Aug '23

Arbitrum Security Council Election System

Arbitrum Security Council Election System

8,194 USDC • 2 total findings • Code4rena • KingNFT

#4

high

Signatures can be replayed in `castVoteWithReasonAndParamsBySig()` to use up more votes than a user intended

medium

SecurityCouncilNomineeElectionGovernor might have to wait for more than 6 months to create election again

Tangible Caviar

Tangible Caviar

341.6 USDC • Code4rena • KingNFT

#30

Jul '23

Perennial V2

Perennial V2

8,071.99 USDC • 2 total findings • Sherlock • KingNFT

silver

high

````Market```` can't get valid price while oracle's ````granularity > 1````

high

Keepers will suffer significant losses due to miss compensation for L1 rollup fees

Tokemak

Tokemak

99.49 USDC • 1 total finding • Sherlock • KingNFT

#44

medium

A previously removed ````LMPVault```` can never been added to ````LMPVaultRegistry```` again

May '23

Maia DAO Ecosystem

Maia DAO Ecosystem

312.04 USDC • 1 total finding • Code4rena • KingNFT

#48

medium

Removing more gauge weight than it should be while transfering ````ERC20Gauges```` token

Apr '23

GMX Update

GMX Update

1,866.17 USDC • 1 total finding • Sherlock • KingNFT

#10

medium

Keepers can steal additional execution fee from users

Rubicon v2

Rubicon v2

380.59 USDC • 4 total findings • Code4rena • KingNFT

#34

high

Reward accounting is incorrect in BathBuddy contract

medium

The ````_matcho()```` is not implemented properly

medium

Zero reward rate calculation impedes low-decimals token distributions

medium

Attack on rounding errors to get risk free profit

Mar '23

Gitcoin

Gitcoin

252.79 USDC • Sherlock • KingNFT

#17

Optimism Update

Optimism Update

13,244.35 USDC • 1 total finding • Sherlock • KingNFT

#5

high

The formula used in ````SafeCall.callWithMinGas()```` is wrong

Y2K

Y2K

172.60 USDC • 2 total findings • Sherlock • KingNFT

#48

medium

Users' fund might be locked due to improper implemention of ````deposit()```` function

medium

Fund might be locked due to improper implemention of ````triggerEndEpoch()```` function

Taurus

Taurus

1,080.46 USDC • 1 total finding • Sherlock • KingNFT

#5

medium

A malicious admin can steal all users collateral

Feb '23

Surge

Surge

157.48 USDC • 1 total finding • Sherlock • KingNFT

#13

medium

Protocol fee is overcharged

Derby

Derby

100.59 USDC • 1 total finding • Sherlock • KingNFT

#30

medium

The ````exchangeRate()```` of ````CompoundProvider.sol```` is not implemented properly

OlympusDAO

OlympusDAO

1,378.88 USDC • 4 total findings • Sherlock • KingNFT

#5

high

````userRewardDebts```` is wrongly updated while ```` _claimInternalRewards()```` and ````_claimExternalRewards()````

high

````cachedUserRewards```` has never been cleared

high

Flashloan attack to get lots of OHM at very low cost

medium

Users may be unable to claim rewards due to removal of reward token

Ethos Reserve contest

Ethos Reserve contest

204.11 USDC • 1 total finding • Code4rena • KingNFT

#30

medium

If the strategy incurs a loss the Active Pool will stop working until the shortfall is paid out entirely

GMX

GMX

4,344.31 USDC • 3 total findings • Sherlock • KingNFT

#9

high

The ````callbacks```` are exposed to ````returnbomb```` attack

high

Attack on ````ErrorUtils```` library

medium

The oracle price could be tampered

Carapace

Carapace

396.69 USDC • 3 total findings • Sherlock • KingNFT

#19

high

Bypass the deposit lock time rule and take risk free premium

high

The ````accruePremiumAndExpireProtections()```` may be unavailable while there are many buys or under DoS attack

high

The ````New Protection Rule```` can be bypassed

OpenQ

OpenQ

1,007.09 USDC • 3 total findings • Sherlock • KingNFT

#16

high

DoS attack on unbound ````deposits```` array

high

Arithmetic overflow attack on ````_expiration```` parameter of ````fundBountyToken()````

high

Attack to block users from ````claimBounty()````

Jan '23

Popcorn contest

Popcorn contest

1,116.83 USDC • 3 total findings • Code4rena • KingNFT

#22

high

Lost Rewards in MultiRewardStaking Upon Third-Party Withdraw

high

Staking rewards can be drained

medium

The calculation of ````takeFees```` in ````Vault```` contract is incorrect

Dec '22

Papr contest

Papr contest

33.4 USDC • 1 total finding • Code4rena • KingNFT

#28

medium

`PaprController` pays swap fee in `buyAndReduceDebt`, not user

Caviar contest

Caviar contest

757.97 USDC • 2 total findings • Code4rena • KingNFT

#14

high

Reentrancy in buy function for ERC777 tokens allows buying funds with considerable discount

high

First depositor can break minting of shares

Tigris Trade contest

Tigris Trade contest

11,888.94 USDC • 8 total findings • Code4rena • KingNFT

gold

high

Bypass the maximum PnL check to take extra profit

high

Incorrect calculation of new price while adding position

high

reentrancy attack during mint() function in Position contract which can lead to removing of the other user's limit orders or stealing contract funds because initId is set low value

high

Not enough margin pulled or burned from user when adding to a position

medium

Bypass the delay security check to win risk free funds

medium

Trading will not work on ethereum if USDT is used

medium

`executeLimitOrder()` modifies open-interest with a wrong position value

medium

Governance NFT holder, whose NFT was minted before `Trading._handleOpenFees` function is called, can lose deserved rewards after `Trading._handleOpenFees` function is called

prePO contest

prePO contest

220.97 USDC • 1 total finding • Code4rena • KingNFT

#25

medium

The recipient receives free collateral token if an ERC20 token that deducts a fee on transfer used as baseToken

Escher contest

Escher contest

29.7 USDC • 2 total findings • Code4rena • KingNFT

#60

medium

ETH will get stuck if all NFTs do not get sold.

medium

Sale contracts can be bricked if any other minter mints a token with an id that overlaps the sale

NounsDAO

NounsDAO

862.96 USDC • 1 total finding • Sherlock • KingNFT

bronze

medium

The ````Stream```` contract is designed to receive ETH but not implement function for withdrawal

Nov '22

ParaSpace contest

ParaSpace contest

1,062.19 USDC • 3 total findings • Code4rena • KingNFT

#23

high

Anyone can steal CryptoPunk during the deposit flow to WPunkGateway

medium

Centralization risk: admin can with rug the project by removing asset and price manipulation on oracle.

medium

MintableIncentivizedERC721 and NToken do not comply with ERC721, breaking composability

Opyn Crab Netting

Opyn Crab Netting

1,081.47 USDC • 3 total findings • Sherlock • KingNFT

#4

high

Attack with any USDC blacklisted account

high

The 'withdraws' queue is susceptible to DDoS attack

medium

Miss to pop cleared 'userDepositsIndex' items

Isomorph

Isomorph

353.12 USDC • 2 total findings • Sherlock • KingNFT

#15

high

The calculation of ````totalUSDborrowed```` in ````openLoan()```` is not correct

medium

The ````virtualPrice```` is counted less than expected

Redacted Cartel contest

Redacted Cartel contest

1,198.73 USDC • 2 total findings • Code4rena • KingNFT

#15

high

The 'redeem' related functions are likely to be blocked

high

Underlying assets stealing in `AutoPxGmx` and `AutoPxGlp` via share price manipulation

Buffer Finance

Buffer Finance

1,623.64 USDC • 3 total findings • Sherlock • KingNFT

#4

high

Price manipulation attack on 'resolveQueuedTrades()' of BufferRouter.sol

medium

The '_openQueuedTrade()' function is susceptible to reentrancy attack

medium

The 'initiateTrade()' function would not work for fee-on-transfer token

Bull v Bear

Bull v Bear

598.26 USDC • 2 total findings • Sherlock • KingNFT

#5

high

[M-01] Bull can gain trading edge by dramatically increasing transaction cost for settlement

high

[H-01] Bull can replay a settled contract

Blur Exchange contest

Blur Exchange contest

612.43 USDC • 1 total finding • Code4rena • KingNFT

#10

high

Direct theft of buyers ETH funds.

LooksRare Aggregator contest

LooksRare Aggregator contest

10,871.41 USDC • 1 total finding • Code4rena • KingNFT

gold

medium

The '_executeNonAtomicOrders' function in SeaportProxy.sol may fail unexpectedly

SIZE contest

SIZE contest

205.93 USDC • 2 total findings • Code4rena • KingNFT

#17

high

Attacker can steal any funds in the contract by state confusion (no preconditions)

medium

Incompatibility with fee-on-transfer/inflationary/deflationary/rebasing tokens, on both base tokens and quote tokens, with varying impacts

Debt DAO contest

Debt DAO contest

1,063.6 USDC • 2 total findings • Code4rena • KingNFT

#24

medium

The lender can draw out extra credit token from borrower's account

medium

address.call{value:x}() should be used instead of payable.transfer()

Oct '22

Paladin - Warden Pledges contest

Paladin - Warden Pledges contest

754.53 USDC • 1 total finding • Code4rena • KingNFT

#10

medium

Pledge may be out of reward due to the decay in veCRV balance. targetVotes is never reached.

Holograph contest

Holograph contest

0 USDC • Code4rena • KingNFT

#44

Trader Joe v2 contest

Trader Joe v2 contest

4,521.14 USDC • 2 total findings • Code4rena • KingNFT

#7

high

Wrong implementation of function `LBPair.setFeeParameter` can break the funcionality of LBPair and make user's tokens locked

medium

Flashloan fee collection mechanism can be easily manipulated