Skip to content
Business logic Audit finding Advanced

The app acts on a different ENS name than the one it displays and just verified you own — an unsolicited airdrop turns "get rid of this junk" into irreversible loss of a valuab

The portal derives transaction arguments from a re-normalised version of the user's selected ENS name, while the ownership guard and every screen refer to the name as displayed. An attacker can airdrop a confusable twin name to a victim, so that when the victim transfers or renews what they see, the app acts on a different, valuable name instead.

bigmo6286 Follow

Originally disclosed on Immunefi

Critical View original
  • Disclosed after under an hour
# 89917 w a critical the app acts on a different ens name than the one it displays and just verified you own an unsolicited airdrop turns get rid of this junk into irreversible loss of a valuab 

**Submitted on Aug 21st 2026 at 20:46:35 UTC by @bigmo6286 for** [**Audit Competition | ENS**](https://immunefi.com/audit-competition/audit-competition-ens)

* **Report ID:** #89917
* **Report Type:** Websites & Apps
* **Report severity:** Critical
* **Target:** <https://github.com/immunefi-team/audit-comp-ens/tree/audit-comp-ready/apps/portal>
* **Impacts:**
  * Malicious interactions with an already-connected wallet, such as: Modifying transaction arguments or parameters Substituting contract addresses Submitting malicious transactions Signing or submitting a transaction against the wrong chain (for example when the request's target chain is not validated) Inducing a blanket token approval (for example setApprovalForAll on the registry or NameWrapper) to an attacker-controlled address

## Description

## Brief/Intro

**The app acts on a different name than the one it shows the user and the one it just checked they own.**

| the victim acts on                                                        | what the chain receives                                                                  |
| ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| clicks *Transfer* on `Alicetwin.eth`, an unsolicited name in their wallet | `safeTransferFrom` of **`alicetwin.eth`** — their valuable name, gone irreversibly       |
| clicks *Extend* on `�
�ictimtest.eth`, their own name                       | `renew("victimtest")` — the **attacker's** name, billed 8.000021 USDC to the victim      |
| picks `�
�ictimprim.eth` as their primary name                              | claims **`victimprim.eth`** — the **attacker's** name, as the victim's on-chain identity |

All three are executed on-chain in the PoC, against the real deployed Sepolia contracts.

Two things make it possible. First, ENSv2 puts no charset constraint on labels, so `�
�ictim.eth` (U+2164 ROMAN NUMERAL FIVE) and `victim.eth` are two independently registrable, independently owned names that render identically. Second, the app re-normalises the user's *selection* at transaction-construction time — `getLabel()` runs `ens_normalize`, and every write hook derives its arguments from the result — while the authorisation check and the entire interface keep referring to the name the user actually chose.

On the transfer path that split is the whole finding: the route's ownership guard verifies the user owns the **displayed** name, and passes honestly because they do; `useTransferName` then resolves the ERC-1155 token id from the **normalised** name. The guard and the transaction are answering two different questions.

The attacker establishes the precondition alone: v2 names are ERC-1155, so `safeTransferFrom` pushes the confusable twin into any wallet with no approval and no action from the recipient. The victim's ordinary response to unsolicited junk — moving it out — is what destroys their valuable name.

***

## Vulnerability Details

### Root cause

`apps/portal/src/utils/token/getLabel.ts`

```ts
export function getLabel(name: string): string {
  const normalized = ens_normalize(name)   // rewrites the caller's selection
  const labels = ens_split(normalized)
  const first = labels[0]
  if (!first || first.error) throw first?.error
  return String.fromCodePoint(...first.input)
}
```

The transaction encoders are not at fault. `transferToken.ts`, `saveRecords.ts`, `grantRoles.ts` and `revokeRoles.ts` all take their `label` / `tokenId` argument verbatim. The defect is in **argument derivation**, one level up, in the hooks that feed them.

### The authorisation/action split on the transfer path

| step            | file:line                                                                                                 | operates on             |
| --------------- | --------------------------------------------------------------------------------------------------------- | ----------------------- |
| ownership guard | `routes/$name/ownership/transfer.tsx:104` — `isAddressEqual(address, data.owner)`                         | the **displayed** name  |
| token id        | `features/transfer/hooks/useTransferName.ts:113,132` — `getLabel(name)` → `getTokenId(label)`             | the **normalised** name |
| encode          | `features/transfer/helpers/transferToken.ts:69` — `safeTransferFrom(owner, recipient, tokenId, 1n, '0x')` | the **normalised** name |

The guard is not bypassed. It passes correctly, because the victim genuinely owns the displayed name — it is simply answering a different question from the one the transaction acts on.

**The victim's consent does not cover this.** They may well type the destination address knowingly — that is not the defect. What they consent to is *"transfer **this** name, the one on screen, to that address"*, and the ownership guard confirms they own precisely that name before allowing it. The transaction then moves a **different token**. Consent here is scoped to an asset as well as a recipient, and it is the asset that is substituted, silently, with the valuable name named nowhere in the interface.

The finding does not depend on the attacker receiving the name at all. A victim who simply dumps the unsolicited junk to a burn address — no attacker-supplied address anywhere in the flow — loses their valuable name just the same, irreversibly.

### The same divergence on other write paths

| call site                                                                                                | argument derived from the normalised label                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `features/renew/hooks/useRenewalTransactions.ts:197`                                                     | the label passed to `renew()`                                                                                                                                                                                                                |
| `features/transfer/hooks/useTransferDetachTargets.ts:60`                                                 | `detach-registry` / `detach-resolver` label                                                                                                                                                                                                  |
| `features/reverse-resolution/.../useReverseResolutionMutations.ts:86`, `hooks/useSetL2ReverseName.ts:90` | the name written by `setName` on the L1 and L2 reverse registrars                                                                                                                                                                            |
| `apps/manager/.../setPrimaryName.ts:49,163-169`                                                          | the name claimed by `setNameWithHCA`, while `saveRecords` (`ChoosePrimaryNameDialog.tsx:228`) and `setupControlledResolver` (`:277`) in the same dialog use the **raw** name. **Executed on-chain — see "The Manager leg, executed" below.** |
| `apps/manager/.../profileOwner.ts:25,56`                                                                 | *who owns this name* — which gates the edit and renew actions                                                                                                                                                                                |
| `features/renew/hooks/useIsRenewable.ts:40`, `register/hooks/useBaseRate.ts:56`                          | renewability and price tier                                                                                                                                                                                                                  |

### The Manager leg, executed

The Manager half is demonstrated, not argued. "Choose primary name" derives **two names from one selection**: it claims `withEthSuffix(selection)` via `setNameWithHCA`, while writing the forward `addr` record and the resolver setup on the **raw** `selectedName`. Against the real deployed Sepolia contracts, the victim registers and selects **their own** name:

```
== step 3: the victim opens 'Choose primary name' and picks THEIR OWN name ==
   the dialog claims withEthSuffix(selection) = [victimprim.eth]
   BEFORE nameForAddr(victim) = ""
   AFTER  nameForAddr(victim) = "victimprim.eth"

PASS: the normalised twin [victimprim.eth] is owned by the ATTACKER
PASS: the victim's address now reverse-resolves to [victimprim.eth]
PASS: that is NOT the name the victim selected (�
�ictimprim.eth) — it is the attacker's
```

The victim's on-chain identity is now a name the **attacker** owns and whose resolver they control, so they can point its `addr` record anywhere at any time. Everything that reverse-resolves the victim — this Manager, other dApps, explorers — renders them as a name that resolves to the attacker.

### Executed end to end through the shipped interface

Not just at the calldata layer — **driven through the real UI, and the chain moved.** Explorer at the audited commit, anvil fork of Sepolia, real deployed contracts, the app's own wallet connector.

Setup, on-chain: the victim registers `alicetwin.eth`; the attacker registers the capitalised twin `Alicetwin.eth` and `safeTransferFrom`s it to the victim — no approval, no action from the victim.

Then everything below happened **in the browser**:

| step                                         | what the victim saw                                                |
| -------------------------------------------- | ------------------------------------------------------------------ |
| opened `/Alicetwin.eth`                      | main panel reads *"Invalid name"* — **but the left nav is intact** |
| clicked **Ownership** in that nav            | `/Alicetwin.eth/ownership` renders normally                        |
| opened the transfer form                     | header and page read **`Alicetwin.eth`** throughout                |
| typed a recipient, clicked **Transfer name** | —                                                                  |
| confirmation modal                           | **"Transfer name - Alicetwin.eth"**                                |
| clicked **Open wallet**, signed              | —                                                                  |

Result on chain:

```
owner(Alicetwin.eth  JUNK, the name every screen named) = 0xf275979c…ea73  (still the victim)
owner(alicetwin.eth  VALUABLE, never shown anywhere)    = 0x…00dd          (LEFT the wallet)

recipient balance Alicetwin.eth = 0
recipient balance alicetwin.eth = 1
```

The victim still holds the name they acted on. The name they never saw is gone. Screenshots and the full transcript are in `screenshots/` (`REPLAY-RESULT.txt`, `replay-through-the-ui.mjs`).

**Why the victim has nothing to notice.** Every screen in that table names `Alicetwin.eth` — which is *exactly the name they set out to get rid of*. The interface is not showing them something wrong that a careful user could catch; it is confirming their intention at every step, and the name that would alarm them — `alicetwin.eth` — is rendered **nowhere in the flow**. The substitution happens after the last thing they are shown. And even if the app did print the name it moves: here the two differ by one capital letter that reads as styling, and in the renew leg (`�
�ictimtest.eth` vs `victimtest.eth`, U+2164) the two strings are **visually identical** — no degree of care distinguishes them by eye.

**On the "Invalid name" message.** The name *overview* tab does reject un-normalised names (`routes/$name/index.tsx:459`). It does not stop this: the tab is one of ten in a nav that stays fully rendered, and `ownership`, `ownership/transfer`, `roles`, `registry` and `history` all work normally — as the replay above demonstrates by walking through it.

### Why nothing in the interface reveals it

**Screenshots attached** (`screenshots/`), captured against the Explorer at the audited commit with both twins registered to one wallet — the exact state an airdrop produces. On the transfer page for `Alicetwin.eth`:

* the page names **`Alicetwin.eth`**, and the string `alicetwin.eth` — the name the transaction will actually move — appears **nowhere on it**;
* the app's own warning reads *"Transferring ownership of an ENS name is irreversible. Make sure you check the **recipient address** before proceeding"*, directing attention at the one value that is **not** substituted;
* the wallet is connected and `Transfer name` is the only remaining step.

One honest caveat, since it is visible in the third screenshot: the name **overview** tab (`routes/$name/index.tsx:459`) *does* reject an un-normalised name with "Invalid name". That is the validator working, and it does not block this attack — `ownership`, `ownership/transfer`, `roles`, `registry` and `history` all render the twin normally, which the first screenshot shows. Only the overview tab gates on `isValidEnsName`.

Price, renewability and the confirmation copy are all computed from the same normalised label, so every independent-looking signal corroborates the same wrong answer. At U+2164 the two strings render identically. The Explorer's history page compounds this: `features/history/hooks/useNameHistoryTimeline.ts:231` normalises before querying the indexer, so the twin's page displays the **genuine** name's full on-chain provenance — registration date, transfers, events.

### Attacker-established precondition

v2 names are ERC-1155. `safeTransferFrom` pushes a token to any EOA with no approval and no recipient action, so the attacker creates the "victim holds both twins" condition unilaterally. This is not assumed — it is the first half of the transfer PoC, executed on a Sepolia fork against the real deployed registry:

```
attacker registers Alicetwin.eth (the un-normalised twin)   status 1 (success)
owner(Alicetwin.eth) = 0x667ff918754239bc5dfb39efe943f29c735e7cb4   (the attacker)

safeTransferFrom(attacker -> victim, id, 1, 0x)             status 1 (success)
owner(Alicetwin.eth) = 0xf275979c946a60a83a3799597166a399c833ea73   (the victim)

PASS: the victim now holds BOTH twins, having taken NO action
```

**Target selection needs nothing the attacker does not already have.** ENS is a public registry: the pairing of a name to its owner's address *is* the product. One unauthenticated query against the app's **own default indexer** (`https://staging-graphql.ens.dev/`, `packages/indexer/urql/client.ts`) returns both:

```
{ domains(first: 8, orderBy: createdAt, orderDirection: desc) { name owner { id } } }
```

And the twin does not need exotic Unicode. **A capital letter is enough** — ENSIP-15 lowercases, while ENSv2 registers the raw label, so `Alice.eth` and `alice.eth` are two different names that normalise to the same label. Run against six real names taken straight from that indexer response:

```
victim owns jeooi.eth      owner 0x54951ff83fa89da157405704547b2df4998c78a2
attacker registers Jeooi.eth      -> normalises to 'jeooi'   collides=true
victim owns sajluuf.eth    owner 0xa6579401a351b8c2796598f27ce161bfba0755b2
attacker registers Sajluuf.eth    -> normalises to 'sajluuf' collides=true
victim owns siildwp.eth    owner 0x68a8ce7388ed0db94b4627a3cdb320e46d25dcc2
attacker registers Siildwp.eth    -> normalises to 'siildwp' collides=true

6/6 targets collide using nothing more exotic than a capital letter.
```

So the full targeting chain is: one public query for names and owners → register the capitalised twin (\~$5/yr) → one `safeTransferFrom` to the owner's address. No approval, no interaction, and nothing about it is name-specific, so it scripts across the whole registry.

### Not a duplicate of EXP-INPUT-005

The disclosed entry states: *"Our **name validators accept inputs** that ENS normalization later rejects or transforms… **The practical impact is homograph-style display confusion in our UI rather than incorrect resolution.**"*

Both halves exclude this report. It is scoped to **validators accepting input**; the name here arrives on-chain — airdropped, or registered earlier — and never passes a validator on this path, the divergence being created at transaction-construction time, after validation. And ENS's own impact statement is *display confusion rather than incorrect resolution*, whereas this is a `safeTransferFrom` against a different token than the guard authorised and a `renew` against a different name than was paid for, both demonstrated on-chain.

**That fix is already in this codebase, and this bug survives it — demonstrated, not argued.** EXP-INPUT-005's status is *"open, fix ready"*, and the reject-the-input machinery it describes exists today at `apps/portal/src/utils/token/isNormalized.ts` — `isValidEnsName`, `isNormalized`, `getLabelRegistrationError`. It works. It is also a **sibling file, in the same directory**, as the module that causes this bug.

`poc/F3-survives-EXP-INPUT-005-fix.test.ts` runs the app's own modules and passes 5/5:

```
✓ EXP-INPUT-005 fix is PRESENT and EFFECTIVE
    the validator rejects the confusable twin as a name
    the validator refuses to let it be registered
✓ F3 SURVIVES that fix: the write path rewrites instead of rejecting
    getLabel silently returns a DIFFERENT name for the input the validator rejected
    so the label used to build the transaction is not the label selected
    getLabel never consults the validator, so no validator fix can reach it
```

Given the *same* input, `isValidEnsName('Alicetwin.eth')` returns `false` and `getLabelRegistrationError('Alicetwin')` returns *"Label contains invalid or non-normalized characters."* — while `getLabel('Alicetwin.eth')` returns `'alicetwin'`, silently, without throwing. The validator says no; the transaction builder hands back a different name.

The wiring is disjoint, and that is the whole finding:

| module                        | what it does with a non-normalised name | consumers                                                                                                                                      |
| ----------------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `utils/token/isNormalized.ts` | **rejects** it                          | 6 — search suggestions, route guards, create-subname, registration input                                                                       |
| `utils/token/getLabel.ts`     | **rewrites** it                         | 9 — including `useTransferName`, `useRenewalTransactions`, `useTransferDetachTargets`, `useIsRenewable`, `useBaseRate`, `useRegistrationPrice` |

**Not one transaction-construction hook imports the validator.** So no amount of fixing EXP-INPUT-005 reaches this: the validator guards the doors, and the write path was never behind one. The fix here is the opposite of theirs — stop normalising the selection in the write path, or refuse to act when `normalize(selected) !== selected`.

**The known-issues preamble admits this twice.** Anything not listed is in scope *"including: issues we fixed incorrectly or incompletely (**a bypass of a shipped fix is a new finding**)"* and *"**new consequences of a listed root cause that materially change its severity**"*. The first clause is the 5/5 above. The second covers even the most generous reading for a triager — that the two share a root cause — since the consequence still moves from ENS's own *"display confusion … rather than incorrect resolution"* to an ERC-1155 transfer the ownership guard never authorised.

**ENS has already carved this class out as new.** Known issue **QA-03** calls its own price mismatch *"display-level only"* and states: *"**A mismatch between the displayed total and the amount actually charged on-chain would be a new finding.**"* That is exactly the renew leg.

That these are separate defects is visible in the repo: `roles/helpers/grantRoles.ts` and `revokeRoles.ts` derive from the **raw** label, so they are unaffected by this bug while remaining equally exposed to EXP-INPUT-005.

***

## Impact Details

Two ENS names can look **identical on screen** while being two different names owned by two different people — `�
�ictim.eth` and `victim.eth` above. The attacker registers the look-alike twin of a name the victim owns. Then:

**1. The victim loses their valuable name, permanently.** A stranger pushes an unwanted name into the victim's wallet. They did not ask for it and could not refuse it. The victim clears it out, the way anyone clears spam out of a wallet. The app sends **their valuable name** instead. It is gone and cannot be recovered. The valuable name is never shown on screen at any point in that flow.

**2. The victim pays to renew a stranger's name.** They click "Extend" on their own name to stop it expiring. They are charged, and the renewal is applied to the **stranger's** name. Their own name keeps counting down, and when it expires the stranger can take it too.

**3. The victim's public identity becomes the stranger's name.** They set their own name as their public ENS identity. The app registers the **stranger's** name as their identity instead. Anyone who looks up their wallet — other apps, explorers, other people — now sees a name the stranger owns and can repoint at any moment.

In all three the victim did the ordinary thing, the app showed them the correct name at every step, and the transaction it actually sent used a different one. **At no point does the interface display the name being acted on.**

Every one of the three is executed on-chain in the PoC against the real deployed contracts — they are not hypotheticals.

### Which in-scope impacts this matches

Taken directly from this program's *Impacts in Scope* list. Each row is demonstrated by the PoC.

| Published impact                                                                                                                                                                                                                                         | Severity     | Demonstrated by                                                                                                                                                                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| "Malicious interactions with an already-connected wallet, such as: **Modifying transaction arguments or parameters**"                                                                                                                                    | **Critical** | `useTransferName` and `useRenewalTransactions` build their calldata from `getLabel(name)`, a *different* label than the one the user selected and the guard authorised. Both legs print the divergent argument.                                                 |
| "Causing the application to … pre-fill an incorrect address, name, or transaction detail … **resolving or rendering an ENS name to an attacker-controlled address** … **showing the wrong recipient or amount on a transaction the user then approves**" | **Critical** | *Explorer:* displays `�
�ictimtest.eth`, user approves, chain receives `renew("victimtest", …)`, victim charged 8000021 USDC units for a name they do not own. *Manager:* victim selects their **own** name and is left reverse-resolving to the attacker's twin. |
| "**Direct theft of user NFTs**"                                                                                                                                                                                                                          | **Critical** | The victim's valuable ERC-1155 name leaves their wallet to an address of the attacker's choosing, while the junk name they actually clicked stays. Irreversible.                                                                                                |
| "**Direct theft of user funds**"                                                                                                                                                                                                                         | **Critical** | The victim pays USDC that extends the *attacker's* registration; their own name keeps expiring. `buildRenewalApproveIntent` approves `tokenPrice * 2n` besides.                                                                                                 |

**Irreversible loss of a valuable ENS name.** Continuing the same run: the victim, now holding both twins through the airdrop above, disposes of the junk one, and the valuable one leaves their wallet.

```
displayedName            "Alicetwin.eth"     (the guard verified the user owns THIS)
labelUsedForTokenId      "alicetwin"         (what the transfer actually moves)
divergent                true

BEFORE owner(alicetwin.eth  VALUABLE) = 0xf275979c…ea73   (the victim)
BEFORE owner(Alicetwin.eth  junk)     = 0xf275979c…ea73   (the victim, via the airdrop)
       status 1 (success)
AFTER  owner(alicetwin.eth  VALUABLE) = 0x…00dd           left the wallet
AFTER  owner(Alicetwin.eth  junk)     = 0xf275979c…ea73   still theirs
```

The attacker never touched the victim's valuable name; the victim's own disposal of unsolicited junk moved it.

Where the valuable name ends up is decided by the destination the victim types: the bug substitutes the **asset**, not the recipient. Two cases follow. If the attacker engineers the transfer — most simply by offering to buy the unsolicited name — the victim enters the attacker's address and the valuable name lands there, which is outright theft. If the victim is merely clearing junk out of their wallet, it goes to a burn address or a spare wallet instead: no gain for the attacker, the same irreversible loss for the victim. In neither case does the interface ever display the valuable name — the victim sees only the junk name they selected — so there is no point in the flow at which the substitution is visible.

**Funds spent renewing an attacker's name while the victim's own expires.** Executed, self-verifying:

```
PASS: attacker's victimtest.eth WAS extended (+31536000s)
PASS: victim's �
�ictimtest.eth is UNCHANGED (the name they clicked)
PASS: victim was CHARGED 8000021 USDC units
```

The victim's own name continues to expire; once it lapses the attacker can register it. The approval for this is built by `buildRenewalApproveIntent` (`useRenewalTransactions.ts:145-157`) for `tokenPrice * 2n` — twice the displayed price, with no amount shown anywhere in the interface.

**A reverse record claiming a name the victim does not own.** `setName` writes the normalised twin while the input field, the not-registered warning, the transaction-modal title and the success toast all display the raw input. If the attacker points the twin's `addr` at the victim, ENSIP-19 forward verification passes and wallets render the victim's address under the attacker's identity.

**Ecosystem impact and economics.** ENSv2 moved charset enforcement out of the protocol and into clients, and the reference client is the one others copy — so a first-party client that acts on a different name than it displays undermines the core guarantee at the root. Cost per target: one registration (\~$5/yr) plus one `safeTransferFrom`, against a target list the indexer hands out for free (see *Attacker-established precondition*).

***

## References

**The rewrite**

* `apps/portal/src/utils/token/getLabel.ts` — `ens_normalize` on the caller's selection

**Authorisation/action split**

* `apps/portal/src/routes/$name/ownership/transfer.tsx:104` — guard on the displayed name
* `apps/portal/src/features/transfer/hooks/useTransferName.ts:113,132` — token id from the normalised name
* `apps/portal/src/features/transfer/helpers/transferToken.ts:69` — `safeTransferFrom`

**Other affected writes**

* `apps/portal/src/features/renew/hooks/useRenewalTransactions.ts:197`, `:145-157`
* `apps/portal/src/features/transfer/hooks/useTransferDetachTargets.ts:60`
* `apps/portal/src/features/reverse-resolution/components/ReverseResolutionTable/hooks/useReverseResolutionMutations.ts:86`
* `apps/portal/src/features/reverse-resolution/hooks/useSetL2ReverseName.ts:90`
* `apps/manager/src/features/profile/service/setPrimaryName.ts:49,163-169`
* `apps/manager/src/features/dashboard/components/ChoosePrimaryNameDialog.tsx:228,277` — the same dialog, raw name
* `apps/manager/src/features/profile/service/profileOwner.ts:25,56`

**Provenance spoofing**

* `apps/portal/src/features/history/hooks/useNameHistoryTimeline.ts:231`

**The correct p

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

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 write path re-normalises the user's selection via getLabel() and derives the token id and label from that normalised result, while the authorisation check and UI use the raw displayed name, so the guard and the transaction answer different questions.

Impact

The victim could permanently lose a valuable name, pay to renew an attacker's name, or have their on-chain identity set to an attacker-controlled name; the overview tab rejects un-normalised names but other tabs still render and act on them.

What the attacker needed

Attacker registers a confusable twin; attacker airdrops twin to victim; victim transfers or renews the twin

The fix

The write path should stop normalising the user's selection and instead refuse to act when the normalised form differs from the selected name.

How it was found

  1. The attacker registers the confusable twin of a name the victim owns.
  2. The attacker sends the twin to the victim's wallet via safeTransferFrom, with no approval or action from the victim.
  3. The victim opens the twin's ownership transfer page, which displays the twin's name throughout.
  4. The victim enters a recipient and confirms the transfer in the wallet.
  5. The chain receives a transfer of the victim's valuable name instead of the displayed twin.

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.

ENS names are like usernames on a blockchain. Some characters look identical on screen but are actually different characters, so two different names can appear the same. Here the app checked the user owned the name shown on screen, but then built the transaction using a cleaned-up version of that name, which pointed at a different name the attacker owned.

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.

More by bigmo6286

View all

1 more disclosed report, best first.

More from ENS

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.