|

DeFi auditor nets $40,000 for identifying Uniswap vulnerability

Uniswap’s recently launched bug bounty program has led to the discovery of a now-fixed vulnerability of the protocol’s Universal Router smart contract.

The automated market maker released two new smart contracts to its platform in November 2022. Permit2 allows token approvals to be shared and managed across different applications, while Universal Router unifies ERC-20 and nonfungible tokens (NFTs) swapping into a single swap router.

Uniswap also advertised a lucrative bug bounty program to identify potential vulnerabilities in its smart contracts towards the end of 2022 as it looked to assure the safety and efficacy of its protocol.

Smart contract security and auditing firm Dedaub announced that it had received a bug bounty after flagging a vulnerability in the Universal Router smart contract that would have allowed reentrancy to drain user funds mid-transaction.

According to Dedaub’s breakdown, the Universal Router allows users to perform diverse actions including swapping multiple tokens and NFTs in one transaction.

The router embeds a scripting language for a wide variety of token actions, which could include transfers to third party recipients. If correctly implemented, transfers would go to the recipient within specified parameters.

However, Dedaub identified a vulnerability in which a third-party code was invoked during the transfer, allowing the code to re-enter the Universal Router and claim any tokens that were temporarily in the contract.

Dedaub then suggested a straight-forward remedy, advising the Uniswap team to add a reentrancy lock to the core execution of the new router. Uniswap awarded the auditing firm a total of $40,000 for flagging the vulnerability. The amount included a 33% bonus for reporting the issue during Uniswap’s bonus period in November 2022.

Uniswap classified the issue as medium severity, while further assessment deemed the vulnerability to have high impact and low likelihood. According to Dedaub, the possibility of a user sending NFTs to an untrusted recipient directly was considered user error.

More complex and less likely scenarios were considered valid for reentrancy, which resulted in Uniswap deeming the vector to have a low likelihood. Cointelegraph has reached out to Uniswap to ascertain further details of its ongoing bounty program, amounts paid out and the number of bugs identified to date.

Bug bounties have become commonplace in the cryptocurrency and blockchain space as platforms and companies look to ensure the security of their software, systems and infrastructure. 

Cryptocurrency exchange Coinbase recently clarified the terms of its bug bounty, while blockchain security firm Immunefi has facilitated over $65 million worth of bug bounties between ethical hackers and Web3 firms in 2022.

Author

Cointelegraph Team

Cointelegraph Team

Cointelegraph

We are privileged enough to work with the best and brightest in Bitcoin.

More from Cointelegraph Team
Share:

Editor's Picks

XRP Price Prediction: XRP tests major support at $1.00
Ripple (XRP) remains pressured on Friday, trading around $1.03 at the time of writing. The token appears to hold this current level as support but lacks a catalyst to sustain a knee-jerk rebound toward the next key resistance at $1.10.
Top AI Coins Forecast: Chainlink, Near Protocol and Bittensor broadly stabilize after sell-off
The cryptocurrency market is stabilizing on Friday as prospects for de-escalation in Middle East geopolitical tensions improve. Artificial Intelligence (AI)-focused tokens such as Chainlink (LINK), Near Protocol (NEAR), and Bittensor (TAO) continue to face selling pressure, yet are defending key technical support levels.
Bitcoin’s volatility has nearly disappeared – The risk hasn’t
Spot Bitcoin ETFs are yet to see outflows this month, bringing in $754 million in the first week of August. Yet, Bitcoin remains steady at $64,700, while options flow favors protection at $62,000 and $63,000. The opposing signals point to a market with a spot bid but limited conviction.
Crypto Today: Bitcoin, Ethereum hold steady, XRP decline nears $1.00 amid easing geopolitical tensions
Cryptocurrency prices are relatively stable on Friday, with Bitcoin (BTC) edging higher above the immediate $64,000 support. Ethereum (ETH) holds fairly above the short-term $1,900 demand area, as bulls target a potential breakout. Meanwhile, Ripple (XRP) maintains a dominant bearish outlook, edging lower toward the crucial $1.00 support.
Bitcoin: Can bulls weather the market uncertainty?
Bitcoin (BTC) remains resilient, trading above $65,000 on Friday, with bulls defending key support despite cautious market sentiment. US-listed spot Bitcoin Exchange-Traded Funds (ETFs) showed strong inflows through Thursday, pointing to renewed institutional demand.