The Explorer's resolver-roles editor writes a scope the administrator never chose: narrow grants are signed as resolver-wide (ROOT), and "remove from all roles" leaves ROOT sta
The Explorer's resolver-roles sidebar collapses a set of grant scopes into a single string where the empty value means root, so saving a row with an unresolvable scope signs a resolver-wide grant, and removing a user who holds both root and name grants revokes only one name while root authority survives. An administrator could therefore grant far wider authority than intended, or believe a user was fully removed while that account still controls every name on the resolver.
Originally disclosed on Immunefi
- Disclosed after under an hour
92527 w a critical the explorer s resolver roles editor writes a scope the administrator never chose narrow grants are signed as resolver wide root and remove from all roles leaves root sta
#92527 [W&A-Critical] The Explorer's resolver-roles editor writes a scope the administrator never chose: narrow grants are signed as resolver-wide (ROOT), and "remove from all roles" leaves ROOT sta...
Submitted on Sep 10th 2026 at 13:24:10 UTC by @Thrush48610 for Audit Competition | ENS
- Report ID: #92527
- 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
The Explorer's resolver-roles editor writes a scope the administrator never chose: narrow grants are signed as resolver-wide (ROOT), and "remove from all roles" leaves ROOT standing
Asset: apps/portal (Explorer) — named in the program's Assets in Scope Route: /resolver/$address/roles Impact row: Critical — "Malicious interactions with an already-connected wallet, such as: Modifying transaction arguments or parameters" Proposed severity: Critical — the row this maps to (mitigating factors stated in §4.2) Verified against: Sepolia fork pinned at block 11661247; live indexer https://staging-graphql.ens.dev/ Artifacts: 2 PoC files, 11 tests, all passing
1. Summary
The Explorer lets the administrator of a PermissionedResolver manage who may write which records, at /resolver/$address/roles. Each role holder is a table row; clicking a row opens a sidebar where the admin ticks permissions and clicks Save, or clicks Remove user.
The resolver contract scopes every grant to a resource — a 32-byte hash. A grant may be global (the ROOT resource), scoped to a whole name, or scoped to an individual record. The Explorer's sidebar reduces whatever a row carries to one string, and in that encoding the empty string means root. Two opposite failures follow from that single reduction.
1.1 The app can only compute one kind of resource
buildResourceToNameMap is the whole of the app's reverse lookup. It maps the ROOT resource to '(root)' and then adds exactly one entry per node — resource(node, 0), the whole-name resource:
// apps/portal/src/lib/roles/resolverRoles.ts:147-160
export const buildResourceToNameMap = (
nodes: readonly { readonly name: string }[],
): Map<string, string> => {
const map = new Map<string, string>()
map.set(ROOT_RESOURCE, '(root)')
for (const node of nodes) {
if (node.name) {
map.set(computeNameResource(node.name).toLowerCase(), node.name)
}
}
return map
}
// apps/portal/src/lib/roles/resolverRoles.ts:134-141
/**
* Compute the EAC resource ID for a name (with part = 0).
* Mirrors `PermissionedResolverLib.resource(node, 0)` in Solidity.
*/
export const computeNameResource = (name: string): string =>
keccak256(
encodePacked(['bytes32', 'bytes32'], [namehash(name), ZERO_BYTES32]),
)
The library the app itself calls exposes four grant scopes, three of which produce resources this map can never contain:
// @ensdomains/ensjs/dist/actions/wallet/v2/grantResolverRoles.js:21-51
case 'root': ... functionName: 'grantRootRoles'
case 'name': ... functionName: 'authorizeNameRoles'
case 'text': ... functionName: 'authorizeTextRoles'
case 'addr': ... functionName: 'authorizeAddrRoles'
A text- or addr-scoped grant hashes a different preimage, so it is unmappable regardless of what the node list contains. So is a name-scoped grant whose name has left the node list.
1.2 The grouping merges every grant an account holds into one row
// apps/portal/src/lib/roles/resolverRoles.ts:176-179, 197
/**
* Groups resolver roles by account, decodes bitmaps, and resolves
* resource hashes to human-readable names when possible.
*/
export const groupRolesByAccount = <T extends RoleInput>(
...
const resolvedName = resourceToName?.get(resource) ?? null
Note two things the authors already knew: names resolve "when possible", and failure is materialised as null. The grouping keys on the account alone, so an account holding a ROOT grant and name-scoped grants collapses into a single row whose resolvedNames is a set containing '(root)' plus each resolvable name.
1.3 The display layer handles "unknown" correctly. The write layer does not.
The table renders nothing when the set is empty:
// apps/portal/src/features/resolver/components/ResolverRolesTable.tsx:70
if (names.length === 0) return null
The sidebar's scope hint is suppressed by the same condition, and when the set contains '(root)' it reports the row as global:
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:391-395
{selectedAccount && resolvedNames.length > 0 && (
<p className="text-sm text-muted-foreground">
{resolvedNames.includes('(root)')
? 'Global roles (all names)'
: `Roles scoped to ${resolvedNames.filter((n) => n !== '(root)').join(', ')}`}
Three code sites therefore already model "unknown" and "multiple". The fourth site — the one that decides what gets signed — flattens the set to one string:
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:167-169
const resolvedNames = row?.original.resolvedNames ?? []
const roleName = resolvedNames.find((n) => n !== '(root)') ?? ''
That single roleName drives both writes:
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:299 (Save)
name: roleName,
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:318 (Remove user)
name: roleName,
1.4 The empty string is not neutral — it is the ROOT sentinel
// apps/portal/src/features/resolver/helpers/grantResolverRoles.ts:20
/** Dotted name (e.g. "myname.eth") or empty string for ROOT_RESOURCE (all names). */
// apps/portal/src/features/resolver/helpers/grantResolverRoles.ts:47-57
name === ''
? {
resolverAddress,
targetAccount: account,
scope: 'root',
...
scope: 'name',
revokeResolverRoles.ts:47-57 is the structurally identical branch — same condition, same two scopes; the role-type cast and function names differ.
1.5 The two failures
Over-grant. When resolvedNames is empty, find returns undefined, ?? '' yields the ROOT sentinel, and Save emits grantRootRoles — authority over every record of every name on the resolver — instead of a scoped grant.
Under-revoke. When resolvedNames contains '(root)' and names, find skips root and returns the first name. Remove user then emits authorizeNameRoles(<one name>, …, false):
// @ensdomains/ensjs/dist/actions/wallet/v2/revokeResolverRoles.js:25, 32
functionName: 'revokeRootRoles', // scope 'root'
functionName: 'authorizeNameRoles', // scope 'name', last arg false
One name grant is revoked. The ROOT grant is never addressed — under a sidebar reading "Global roles (all names)" and a dialog reading:
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:446
Are you sure you want to remove this user from all roles? This
1.6 Nothing discloses the scope before signing
The transaction the admin is shown names only the account:
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:343, 348
transactionName: `Remove user ${account}`,
transactionName: `Update roles for ${pendingAction?.account ?? ''}`,
The table cell is blank (ResolverRolesTable.tsx:70), the scope hint is suppressed (ResolverRolesSidebar.tsx:391), and the page offers no control by which scope can be expressed at all — unlike the sibling Add User sheet, which does:
// apps/portal/src/features/resolver/components/ResolverAddUserSheet.tsx:39, 258
const ROOT_NODE_VALUE = ''
Root (all nodes)
The same team treats scope as something the admin must see when creating a grant. The edit path never shows it — and the divergence goes beyond the form. The create path also names the scope in the transaction the wallet is asked to sign:
// apps/portal/src/features/resolver/components/ResolverAddUserSheet.tsx:321
transactionName: `Grant resolver roles for ${pendingGrant?.name || '(root)'}`,
while the edit path, for the same operation on the same contract, names only the account (ResolverRolesSidebar.tsx:343, 348). One feature, two paths, scope disclosed in exactly one.
2. Root cause and the buggy line
2.1 The line
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx:169
const roleName = resolvedNames.find((n) => n !== '(root)') ?? ''
2.2 Why it is wrong
resolvedNames is a set with three meaningful states, and this line projects all three onto a single string in which '' already carries a specific meaning:
resolvedNames |
line 169 yields | scope written | correct? |
|---|---|---|---|
[] — scope not determinable |
'' |
root |
No — over-grants |
['(root)', 'a.eth', …] — root and names |
'a.eth' |
name |
No — under-revokes; ROOT untouched |
['(root)'] |
'' |
root |
Yes, by coincidence of the encoding |
['a.eth'] |
'a.eth' |
name |
Yes |
Two of four cases are wrong, and the two that are right are right by accident of how '' happens to encode — not by design.
The same projection also fails in two further ways, neither of which needs a separate demonstration. A text- or addr-scoped grant hashes a different preimage from resource(node, 0), so it can never appear in the map — that follows from the construction in §1.1, not from any observation. And resolver.nodes is served paginated: measured live on 0x43ee991f5c681f55216ac7cb8cf3fb3883cd787d, nodeCount is 159,165 while the query returns 100, so a name-scoped grant outside the returned page is unmappable for the same reason. Both land in row 1 of the table above. This report demonstrates the two paths whose preconditions the Explorer itself can create (§3.1, §3.2); these two are noted because they widen the population of rows that reach the same line, not as separate claims.
This is not a missing null check. It is a type error in the domain model: a set is being stored in a scalar whose empty value is overloaded to mean maximal authority. The fail-open direction is what makes it a security defect rather than a display bug — an unknown scope is resolved to the widest scope the contract offers, when the only safe behaviour is to refuse to write.
2.3 This is not intended behaviour
The name === '' → root sentinel is deliberate — it is documented at grantResolverRoles.ts:20 and it is what the Add User sheet's ROOT_NODE_VALUE = '' (ResolverAddUserSheet.tsx:39) legitimately uses. That is not the defect.
The defect is that line 169 manufactures that sentinel from an error state. The evidence that this was never intended is internal to the same feature:
groupRolesByAccountdocuments that it resolves names "when possible" (resolverRoles.ts:177) and materialises failure asnull(:197) — the authors modelled an unresolvable resource.ResolverRolesTable.tsx:70andResolverRolesSidebar.tsx:391both branch on the empty case for display.- Only
:169— the write path — collapses it, and collapses it upward.
Three sites know the state exists. The fourth converts it into a grant.
2.4 Contributing defects
groupRolesByAccountkeys on account alone (resolverRoles.ts:194,:199,:208), so distinct grants at distinct resources merge into one row. This is intended and tested behaviour (resolverRoles.test.ts:185-197), not a defect — it is listed because it is what makes the multi-valued case reachable, and because the sidebar then edits a row as though it were a single grant. Fix 2 changes it deliberately.- The app never asks for the data that would fix this. The indexer already serves a
namedResourcesarray givingname,resource,recordKindandrecordKeyper resource (packages/indexer/graphql.gen.ts:381-390, 927).grep -rn "namedResources" apps/portal/srcreturns nothing — the field is in the generated schema and the app never queries it. (For precision: the app does request a per-rownameon the roles themselves,useResolverOverview.ts:97, but the indexer returnsnullfor it on every resolver-scoped row, andgroupRolesByAccountresolves names from the node map rather than that field regardless (:197). Reading it would fix nothing —namedResourcesis the field that carries the mapping.) Measured live on 2026-09-10 it resolves 59 of 59 non-root resources across the eleven resolvers in my census set. It is not universal, and I name the counterexample rather than quote a rate: resolver0x694a2f963164c152a23b91ef0de53fe9b02ae1e3carries 8 non-root role rows and announces nothing at all (namedResources: []). Entries are emitted on the first role grant per resource, so a resource whose grant predates indexing stays unnamed. This is exactly why Fix 1 must ship regardless of Fix 3: coverage is high, not total, and the failure mode is fail-open.
3. Attack path
There is no attacker-controlled input anywhere in this path, and none is claimed. The transaction is constructed by the app with an argument the administrator never expressed, could not see, and had no control to express. This is the "modifying transaction arguments or parameters" impact line, not a narrative intrusion.
3.1 Primary path — global authority survives a removal the UI reports as complete
Every step below uses shipped Explorer code only. Proven end to end by apps/portal/src/features/resolver/poc-f1b-path4-revoke-survives.test.tsx (5 tests).
Step 0 — starting state. A contractor account holds nothing on the resolver. Asserted on chain: hasRootRoles false for each bit, roles(resource, account) == 0, and the contractor cannot write any record (negative control, transaction reverts).
Step 1 — the admin grants global roles. Through the real Add User sheet, choosing its own "Root (all nodes)" option (ResolverAddUserSheet.tsx:258, value '' per :39). The app emits grantRootRoles — verified by selector, and confirmed on chain. This is correct behaviour and a legitimate operation.
Step 2 — the admin also grants a name-scoped role to the same account. Same sheet, a name from the dropdown (nameOptions = nodes.map((n) => n.name).filter(Boolean), ResolverAddUserSheet.tsx:186). The app emits authorizeNameRoles — again correct. There is no duplicate-account guard: canSave (ResolverAddUserSheet.tsx:183) checks a resolved address, that resolution is not in flight, at least one role, and that the sheet is not already in its success state — nothing about existing grants.
Step 3 — the two grants collapse into one row. groupRolesByAccount (resolverRoles.ts:194, :199, :208) keys on account, producing resolvedNames = ['(root)', '<name>'].
Step 4 — the admin decides to remove the contractor. The sidebar renders "Global roles (all names)" (ResolverRolesSidebar.tsx:394, because the set includes '(root)'). The confirmation dialog reads "remove this user from all roles" (:446). Both statements are true descriptions of the admin's intent.
Step 5 — the app sends something else. Line 169 skips '(root)' and returns the name; handleRemoveUser passes it as name (:318); revokeResolverRoles.ts:47 sees a non-empty name and selects scope: 'name'; ensjs emits authorizeNameRoles(<name>, bitmap, account, false). The connected wallet signs it. The transaction succeeds.
Step 6 — measured outcome. The name-scoped grant is revoked — asserted, so this is not a failed transaction — and hasRootRoles(ROLE_SET_ADDR, contractor) is still true.
Step 7 — consequence. The "removed" contractor writes records it was never scoped to: the apex, and a name that already resolved to a real address, asserted non-zero and not the attacker before the write, then rewritten. This is a redirect of live resolution by an account the administrator was told had been removed.
3.2 Second path — a correct narrow grant becomes resolver-wide after routine housekeeping
Proven by poc-f1c-pathb-orphaned-row.test.tsx (6 tests).
- The admin grants a name-scoped role through the Add User sheet. Correct, mappable, and the row displays "Roles scoped to …".
- That name's resolver is later changed through the Explorer's own
/$name/change-resolverroute — gated onROLE_SET_RESOLVERfor the name's parent registry (apps/portal/src/routes/$name/change-resolver.tsx:52-59), a role held by the name owner, who need not be the resolver administrator. - Role rows live in the resolver's access-control table keyed by resource hash; the resolver pointer lives in the registry. They are independent state, so the grant survives while the name leaves
resolver.nodes. buildResourceToNameMapcan no longer resolve that resource. The row goes blank.- The next Save emits
grantRootRoles. Measured: the contractor gains ROOT and rewrites the apex.
What is and is not observable in production, stated precisely. On resolver 0xf846fb5a0e36531c848fb8ae0ea9e9f82f882852, namedResources names four grant-carrying names that resolver.nodes does not return at all — alice.acme.eth, fleet-policy.acme.eth, invoice-8871.payments-bot.acme.eth, payments-bot-v2.acme.eth — with nodeCount == nodes.length == 7, so no truncation is involved. resolver.nodes is therefore not a superset of the names that carry role rows, and rows referencing names outside it are a normal state of a live resolver.
Those four do not demonstrate this path, and I do not claim they do. Each carries a record-scoped row (alice.acme.eth as addr; fleet-policy.acme.eth as text/policy; payments-bot-v2.acme.eth as text/agent-endpoint), not a name-scoped one. Record-scoped resources were never mappable in the first place — that is the record-scoped case noted in §2.2, not this one. A name-scoped grant orphaned by a resolver change is proven by the PoC below, which creates the condition through the shipped UI; I have not observed that specific sequence on a live resolver and do not assert it.
4. Impact
4.1 The impact line
Malicious interactions with an already-connected wallet, such as: Modifying transaction arguments or parameters …
The Explorer synthesises a scope argument that the administrator never expressed, cannot see, and has no control on the page to express, and the connected wallet signs it. scope is the only argument separating a single-name grant from authority over every record of every name.
On the row's word "Malicious": the same row's own fourth example — "Signing or submitting a transaction against the wrong chain (for example when the request's target chain is not validated)" — is a pure missing-validation case with no adversary, and is verbatim the programme's own known issue EXP-4337-002. A "such as" list enumerates instances of its row; the word describes the character of the interaction the wallet is led into, not the presence of an attacker.
A second row matches independently, and the finding does not depend on which is preferred. "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" — also Critical. The sidebar displays "Global roles (all names)" (ResolverRolesSidebar.tsx:394) and the dialog promises removal "from all roles" (:446), while the transaction the wallet is handed revokes one name and leaves ROOT standing. That is an incorrect transaction detail displayed to a user who then submits on the strength of it, with no reliance on the word "Malicious" at all.
4.3 Fault attribution, and whether the administrator could have detected it
Not user error. In both paths every administrator action is correct and is the action the UI invites: the Add User sheet's own default scope, its own name dropdown, its own Save and Remove buttons, and the Explorer's own Change Resolver route. No step is a misuse, and no documentation tells the administrator to avoid any of it.
Not the administrator's fault for failing to notice. Detection would require the administrator to see the scope, and the application removes every opportunity to:
| Where scope could surface | What is shown |
|---|---|
| Roles table Name cell | blank — ResolverRolesTable.tsx:70 returns null |
| Sidebar scope hint | suppressed on the empty set — ResolverRolesSidebar.tsx:391 |
| Sidebar hint when root is present | "Global roles (all names)" — true, and still not what is written |
| Remove dialog | "remove this user from all roles" — a false statement |
| Transaction name shown to the wallet | account only — :343, :348 |
The comparison that settles it is internal: the create path names the scope in the very transaction the wallet is asked to sign — transactionName: `Grant resolver roles for ${pendingGrant?.name || '(root)'}` (ResolverAddUserSheet.tsx:321). The edit path, for the same operation on the same contract, names only the account. The team already decided scope is something the signer must see; one of the two paths does not do it.
Nor is it the app behaving consistently with what the administrator asked. In the revoke direction the app's own on-screen description of the operation and the calldata it produces disagree, from the same roleName value, on the same click.
5. Fix
Fix 1 — make scope a three-state value and refuse to write when it is unknown
This is the minimal correct fix, and it alone closes both demonstrated failures. It does not resolve every multi-valued case, and I state the two it leaves open rather than imply otherwise. A row carrying several non-root names still takes the name branch and writes the first of them. A row carrying root plus an unmappable resource reduces to ['(root)'] — the unmappable grant contributes nothing — so the write goes to root and the record-scoped grant survives untouched. Neither case refuses the write; both need Fix 2's one-row-per-grant keying. Neither is demonstrated on chain today, and I do not claim they are: the point is that Fix 1 is necessary and not sufficient.
// apps/portal/src/features/resolver/components/ResolverRolesSidebar.tsx — replacing :169
type RowScope =
| { kind: 'root' }
| { kind: 'name'; name: string }
| { kind: 'unknown' }
const scope: RowScope =
resolvedNames.length === 0
? { kind: 'unknown' }
: resolvedNames.includes('(root)')
? { kind: 'root' }
: { kind: 'name', name: resolvedNames[0] }
Then gate both writes on it, and disable Save and Remove user when the scope is unknown, with a visible explanation rather than a silent default. The write helpers should take the discriminated union directly instead of an overloaded string, so that grantResolverRoles.ts:47 and revokeResolverRoles.ts:47 can no longer receive a value that means "root" by accident.
Note the ordering consequence: a row carrying both root and names must be treated as root, not as its first name. That is what stops the under-revoke.
Fix 2 — key the grouping on (account, resource)
// apps/portal/src/lib/roles/resolverRoles.ts:194 — grouping key
const key = `${role.account.toLowerCase()}|${role.resource.toLowerCase()}`
This overrides specified, tested behaviour, and I name it rather than let a reviewer find it. apps/portal/src/lib/roles/resolverRoles.test.ts:185-197 — "should merge the same account across resources" — asserts toHaveLength(1) for exactly the account-only keying this fix removes. Account-level merging is intentional and covered; Fix 2 is therefore a deliberate redesign, not the correction of an oversight, and that test must be revised alongside it.
That test is also the strongest available evidence about intent, which is why §2.3 rests on the sidebar rather than on the grouping: the authors explicitly contemplated a single row carrying grants at several resources, wrote a test for it, and wrote no test at all for what the sidebar does with such a row. The multi-valued case was designed for in the data layer and left unhandled in the write layer.
One row then means one grant, and the sidebar edits exactly what the row represents. Two consequences to accept: an account with several grants occupies several rows, and "Remove user" becomes per-grant — which is what the contract actually supports. The dialog copy must change accordingly (Fix 5).
Fix 3 — query namedResources (the primary remedy)
The indexer already serves the mapping the app is missing (packages/indexer/graphql.gen.ts:381-390, 927). Measured live on 2026-09-10 it resolves 59 of 59 non-root resources across my eleven-resolver census set — but not universally: resolver 0x694a2f96… has 8 non-root rows and an empty namedResources. Fix 3 therefore reduces the unknown state; it does not eliminate it. Add it to the resolver-overview query and build the lookup from it instead of from nodes:
Carry the record kind, or this fix introduces a worse bug than it closes. The naive form —
map.set(entry.resource.toLowerCase(), entry.name) // WRONG — loses the scope
— discards recordKind and recordKey, and the write path keys entirely off "is there a name?". A record-scoped resource would then map to a bare name, take the scope: 'name' branch, and be rewritten as a name-wide authorizeNameRoles: a new over-grant wearing a correct-looking label, strictly worse than the blank row it replaces because the row would now display a plausible scope.
Live examples that would be mis-widened this way: alice.acme.eth is announced as addr, fleet-policy.acme.eth as text/policy, payments-bot-v2.acme.eth as text/agent-endpoint.
Carry the full entry and resolve to a four-state scope matching the four the contract offers:
map.set(entry.resource.toLowerCase(), {
name: entry.name,
kind: entry.recordKind, // 'name' | 'text' | 'addr' | 'data'
key: entry.recordKey,
coinType: entry.coinType,
})
and have the write helpers select authorizeTextRoles / authorizeAddrRoles accordingly. If that is more than the team wants to take on, do not use namedResources to drive writes at all — use it only to display the true scope, and let Fix 1 refuse the write.
This fixes all four paths at once: record-scoped resources become nameable, orphaned names stay nameable after a resolver change, and truncation of nodes stops mattering. With Fix 3 in place the unknown state becomes rare — but Fix 1 must still ship, because "rare" is not "impossible" and the failure mode is fail-open.
Fix 4 — add a scope control to the edit path
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 a domain-model type error: a set of resolved scopes is projected onto one string whose empty value is overloaded to mean the ROOT resource, so an unknown scope fails open to the widest grant and a mixed root-plus-name set silently drops root.
Impact
An account the administrator was told had been removed could still hold resolver-wide authority and rewrite records, including redirecting a name that already resolved to a real address; the report notes the app itself creates the preconditions and that no attacker-controlled input is involved.
What the attacker needed
Administrator uses the Explorer roles page; account holds root and name grants; connected wallet signs the transaction
The fix
The write path should stop deriving a scope from a single string and instead refuse to sign when the scope is unknown or mixed, or let the administrator choose the scope explicitly as the Add User sheet does.
How it was found
- The administrator grants global (root) roles to an account through the Add User sheet.
- The administrator grants a name-scoped role to the same account through the same sheet.
- The two grants are grouped into a single row whose resolved names include root and the name.
- The administrator opens the row, sees 'Global roles (all names)', and confirms removal from all roles.
- The app signs a name-scoped revocation only, so the name grant is removed but root authority remains.
- The supposedly removed account can still rewrite records, including a name that already resolved to a real address.
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.
A resolver is a contract that decides which records a name points to, and it lets an administrator give other accounts permission to edit records. Permissions can be limited to one name or one record, or given for everything at once. The Explorer page that edits these permissions turned the list of scopes into a single text value, and in that format an empty value means 'everything'. So when the page could not work out the scope, it quietly asked the wallet to sign the widest possible permission, and when removing a user it cancelled only one narrow permission while the '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.