Centralization risk: admin have privileges: admin can set address to mint any amount of frxETH, can set any address as validator, and change important state in frxETHMinter and withdraw fund from frcETHMinter
The frxETH smart contracts give a privileged admin (owner or timelock) the power to mint unlimited frxETH, add or remove validators, change critical state, and withdraw all ETH or ERC20 tokens from the minter contract. A malicious or compromised admin could therefore rug pull the protocol and take user funds.
Submitted by ladboy233, also found by 0xSmartContract, 8olidity, ayeslick, Aymen0909, cccz, Chom, csanuragjain, IllIllI, joestakey, neko_nyaa, OptimismSec, PaludoX0, pashov, peritoflores, rbserver, rvierdiiev, and TomJ
Impact
Admin have privileges: admin can set address to mint any amount of frxETH, can set any address as validator, and change important state in frxETHMinter and withdraw fund from frcETHMinter.
Note the modifier below, either the timelock governance contract or the contract owner can access to all the high privilege function.
modifier onlyByOwnGov() {
require(msg.sender == timelock_address || msg.sender == owner, "Not owner or timelock");
_;
}
There are numerous methods that the admin could apply to rug pull the protocol and take all user funds.
The admin can
add or remove validator from OperatorRegistry.sol
set minter address or remove minter address in frxETH.sol
minter set by admin can mint or burn any amount of frxETH token.
set ETE deduction ratio, withdraw any amount of ETH or ERC20 token in frcETHMinter.sol
Tools Used
Foundry
Recommended Mitigation Steps
Without significant redesign it is not possible to avoid the admin being able to rug pull the protocol.
As a result the recommendation is to set all admin functions behind either a timelocked DAO or at least a timelocked multisig contract.
FortisFortuna (Frax) commented:
We are well aware of the permission structure. The owner will most likely be a large multisig. We mentioned the Frax Multisig in the scope too.
Going to use this issue as the canonical issue for all “malicious owner” type reports. The protocol does have some serious “trust” in the administrator and the highlighted issues are important for end users to understand and should be part of the report.
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
The contracts rely on a single privileged role (owner or timelock) with unrestricted access to minting, validator management, and fund withdrawal, with no on-chain safeguards against misuse.
Impact
A malicious or compromised admin could mint unlimited frxETH, alter validators, and withdraw all ETH and ERC20 tokens from the minter, effectively rug-pulling the protocol.
What the attacker needed
Admin privileges (owner or timelock)
The fix
The report recommends placing all admin functions behind a timelocked DAO or at least a timelocked multisig contract, though it notes that without significant redesign the admin can still rug pull.
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.
In many blockchain projects, a special account called an admin has extra powers. Here, that admin can create new tokens out of thin air, change who is allowed to validate, and move all the money held by the contract. If the admin turns bad or their keys are stolen, users could lose everything.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.