Skip to content
Smart contracts Audit finding Intermediate

frxETH can be depegged due to ETH staking balance slashing

The frxETH token is meant to be pegged to ETH, but if the underlying ETH staking validators are slashed, the protocol has no mechanism to maintain the peg or the minimum 32 ETH staking balance. An attacker could exploit this by causing validators to be slashed, leading to frxETH depegging.

ladboy233 Follow

Originally disclosed on Code4rena

Submitted by ladboy233, also found by 141345

The main risk in ETH 2.0 POS staking is the slashing penalty, in that case the frxETH will not be pegged and the validator cannot maintain a minimum 32 ETH staking balance.

https://cryptobriefing.com/ethereum-2-0-validators-slashed-staking-pool-error/

Recommended Mitigation Steps

We recommend the protocol to add mechanism to ensure the frxETH is pegged via burning if case the ETH got slashed.

And consider when the node does not maintain a minimum 32 ETH staking balance, who is in charge of adding the ETH balance to increase the staking balance or withdraw the ETH and distribute the fund.

FortisFortuna (Frax) commented:

We as the team can either choose to subsidize this, or let it float. ETH 2.0 does not allow unstaking yet. When it eventually does, we will redeploy this minting contract with updated logic that may be helpful.

0xean (judge) decreased severity to Medium and commented:

I think this is valid but should be downgraded to Medium. Users should be aware that there is no mechanism built in to deal with slashing and that the asset backed guarantee isn’t without some (perhaps negligible) risk of slashing.


The original report as published on Code4rena, by ladboy233. Images and videos are our own copies; raw HTML is shown as text. View it on Code4rena.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the protocol lacks a mechanism to handle slashing penalties, such as burning frxETH or subsidising the lost ETH, to maintain the peg and minimum staking balance.

What the attacker needed

ETH staking validators are slashed

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

frxETH is a token that should always be worth the same as ETH. It is backed by ETH that is staked (locked up) to help run the Ethereum network. If a staker breaks the rules, they get 'slashed'—some of their staked ETH is taken away. This report says that if that happens, there is no plan to keep frxETH's value stable, so it could lose its peg.

What is Smart contracts?

Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.

More by ladboy233

View all

47 more disclosed reports, best first.

More from Frax Ether Liquid Staking contest

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Smart contract vulnerabilities

The lesson behind this report.

Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.