Skip to content
DoS Audit finding Intermediate

Most KeyRegistry, VotingPowerProvider functions can be DoSed

The KeyRegistry and VotingPowerProvider contracts allow anyone to register operators and keys without limits, so an attacker can create many entries and cause view functions that gather operator or key information to run out of gas or time out. This denies service to those functions.

00xJi Follow with 0x73696d616f, 0xShoonya and 27 others

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2025-06-symbiotic-relay-judging/issues/403

This issue has been acknowledged by the team but won't be fixed at this time.

Found by

00xJi, 0x73696d616f, 0xShoonya, 0xpetern, Cybrid, Drynooo, MaCree, Mimis, Mishkat6451, Raihan, X0sauce, Ziusz, albahaca0000, befree3x, coin2own, francoHacker, harry, hunt1, j3x, kangaroo, klaus, maigadoh, maxim371, montecristo, pashap9990, redbeans, roadToWatsonN101, snowflake30518, themartto, zark

Summary

VotingPowerProvider::registerOperator() is permissionless, so anybody can call it with any number of accounts to DoS all functions that gather operator information, such as getOperatorsAt(), getOperators(). Same for the vaults of the operators getOperatorVaults(), which can be registered via _registerOperatorVault() (part of the OperatorVaults extension or the auto deployment OpNetVaultAutoDeploy extension).

The KeyRegistry also has this issue, as setKey() is permissionless, and getKeys() will be DoSed as anybody can create any number of ethereum addresses as operators and keys to DoS the function.

As part of the SDK, these functions are key and should be paginated. They will be DoSed on chain due to the gas limit and off chain due to rpc timeout limits.

Root Cause

In KeyRegistry, VotingPowerProvider, there is no limit on some array elements nor pagination.

Internal Pre-conditions

None.

External Pre-conditions

None.

Attack Path

  1. Attacker creates multiple wallets to DoS the function calls.

Impact

Key view functions for key, operators are DoSed.

PoC

No response

Mitigation

Add pagination.

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

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 contracts store unbounded arrays and provide no pagination, so view functions that iterate over all entries can exceed gas or RPC limits.

Impact

Key view functions for operators and keys are denied service, both on-chain due to gas limits and off-chain due to RPC timeouts.

What the attacker needed

None

The fix

The functions should be fixed by adding pagination, but the team has acknowledged the issue and will not fix it at this time.

How it was found

  1. Attacker creates multiple wallets.
  2. Attacker uses those wallets to register many operators or keys.
  3. The view functions that gather all operators or keys become too expensive to call.

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.

These smart contracts let anyone add themselves as an operator or add a key. The functions that list all operators or keys read every entry at once. If someone adds a huge number of entries, those listing functions become too expensive to run and fail, so other users cannot read the data.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Symbiotic Relay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.