[Executable] Activate ENSv2

ENSv2 Activation: Calldata Review

Summary

The 15 calls in the Activate ENSv2 proposal do what the proposal says, with a few trust assumptions described in the findings.

ENS Labs shared the proposal on 8 October. We reviewed it, ENS Labs made several changes, and the proposal was submitted on chain on 18 October. We rebuilt every call on our own, and all 15 match the proposal on chain exactly. Of our nine findings, six are resolved. ENS Labs acknowledged two more and will resolve them: the HCA key and ETH payments in Q4 2026 or Q1 2027. One is open: live code not covered by the audits (L04). One question is also still open: who holds the HCA key until Q4 2026 or Q1 2027 (M01).

ID Issue Severity Status
H01 The handover plan gave control of .eth to the Endowment instead of the DAO High Resolved
M01 One outside key sits behind every HCA account Medium Acknowledged, will resolve
M02 on.eth would stop working Medium Resolved
M03 The HCA audit link was broken Medium Resolved
L01 Fees went to the timelock instead of the Endowment Low Resolved
L02 The description still named the old resolver for call 1 Low Resolved
L03 Code changed after the audits Low Resolved
L04 Live code not covered by the audits Low Open
N01 No ETH payments after the vote Note Acknowledged, will resolve

What the proposal does

  • Stops new .eth registrations on the current system (v1). Existing names keep working.
  • Keeps renewals open for existing names, paid in USDC or DAI.
  • Connects .eth lookups to the new system (v2).
  • Gives the Security Council the switch that moves lookups to v2 when ENS Labs is ready.
  • Turns on HCA accounts, which let users register a name with one signature.

After the vote, ENS Labs finishes the move in three steps without another vote: a final copy of all names, going live on v2, and handing its admin powers to the DAO. Until that handover, ENS Labs’ deployer key holds the v2 admin roles. We asked whether these roles could go to the Security Council at the vote. ENS Labs explained the migration needs them and that involving the Security Council would make the launch more complex. The proposal limits them to the launch period and commits to publishing each handover transaction, with a script that checks the deployer keeps no role.

How we checked

We rebuilt the 15 calls from the proposal text and the contract code, and compared them byte for byte with the calldata on chain (our test). We re-ran the check against the proposal submitted on chain on 18 October, at Ethereum block 26,221,944. Its calls and description match the version we reviewed, except for the call 1 address in the description, which is now correct (L02). Our test takes the live proposal through the vote, queue and execution on a copy of Ethereum mainnet, checks the result, then runs the next steps to see what changes for name owners.

On 18 October, ENS Labs replaced 10 v2 contracts to fix issues in the DNSSEC and name lookup code. Only call 1 changed: it now points .eth at a new ENSv2Resolver (0x3071AD643cE4Ed8b3D67b289845b45dB82b068A4). The new resolver has the same settings as the old one, and no live v2 contract still points to a replaced one.

Findings

H01. The handover plan gave control of .eth to the Endowment instead of the DAO

Severity: High. Status: Resolved.

In the new system, whoever holds the .eth token decides where every .eth name is looked up. ENS Labs’ plan gave this token to the Endowment Safe, which the ENS Foundation runs through its own timelock. The DAO has no role there.

Fix: give the token to a Safe that only the DAO controls.

Update: The plan now gives the token to a new DAO Safe whose only owner is the DAO timelock, which we checked on chain. The transfer happens at the handover, and we will verify it then.

M01. One outside key sits behind every HCA account

Severity: Medium. Status: Acknowledged, will resolve.

HCA accounts let users register a name with one signature, while a service run by Rhinestone sends the transactions. Every HCA account relies on this service, and a single key can change the service’s code. If that key were stolen or misused, it could move the remaining v1 names of users who approved the migration helper, and set the primary name of addresses that have none. Nobody is exposed before the vote executes.

Fix: put that key behind a timelock and a multisig before call 6 runs, or move call 6 to a later vote. Until then, the ENS app can limit the risk by removing the migration approval right after each migration.

Update: Rhinestone will make the service unchangeable, with new deployments for any upgrade, in Q4 2026 or Q1 2027. Who holds the key until then is still open.

M02. on.eth would stop working

Severity: Medium. Status: Resolved.

on.eth belongs to the DAO and gives apps the ID of each blockchain, for example base.on.eth for Base. It was missing from the names copied to v2. In our test, base.on.eth stopped working once v2 went live, and after the handover only a new DAO vote could fix it. Some other names are also skipped: about 306 whose text ENS Labs could not read, and names longer than 255 bytes.

Fix: copy on.eth before going live. Publish the list of skipped names and let owners add theirs.

Update: On 27 October, ENS Labs registered on.eth in v2 to the DAO Safe, keeping its original resolver, and base.on.eth still resolves after go-live. The other skipped names could not be carried over, since their text is unknown or longer than 255 bytes, which v2 does not accept. An owner who knows a name’s text can register it again on v2.

M03. The HCA audit link was broken

Severity: Medium. Status: Resolved.

Call 6 turns on HCA accounts. ENS Labs’ audit notes pointed to a Rhinestone audit at a link that no longer works.

Fix: publish the audit that covers the HCA code being deployed.

Update: ENS Labs published Nethermind’s report (NM-0965), which covers the HCA code as deployed, including its latest fix.

L01. Fees went to the timelock instead of the Endowment

Severity: Low. Status: Resolved.

Today, name fees go to the Endowment. In the first v2 deployment they went to the DAO timelock instead, and the destination cannot be changed once deployed.

Fix: send fees to the Endowment, or to an address the DAO can change.

Update: ENS Labs redeployed both contracts, and our test confirms a renewal now pays the Endowment. A way to change the destination later is in progress, together with ETH payments (N01).

L02. The description still named the old resolver for call 1

Severity: Low. Status: Resolved.

Call 1 now sets the new ENSv2Resolver (0x3071AD643cE4Ed8b3D67b289845b45dB82b068A4). The call table in the draft description still showed the old one (0xa6D451C5E283Bdd0a7c193910F55db57512AA7B2), so delegates reading it would see an address that will not be used.

Fix: update the call table in the description to the new address.

Update: The proposal submitted on chain shows the new address.

L03. Code changed after the audits

Severity: Low. Status: Resolved.

The new ENSv2Resolver set by call 1, and the other contracts replaced on 18 October, include fixes merged after the published audits (pull requests #470, #471 and #472). ENS Labs reviewed and approved them, but the published audit reports do not cover them.

Fix: have the auditors review these changes, or publish their sign-off, before the proposal executes.

Update: ENS Labs shared an updated Nethermind report whose final commit, 81869c3, includes pull requests #470, #471 and #472.

L04. Live code not covered by the audits

Severity: Low. Status: Open.

Some contracts now live include code that no published audit report covers:

  • WrapperRegistry, LockedMigrationController and UserRegistry, deployed on 26 and 28 October and already in use, include changes merged after the audited code (pull requests #475, #476, #479, #483, #484 and #487).
  • The 18 October contracts include two ens-contracts changes (#579 and #572) that are outside the report’s scope.

ENS Labs reviewed and approved these changes.

Fix: have the auditors review these changes and update the report.

N01. No ETH payments after the vote

Severity: Note. Status: Acknowledged, will resolve.

After the vote, names can only be paid in USDC or DAI. Users who hold only ETH must swap first, in a separate transaction. Renewal tools that pay in ETH stop working.

Fix: let the ENS app handle the swap, or add ETH support.

Update: ENS Labs plans ETH payments for Q4 2026 or Q1 2027.

What we will check next

  • Done on 27 October: the .eth token reached the DAO Safe, on.eth was registered, ENS Labs’ deployer kept no role, and the Security Council switched lookups to the new Universal Resolver v2 (0x06Fdd07F007ADaC667177b46aB2EB9A75132Cfd5).
  • The follow-up vote ENS Labs plans once v2 has run safely, to remove the .eth roles the DAO does not need.

Sources

3 Likes