Urgent.News

What's breaking now, across thousands of outlets.

Tech

Security Audit Report: Reentrancy & Access Control Review: Grove Finance

Security Audit Report: Reentrancy & Access Control Review: Grove Finance Target Protocol : Grove Finance (TVL: $2329.4M) Security Audit Report: Reentrancy & Access Control Review Protocol: Grove Finance Scope: Core Smart Contracts (Ethereum Mainnet & L2 Deployments) TVL Context: $2.329B Date: October 26, 2023 Auditor: Senior DeFi Security Research Team 1. Executive Summary Grove Finance, a…

Grove Finance, a major yield optimization protocol on Ethereum with a $2.33 billion TVL, underwent a security audit focusing on reentrancy and access control vulnerabilities. The audit, conducted by the Senior DeFi Security Research Team, revealed several critical issues. First, the cross-chain bridge adapter's `receiveMessage` function lacks a reentrancy guard, allowing attackers to exploit the protocol by crafting malicious messages that trigger callbacks and manipulate state.

This could result in double-spending bridged assets or draining liquidity pools, leading to a total loss of funds. Second, the protocol's admin functions' `upgradeImplementation` function is vulnerable due to insufficient access control, enabling compromised admin keys to pause the protocol and upgrade to a malicious contract, draining all user funds.

Third, the yield distribution module's `distributeYield` function violates the Checks-Effects-Interactions pattern, allowing attackers to repeatedly claim yield by interacting with the contract during state updates. Additionally, there is no timelock mechanism for critical parameter updates in the `GroveParameters` contract, allowing admins to change parameters maliciously and immediately drain funds.

While a reentrancy vulnerability exists in the token swap function, it is considered a medium-risk issue. The audit's overall risk assessment is high, emphasizing the potential for catastrophic financial loss even with low-probability exploits.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

SEO & Digital Marketing Basics Every Developer Should Know

You can build a fast, beautifully coded website — and it can still get zero traffic. That's usually not a coding problem. It's a marketing gap.

  • Developers should incorporate SEO from coding start, not later
  • Use semantic HTML, proper tags, unique meta titles/descriptions
  • Combine development and marketing knowledge for increased value

Tailwind Typography's prose Is Leaking Into Your Components — and the Three-Tier Fix

My CTA button had underlined links and the wrong text color, and no matter which utility class I stacked on it the issues didn't correct. The culprit wasn't the button.

  • Tailwind CSS typography plugin styles all descendants, including custom components
  • Conflicts arise when custom components have conflicting styles with plugin's rules
  • Three-tier solution: match expectations, re-tune plugin, or sandbox UI islands

More from Saturday 29 August →