Both renewal routes prove one ens name is renewable and then bill the user to renew a different one
Originally disclosed on Immunefi
- Disclosed after under an hour
# 92278 w a critical both renewal routes prove one ens name is renewable and then bill the user to renew a different one
## #92278 \[W\&A-Critical] Both renewal routes prove one ENS name is renewable and then bill the user to renew a different one
**Submitted on Sep 8th 2026 at 17:57:40 UTC by @Naresh\_Kandula for** [**Audit Competition | ENS**](https://immunefi.com/audit-competition/audit-competition-ens)
* **Report ID:** #92278
* **Report Type:** Websites & Apps
* **Report severity:** Critical
* **Target:** <https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready/apps/manager>
* **Impacts:**
* Causing the application to display or pre-fill an incorrect address, name, or transaction detail, so that a user sends funds or submits a transaction to an unintended recipient, such as: - resolving or rendering an ENS name to an attacker-controlled address - showing the wrong recipient or amount on a transaction the user then approves
### Description
## Both renewal routes prove one ENS name is renewable and then bill the user to renew a different one
**Severity:** Critical **Target asset:** `apps/manager` — Manager app (root cause), with the calldata leg in `packages/transaction-manager` **Revision tested:** `1c9b47f18fcddd2e864dfe385c4171061c9811ae` — `immunefi-team/audit-comp-ens`, branch `audit-comp-ready` (the competition repository's HEAD). That tree is the fork of `ensdomains/apps-monorepo` at `63772fd872af472ced58b009499355f3430c2a86`, per the fork commit's own message; the upstream hash is not resolvable inside the competition repository, so every line cited in this report is given against `1c9b47f`.
### Impact-clause mapping
The program lists:
> *"**Causing the application to display or pre-fill an incorrect address, name, or transaction detail** so a user sends funds / submits a tx to an unintended recipient (incl. resolving or rendering an ENS name to an attacker-controlled address; showing the wrong recipient or amount on a tx the user then approves)."*
**This is the clause I am claiming.** The incorrect detail is produced by the application itself, on this render, from the user's own navigation — it is not a pre-existing on-chain state the app merely fails to correct.
A single loader object carries both halves of the divergence. `apps/manager/src/routes/renew/$name.tsx:60-62`:
```ts
return {
label: parsedName.value.label, // trim().toLowerCase() -> the ATTACKER's label
currentExpiry: expiryData.expiry, // ENSIP-15 normalize -> the VICTIM's expiry
}
```
`:70` destructures both together. So on one render the app **displays the victim's expiry as the expiry of the name being renewed**, and **pre-fills the attacker's label into the `renew()` calldata** — and the user approves the transaction on the strength of the displayed detail. Both values are computed by the application, from the same URL segment, inside the same function, and never compared.
§7b measures the consequence in a mined transaction: the victim pays `8,000,021` USDC units, the **attacker's** registration gains exactly one year (`31,536,000` s), and the **victim's own name gains nothing** (expiry delta `0`).
**The clause's first limb is met without argument.** It reads *"display or pre-fill an incorrect address, **name**, or transaction detail"* — and a **name** is precisely what this application displays incorrectly. `PricingStep.tsx:24` hands the loader's label to `PricingDomainHeader`, which builds `` `${label}.eth` `` (`PricingDomainHeader.tsx:9`) and renders it as the page's `<h1>`, with the same string as its `title` (`:21-30`), directly above the price being approved. That heading is the attacker's name. Because the codepoint that distinguishes it carries no glyph, **what the user reads is their own name** — and there is no second signal to contradict it: the premium pill exists only at 3- and 4-character labels (`premiumLabel.ts:10-29`), so it is absent for both spellings, and `getByteLength` feeds nothing but a CSS font-size tier. §7c executes this: the rendered DOM carries the attacker's codepoint while the string a human reads is the victim's name, with an oracle showing a canonical spelling renders a heading that is byte-identical to the name actually renewed.
**On the trailing "unintended recipient" condition.** The beneficiary the application pre-filled into the calldata is not the one the user intends: they act to extend their own registration and extend someone else's. The clause's own second example is this shape — *"showing the wrong recipient or amount on a tx the user then approves."* The amount is paid; the registration it buys is not the user's.
The program also lists *"Direct theft of user NFTs / user funds."* Value does move from the victim to the attacker's benefit and §7b measures it, but it moves as rent paid to the legitimate registrar rather than as funds arriving in an attacker's wallet. **I am not leading with that clause** and nothing in this report depends on it.
I am **not** claiming *"Hijacking or bricking an ENS name during a Manager flow (registration, v1→v2 migration, transfer)"* — renewal is not in that list.
**Severity filed at High.** The case for Critical is now evidenced rather than argued and is set out in §9; I have filed at the severity I can defend without relying on the qualified clause.
***
### 1. Summary
Both renewal routes — `/renew/$name` (v2) and `/renew-v1/$name` (v1) — derive the ENS name **twice** from the same URL path segment, using two different canonicalisation rules, and never compare them:
* **Every gate** in the route loader is decided by the **ENSIP-15-normalised** name.
* **The label that leaves the loader** — and that reaches the price quote and the `renew()` calldata — is produced by a plain `trim().toLowerCase()`.
`normalize()` is not `toLowerCase()`. It also NFC-composes and **deletes** the Unicode "ignorable" code points. So for a large class of spellings the two derivations are two different on-chain labels with two different labelhashes.
The consequence: the loader proves that **the victim's name** exists, is the right protocol, is inside its renewal window and has a non-null expiry — and then hands the renewal flow **the attacker's label**. The user is shown their own name's expiry and their own name's new expiry, pays rent in USDC from their own EOA, and extends a registration that is not theirs. Their real name is not extended and keeps ticking toward expiry.
### 2. Root cause — one shared helper, five consumers, two routes
The defect is not in a route. It is in the helper both renewal routes use to turn a URL segment into an on-chain label: `parseRenewableName` in `apps/manager/src/features/renew/utils/renewableName.ts:25`, which delegates to `parseName` (`features/register-v2/utils/name-parser.ts:46`) and therefore applies `trim().toLowerCase()` and nothing else. Its consumers:
| consumer | what it does with the non-canonical label |
| ------------------------------------------------------------- | --------------------------------------------------------------- |
| `routes/renew/$name.tsx:20,61` | returns it as the label the v2 renewal flow prices and renews |
| `routes/renew-v1/$name.tsx:15,51` | returns it as the label the v1 renewal flow prices and renews |
| `features/renew/data/queries/v1Renewable.query.ts:19,28` | asks the chain whether **that** label is renewable |
| `features/renew/utils/renewableName.ts:44` (`canRenewV2Name`) | re-derives with the same rule, so it cannot detect the mismatch |
| `features/profile/components/view/ProfileRenewAction.tsx:43` | decides whether the third-party-renewal warning is shown |
A single change inside `parseRenewableName` fixes every one of them; that is the change used as the negative control in §7, and it kills all six defect assertions at once.
`apps/manager` does have ENSIP-15 available, and uses it — but only on the gate side. `profileName.ts:1` imports `normalize` from `viem/ens`, which is exactly what makes the expiry gate authoritative in §2a. The **label-derivation path has no canonicaliser of any kind**: `parseRenewableName` reaches `parseName`, whose only transformation is `trim().toLowerCase()` and whose only character screen is the punctuation class at `name-parser.ts:11`. That asymmetry — one branch canonicalises, the other does not, on the same input, in the same loader — is the defect.
#### 2a. The v2 route
`apps/manager/src/routes/renew/$name.tsx` — the loader, in full (lines 19–63):
```ts
loader: async ({ params: { name }, context: { queryClient } }) => {
const parsedName = parseRenewableName(name) // <-- derivation A: trim().toLowerCase()
if (parsedName.isErr()) throw parsedName.error
const expiryData = await queryClient.ensureQueryData(
profileExpiryQuery(name), // <-- derivation B: ENSIP-15 normalize()
)
if (expiryData?.protocol === 'v1') throw redirect({ ... })
const expiryDate = profileExpiryDateFromSeconds(expiryData?.expiry)
if (expiryData?.protocol !== 'v2') throw new Error('This name is not available for renewal.')
if (isPastGracePeriod(expiryDate, expiryData.protocol)) throw redirect({ ... })
if (!canRenewV2Name(name, expiryDate)) throw new Error('This name is not available for renewal.')
if (!expiryData.expiry) throw new Error('Name expiry could not be loaded.')
return {
label: parsedName.value.label, // <-- A leaves the loader
currentExpiry: expiryData.expiry, // <-- B's answer leaves with it
}
}
```
**Derivation A** — `apps/manager/src/features/register-v2/utils/name-parser.ts:46`:
```ts
const normalized = name.trim().toLowerCase()
```
No ENSIP-15, no NFC. Its only character filters are `/\s/` (`:49`), `'..'` (`:54`) and `INVALID_LABEL_CHARS` (`:11`, `:73`) — the latter a fixed ASCII punctuation set, `/[&*@#$%^()[\]{}|\\:;"'<>?,=+~`!]/\`, which contains no invisible or combining characters.
**Derivation B** — `apps/manager/src/features/profile/service/profileExpiry.ts:77` calls `normalizeEth2LdName`, which is viem `normalize` (ENSIP-15) at `apps/manager/src/features/profile/service/profileName.ts:18`. The registry read at `:104-110` uses `ethName.name`, the **normalised** name.
The two are never reconciled. `canRenewV2Name` does not reconcile them either — it re-derives the label with `parseRenewableName` (derivation A) and its only name test is a dot-free regex, `/^[^.]+\.eth$/` at `apps/manager/src/features/grace/utils/gracePeriod.ts:48`, which every spelling below passes.
#### 2b. The v1 route has the same split
`apps/manager/src/routes/renew-v1/$name.tsx` repeats the pattern exactly:
```ts
const parsedName = parseRenewableName(name) // :15 derivation A
const ownerData = await queryClient.ensureQueryData(profileOwnerQuery(name)) // :21 derivation B
if (ownerData?.protocol === 'v2') throw redirect({ ... }) // :23 gate on B
if (ownerData?.protocol !== 'v1') throw new Error(...) // :31 gate on B
const [expiryData, isRenewable] = await Promise.all([
queryClient.ensureQueryData(profileExpiryQuery(name, 'v1')), // :36 gate on B
queryClient.ensureQueryData(getV1RenewableQueryOptions(name)), // :37 gate on A (!)
])
return { label: parsedName.value.label, currentExpiry: expiryData.expiry } // :51-52
```
`profileOwnerQuery` normalises (`features/profile/service/profileOwner.ts:25` `normalizeEthName`), so the protocol decision and the displayed expiry are the **victim's**. But the renewability check at `:37` runs through `v1Renewable.query.ts:28`, which passes `parsedName.value.label` — the **raw** label — to the chain. So the app confirms *the attacker's* label is renewable, shows *the victim's* expiry, and returns *the attacker's* label to be paid for.
### 3. The label reaches the money
`RouteComponent` (`routes/renew/$name.tsx:69-74`) passes the loader's raw `label` and derivation-B's `currentExpiry` into `RenewalPage`. From there:
* **Price** — `features/renew/workflow/pricing/components/ConfirmPurchase.tsx:22` calls `getRenewPriceQueryOptions(label, …)`, and `features/renew/data/queries/renewPricing.query.ts:37-42` passes `label` verbatim to the registrar's price getter.
* **Calldata** — `ConfirmPurchase.tsx:63-72` sends `renewal.start` with the same `label`; `features/renew/state/renewalUi.machine.ts:151` stores it and `:349` forwards it to `submitRenewal`; `packages/transaction-manager/src/machines/registration/registration.actors.ts:1020-1031` `encodeRenewData` emits `renew(<label>, duration, paymentToken, referrer)`.
* **Display** — the summary card and the success screen both render derivation-B's expiry, i.e. the victim's, beside the attacker's label.
### 4. Which spellings diverge — measured, not asserted
Measured against the repository's pinned `[email protected]`, reimplementing `parseName` (`name-parser.ts:46-81`) and `normalizeEth2LdName` (`profileName.ts:14-73`) verbatim:
| spelling | derivation A label | derivation B label | labelhash differs | passes every loader gate |
| -------------------------- | ------------------- | ------------------ | ----------------- | ------------------------ |
| `vitalik.eth` | `vitalik` | `vitalik` | no | — |
| `VITALIK.eth` | `vitalik` | `vitalik` | **no** | — |
| �
`cafe<U+0301>.eth` (NFD) | `café` (decomposed) | `café` (composed) | **yes** | yes |
| `vitalik<U+200B>.eth` | `vitalik<U+200B>` | `vitalik` | **yes** | yes |
| `vitalik<U+00AD>.eth` | `vitalik<U+00AD>` | `vitalik` | **yes** | yes |
| `vitalik<U+2060>.eth` | `vitalik<U+2060>` | `vitalik` | **yes** | yes |
| `vitalik<U+FE0F>.eth` | `vitalik<U+FE0F>` | `vitalik` | **yes** | yes |
Two rows carry the whole argument, and I want them read before anything else.
�
**The NFD row is the one to test this report against.** A combining acute (`U+0301`) is not a homoglyph, not bidi, and not a control or format character — `café` in decomposed form is ordinary, legitimate Unicode that any correct system must accept. So it is outside every character class a validator-hardening fix would reject, and outside the classes the published known issue EXP-INPUT-005 enumerates (§8). The four format-character rows below it are real and measured, and I include them for completeness, but the finding does not depend on any of them.
**Uppercase does not work here** (row 2), because derivation A lowercases. That is what distinguishes this from the profile-page name split, which leads with uppercase — the two need *different* attacker inputs (§8).
### 5. Attacker and reach — no privileged role
**Attacker: anyone.** Two unprivileged steps.
1. The attacker registers the raw label — e.g. the decomposed `cafe<U+0301>` — which is permissionless, and **the Manager's own registration route will do it**. Neither gate on that path applies ENSIP-15:
* `features/register-v2/data/queries/availability.query.ts:9` uses `normalizeDomainNameFromUrl` (`utils/domain.ts:27-33`), which only appends `.eth` and truncates to 255 bytes.
* `features/shared/registration/nameUtils.ts:90-142` `validateENSName` rejects exactly five things: a space, `..`, a dot inside the label, a label shorter than 3 characters, and the same fixed ASCII punctuation set `/[&*@#$%^()[\]{}|\\:;"'<>?,=+~`!]/`. None of the five spellings in §4 matches any of them — and note that` String.prototype.trim()`does not strip`U+200B`or`U+00AD\`, which are format (Cf) characters rather than whitespace. The function's own docstring states the intent: *"Allowed: letters, numbers, hyphens, **emojis**"*, so non-ASCII input is deliberately permitted.
2. The attacker gets the victim to open `/renew/cafe%CC%81.eth` (the decomposed spelling; `%CC%81` is `U+0301` in UTF-8). Percent-encoding is not required for the attack — it is simply how the byte appears in a link — and the rendered page shows `café.eth`, which is what the victim expects to see.
**The renewal route contains no ownership check whatsoever** — grepping `apps/manager/src/routes/renew/$name.tsx` for `owner` returns **zero** hits. Nothing in the loader asks who owns the name.
There is also a second path, through the profile page, in which the app's **own shipped warning is suppressed**. `features/renew/utils/thirdPartyRenewalWarning.ts` is:
```ts
export const shouldShowThirdPartyRenewalWarning = (isOwner: boolean | undefined) => isOwner === false
```
and `features/profile/components/view/ProfileRenewAction.tsx:66` uses it to gate `ThirdPartyRenewalDialog`, whose text reads:
> *"Renewing this name will add time to the **current owner's** registration. You won't gain ownership of the name, but you will make someone's day."*
`isOwner` is computed from the **normalised** name — `features/profile/service/profileOwner.ts:25` `normalizeEthName(params.name)` — so for a confusable spelling it resolves to the **victim**, `isOwner` is `true`, and the dialog is skipped. `ProfileRenewAction.tsx:81-87` then links to `/renew/$name` with the **raw** name. The app suppresses its own "you are renewing someone else's name" warning in precisely the case where the warning is true.
The victim then performs only ordinary actions: open a link, click Renew, approve a renewal.
### 6. Steps to reproduce
Everything needed is inside this document. The four proof-of-concept files are reproduced verbatim in **Appendix A** — nothing to fetch, nothing to unpack. Three are vitest files that run inside the Manager workspace against **real production code**; the fourth is a standalone script that talks to the **deployed** ENSv2 registrar on the fork.
**Result on the frozen tree at `1c9b47f`: 16/16 vitest tests passing, plus the standalone registrar script green (20/20 assertions).**
#### 6.1 Requirements
* Node 22+, pnpm 10, and `pnpm install` at the repo root
* Foundry's `anvil` on `PATH` (certified on **anvil 1.7.1**, commit `4072e487…`)
* A Sepolia RPC endpoint for the fork (read-only; every transaction is mined locally)
#### 6.2 Bring up the fork — pin the block
```
anvil --fork-url <your-sepolia-rpc> --fork-block-number 11554475 --chain-id 11155111 --port 8545
```
⚠ **The block pin matters, and please do not skip it.** The PoC registers two fixed labels. At recent Sepolia heads one of them has since been registered upstream, so an *unpinned* fork reverts `NameNotAvailable(string)` (`0x477707e8`) during setup and the fork tests **self-skip rather than fail** — which reads as a broken PoC when it is actually a taken name. Pinned to 11554475 the run is deterministic and reproduces the exact transaction hash quoted in §7b. **Restart anvil between runs**: the PoC mines state, and a dirty fork skips for the same reason.
#### 6.3 Where each file goes
| source in Appendix A | destination in the tree |
| -------------------- | ------------------------------------------------------------------ |
| **01** | `apps/manager/src/features/renew/renewNameSplit.poc.test.ts` |
| **02** | `apps/manager/src/features/renew/renewBillingTerminal.poc.test.ts` |
| **03** | `apps/manager/src/features/renew/renewHeaderDisplay.poc.test.tsx` |
| **04** | `e2e/scripts/poc-nonnormalized-register.ts` |
#### 6.4 Run
```
# from apps/manager
TZ=UTC pnpm vitest run src/features/renew/renewNameSplit.poc.test.ts \
src/features/renew/renewBillingTerminal.poc.test.ts \
src/features/renew/renewHeaderDisplay.poc.test.tsx
# from the repo root, for 04
pnpm --filter e2e exec tsx scripts/poc-nonnormalized-register.ts
```
`TZ=UTC` is required: seven unrelated date-helper tests in this workspace are timezone-sensitive.
File `01` alone reproduces the core derivation split and needs **no network, no chain and no deployed infrastructure** — every chain answer is supplied by a mock keyed on **the name it is asked for**, so the test cannot manufacture the split: whichever derivation the application uses is the one it gets an answer for. Files `02` and `04` are the ones that need the pinned fork, because they mine the money movement.
### Proof of Concept
### 7. Proof of concept
**All PoC source is reproduced in full in Appendix A of this document** — nothing to fetch. §6 carries each file's destination, the run commands and the fork pin; the run transcripts are below.
`apps/manager/src/features/renew/renewNameSplit.poc.test.ts`
> **Source: file `01` in Appendix A of this document** (`renewNameSplit.poc.test.ts`). (10,525 characters; reproduced there rather than inline here for readability. Byte-for-byte what was executed.)
#### Output — unmodified production code
```
Test Files 1 passed (1)
Tests 9 passed (9)
```
#### What it asserts
* **POSITIVE ×2** (`U+200B`, NFD) — the real v2 route loader returns `currentExpiry` equal to the victim's expiry *and* a `label` whose `labelhash` differs from the gated name's. One route parameter, two on-chain names, every gate passed.
* **POSITIVE ×2** (`U+200B`, NFD) — the real pricing query bills the label the loader returned, not the name the loader proved renewable. This is the money leg.
* **ROOT CAUSE** — `parseRenewableName`, the shared helper, returns a label that is not the ENSIP-15 label, for all five spellings in §4. This is the single site that explains every consumer in the §2 table.
* **SECOND CONSUMER** — the v1 route's on-chain renewability check is made about the **raw** label, while the same route's protocol and expiry gates are decided by the normalised name.
* **ORACLE (non-vacuity)** — with an already-canonical spelling both derivations agree and the billed label equals the gated label. The split is caused by the spelling, not by how the test drives the code.
* **ORACLE (gate provenance)** — the registry was interrogated about the **normalised** name and never about the raw one, so "the victim's expiry" is a property of the application, not of the mock.
* **ORACLE (helper is exact where it should be)** — the same helper agrees with ENSIP-15 for canonical *and* uppercase spellings, which is both a non-vacuity check and the distinguisher described in §8.
#### Negative control — one fix at the root cause, executed in-tree, then reverted
Applied to `features/renew/utils/renewableName.ts:25` — canonicalise before deriving the on-chain label:
```ts
export const parseRenewableName = (name: string) =>
parseName(normalizeEth2LdName(name)?.name ?? name).andThen((parsedName) => {
```
With that single change to production code:
```
Tests 6 failed | 3 passed (9)
AssertionError: expected 'vitalik' not to be 'vitalik' // v2 loader, U+200B
AssertionError: expected 'café' not to be 'café' // v2 loader, NFD
AssertionError: expected 'vitalik' not to be 'vitalik' // pricing, U+200B
AssertionError: expected 'café' not to be 'café' // pricing, NFD
AssertionError: expected 'vitalik' not to be 'vitalik' // ROOT CAUSE
AssertionError: expected 'vitalik' to be 'vitalik' // SECOND CONSUMER (v1)
```
**All six defect assertions fail, across both routes and both consumers, from one five-line change** — and **all three non-vacuity oracles still pass**, which is what distinguishes a fix from a test that merely broke. The control was reverted; production `git diff` is empty and the positive run returns to 9/9.
#### Regression
Full Manager suite, `TZ=UTC`, with both PoC files present and the fork running: **188 files / 1607 tests, 1601 passing, 4 skipped**. Two tests fail, both in a *different, pre-existing* test file unrelated to this report. I verified that this report does not cause them by re-running the entire suite with this PoC file removed: the same two tests fail identically (186 files / 1595 tests, 2 failed). That file also passes when run on its own, so the failure is an ordering interaction inside that older file, not something introduced here. Production `git diff` is empty throughout; the only change to the tree is the single added `*.poc.test.ts` above.
### 7b. The impact, executed on chain — mined, with controls
§7 proves the *derivation split* in the application. This section proves the *consequence*: that the split moves money to the attacker. It is a separate artifact that mines real transactions against the **deployed** ENSv2 contracts on a local Anvil fork of Sepolia.
It is deliberately built so that the label is produced by **in-scope production code** and the money movement is a **mined transaction** — not two separate arguments joined by prose.
**Environment (recorded so the result is reproducible and cannot be vacuous):**
* local Anvil **Sepolia fork pinned to block `11554475`**, chainId `11155111`, started fresh for the run: `anvil --fork-url <sepolia-rpc> --fork-block-number 11554475 --chain-id 11155111` ⚠ **Pin the block.** The PoC registers two fixed labels, and at recent Sepolia heads one of them has since been registered upstream, so an unpinned fork reverts `NameNotAvailable(string)` (`0x477707e8`) during setup and the fork tests self-skip. Pinned, the run is deterministic — it reproduces the same transaction hash quoted below on every fresh fork. Restart Anvil between runs; the PoC mines state.
* anvil pinned by digest `sha256:8347b728…` (foundry 1.7.1) — the pin the project's own `e2e/infra/docker-compose.yml` uses
* `ETHRegistrar` `0xa88553F454b77203B0D036A05c894d555EAAa2Cc`, codehash `0x7ac653f817e6bef6543d25ce97235b232430b1771ab5bcb27b936798fe38af1f`
* `rentPriceOracle` read **from the registrar**, not from a constant → `0x8914b66260EB8C4fff795650c3AE8Cd335958987`, codehash `0x995b0ecd2f3f9a45a99bab6ebb8324b1c0d838b8abc4f1c3004085d7f856a8af`
#### 7b.1 The registrar screens length only — no character-set rule
Read-only `eth_call`s against the deployed oracle. `isValid(string)` counts **codepoints** and requires **>= 3**:
| label | `isValid` | `getLength` |
| -------------- | --------- | ----------- |
| `a` | **false** | 1 |
| `ab` | **false** | 2 |
| `abc` | true | 3 |
| `cool` | true | 4 |
| `COOL` | **true** | 4 |
| `co<U+200B>ol` | **true** | 5 |
| `co<U+00AD>ol` | **true** | 5 |
| `café` (NFD) | **true** | 5 |
Confirmed at the registrar via `getRegisterPrice(label, 1yr, USDC)`: `COOL`, `co<U+200B>ol` and NFD `café` all return a live price; `a` reverts `NotValid(string)` (`0xdbfa2886`); `cool` reverts `NameNotAvailable(string)` (`0x477707e8`) because it is already registered.
That last pair is worth stating plainly: **`cool` is taken while `COOL` is free.** The registrar itself reports them as two different names.
#### 7b.2 An attacker can register the confusable label into the victim's wallet
Mined on the fork. The attacker signs and pays; the victim never signs anything.
| assertion | `ZQXVBN` | `zqx<U+200B>vbn` |
| --------------------------------------------------- | ---------------- | ---------------------- |
| `register()` mined, status success | ✓ | ✓ |
| `NameRegistered` label **byte-identical** to input | `0x5a515856424e` | `0x7a7178e2808b76626e` |
| `NameRegistered.owner` == victim | ✓ | ✓ |
| registry `getState().latestOwner` == victim | ✓ | ✓ |
| normalized twin `zqxvbn` still available afterwards | true → true | true → true |
The chain stored each label byte-for-byte — it did not normalise, lowercase or reject it — and `register(string label, address owner, …)` takes the beneficiary as an argument, so this is one transaction with no victim interaction.
#### 7b.3 The billing terminal — the victim pays, the attacker's name is extended
This test imports the **real production helper** `parseRenewableName` and sends the label it produces to the deployed registrar, signed and paid by the victim.
```
renew tx 0x33052f04b52d35b56e002fe9db50fe962aae110f4abc902db976147f8898eeb8 (block 11554487)
billed label "zqxvbn" utf8=0x7a7178e2808b76626e
victim expiry 1789962188 -> 1789962188 (delta 0)
attacker expiry 1789962249 -> 1821498249 (delta 31536000)
victim USDC 100998772598 -> 100990772577 (paid 8000021)
```
**The victim paid 8,000,021 USDC units. The attacker's registration gained exactly one year. The victim's own name gained nothing.**
#### 7b.4 Negative control — executed in-tree, then reverted
The same minimal fix as §7, at the single root cause (`apps/manager/src/features/register-v2/utils/name-parser.ts:46`, `trim().toLowerCase()` → ENSIP-15 `normalize`):
* defect assertion 1 **fails** — the billed label no longer differs from the gated name
* defect assertion 2 **fails** — `attackerAfter - attackerBefore`: **`31536000n` → `0n`**
* **the oracle test still passes** — *"the same call with the NORMALISED label extends the victim instead"* survives the fix
That last line is the point of including it: the failures above are the defect dying, not the harness breaking. Reverted afterwards; production `git diff` across `apps/ packages/ workers/` is **0 lines**; re-ran green 3/3.
**The same single change was then run against every proof in this report at once.** ApplieNot written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity business logic bug in https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready/apps/manager. Immunefi made it public on 8 September 2026.
About Business logic
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.