Ethereum Name Service 백서

Ethereum Name Service

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 73쪽

tion\` smart contract.** ``` To: 0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85 Value: 0 Calldata: 0xf6a74ed7000000000000000000000000fe89cc7abb2c4183683ab71653c4cdc9b02d44b7 ``` Simulation: [https://www.tdly.co/shared/simulation/e2430d87-5475-4cea-a320-0e44640b1d3d](https://www.tdly.co/shared/simulation/e2430d87-5475-4cea-a320-0e44640b1d3d) ### Notes The Registry-Resolver contract is currently owned by an Unruggable controlled deployment wallet (`0x81c11034fe2b2f0561e9975df9a45d99172183af`). This temporary ownership is limited to initial bootstrapping of chain identifiers and will be transferred to a neutral multisig once the initial registry state is established. ## \[EP 6.35] \[Executable] Replace DNSSEC oracle algorithms ::authors | **Status** | Passed | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Discussion Thread** | [Forum](https://discuss.ens.domains/t/21910/) | | **Votes** | [Snapshot](https://vote.ensdao.org/#/onchain/28252712932062322633429808688780331957150867173093906455161078029287649387260), [Anticapture](https://app.anticapture.com/ens/governance/proposal/28252712932062322633429808688780331957150867173093906455161078029287649387260) | ### Abstract This proposal replaces three DNSSEC oracle algorithms with newly deployed contracts to address the following two issues: * [feat: Replace EllipticCurve with EIP-7951 P-256 precompile for Algorithm 13](https://github.com/ensdomains/ens-contracts/pull/509) * [RSA Signature Forgery via Missing PKCS#1 v1.5 Padding Validation in ENS DNSSEC Oracle](https://github.com/ensdomains/ens-contracts-bug-62248-pr-509/blob/master/reports/REPORT.md) ### Motivation #### RSA Signature Forgery (Critical) The RSASHA256Algorithm and RSASHA1Algorithm contracts fail to validate PKCS#1 v1.5 padding structure when verifying RSA signatures. The contracts only check whether the last 32 (or 20) bytes of the decrypted signature match the expected hash, ignoring the required padding format defined in RFC 3447. This enables Bleichenbacher's 2006 signature forgery attack against DNS zones using RSA keys with low public exponents (e=3). Two ENS-supported TLDs — `.cc` and `.name` — use e=3 for their Key Signing Keys, allowing any domain under these TLDs to be fraudulently claimed on ENS without DNS ownership. The attack is permissionless, costs approximately 100k gas, and is difficult to detect as the forged proofs appear legitimate. Remediation requires governance intervention. This vulnerability class has resulted in critical CVEs in other systems (CVE-2006-4339 in OpenSSL, CVE-2014-1568 in NSS, CVE-2016-1494 in python-rsa). #### P-256 Precompile Upgrade (Gas Optimization) The current P256SHA256Algorithm contract uses a Solidity-based EllipticCurve library for signature verification, consuming approximately 200,000+ gas per operation. EIP-7951 introduces a native P-256 precompile (at address `0x100`) which reduces this to approximately 3,500 gas — a \~98% reduction. This upgrade takes advantage of the precompile available after the Fusaka hardfork. ### Specification #### Description And newly deployed contract information is as follows * RSASHA1\_ADDRESS = [0x58E0383E21f25DaB957F6664240445A514E9f5e8](https://etherscan.io/address/0x58E0383E21f25DaB957F6664240445A514E9f5e8) * RSASHA256\_ADDRESS = [0xaee0E2c4d5AB2fc164C8b0Cc8D3118C1c752C95E](https://etherscan.io/address/0xaee0E2c4d5AB2fc164C8b0Cc8D3118C1c752C95E) * P256SHA256\_ADDRESS = [0xB091C4F6FAc16eDDA5Ee1E0f4738f80011905878](https://etherscan.io/address/0xB091C4F6FAc16eDDA5Ee1E0f4738f80011905878) Steps overview are as follows * 1-3. DNSSECImpl: `setAlgorithm` of RSASHA1, RSASHA256 (RSA Signature Forgery patch), P256SHA256 (Using p-256 precompile) to newly deployed contracts * 4-5. Root: `setSubnodeOwner` of `cc` and `name` to 0 * 6-7: DNSRegistrar: Call `enableNode` for .cc and .name to re-enable them for DNSSEC. DNSSEC\_IMPL\_ADDRESS = `0x0fc3152971714E5ed7723FAFa650F86A4BaF30C5` ROOT\_ADDRESS = `0xaB528d626EC275E3faD363fF1393A41F581c5897` DNS\_REGISTRAR\_ADDRESS = `0xB32cB5677a7C971689228EC835800432B339bA2B` #### Transactions Summary This proposal contains **7** transaction(s) to be executed by the ENS DAO Timelock. | # | Contract | Function | Description | | - | ------------ | ----------------- | ------------------------------------------ | | 1 | DNSSECImpl | `setAlgorithm` | Set Algorithm of RSASHA1 to new address | | 2 | DNSSECImpl | `setAlgorithm` | Set Algorithm of RSASHA256 to new address | | 3 | DNSSECImpl | `setAlgorithm` | Set Algorithm of P256SHA256 to new address | | 4 | Root | `setSubnodeOwner` | Set owner of `cc` to 0 | | 5 | Root | `setSubnodeOwner` | Set owner of `name` to 0 | | 6 | DNSRegistrar | `enableNode` | Re-enable `cc` for DNSSEC | | 7 | DNSRegistrar | `enableNode` | Re-enable `name` for DNSSEC | ### Detailed Transaction Information #### Transaction 1: Set Algorithm of RSASHA1 to new address **Target:** DNSSECImpl **Address:** `0x0fc3152971714E5ed7723FAFa650F86A4BaF30C5` **Function:** `setAlgorithm` **Parameters:** * `id` : 5 * `algo`: `0x58E0383E21f25DaB957F6664240445A514E9f5e8` **Encoded Calldata:** ``` 0x020ed8d3000000000000000000000000000000000000000000000000000000000000000500000000000000000000000058e0383e21f25dab957f6664240445a514e9f5e8 ``` #### Transaction 2: Set Algorithm of RSASHA256 to new address **Target:** DNSSECImpl **Address:** `0x0fc3152971714E5ed7723FAFa650F86A4BaF30C5` **Function:** `setAlgorithm` **Parameters:** * `id` : 8 * `algo`: `0xaee0E2c4d5AB2fc164C8b0Cc8D3118C1c752C95E` **Encoded Calldata:** ``` 0x020ed8d30000000000000000000000000000000000000000000000000000000000000008000000000000000000000000aee0e2c4d5ab2fc164c8b0cc8d3118c1c752c95e ``` #### Transaction 3: Set Algorithm of P256SHA256 to new address **Target:** DNSSECImpl **Address:** `0x0fc3152971714E5ed7723FAFa650F86A4BaF30C5` **Function:** `setAlgorithm` **Parameters:** * `id` : 13 * `algo`: `0xB091C4F6FAc16eDDA5Ee1E0f4738f80011905878` **Encoded Calldata:** ``` 0x020ed8d3000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000b091c4f6fac16edda5ee1e0f4738f80011905878 ``` #### Transaction 4: setSubnodeOwner of `cc` to 0 **Target:** Root **Address:** `0xaB528d626EC275E3faD363fF1393A41F581c5897` **Function:** `setSubnodeOwner` **Parameters:** * `label` : `0x68ce0763ca729318b714b0cf33478e4e228e19f58aeaf12cfa1535c9d4bbcaf9` * `owner`: `0x0000000000000000000000000000000000000000` **Encoded Calldata:** ``` 0x8cb8ecec68ce0763ca729318b714b0cf33478e4e228e19f58aeaf12cfa1535c9d4bbcaf90000000000000000000000000000000000000000000000000000000000000000 ``` #### Transaction 5: setSubnodeOwner of `name` back to DNS\_REGISTRAR\_ADDRESS **Target:** Root **Address:** `0xaB528d626EC275E3faD363fF1393A41F581c5897` **Function:** `setSubnodeOwner` **Parameters:** * `label` : `0x2361458367e696363fbcc70777d07ebbd2394e89fd0adcaf147faccd1d294d60` * `owner`: `0x0000000000000000000000000000000000000000` **Encoded Calldata:** ``` 0x8cb8ecec2361458367e696363fbcc70777d07ebbd2394e89fd0adcaf147faccd1d294d600000000000000000000000000000000000000000000000000000000000000000 ``` #### Transaction 6: Re-enable `cc` for DNSSEC **Target:** DNSRegistrar **Address:** `0xB32cB5677a7C971689228EC835800432B339bA2B` **Function:** `enableNode` **Parameters:** * `domain` : `0x02636300` **Encoded Calldata:** ``` 0x6f951221000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000040263630000000000000000000000000000000000000000000000000000000000 ``` #### Transaction 7: Re-enable `name` for DNSSEC **Target:** DNSRegistrar **Address:** `0xB32cB5677a7C971689228EC835800432B339bA2B` **Function:** `enableNode` **Parameters:** * `domain` : `0x046e616d6500` **Encoded Calldata:** ``` 0x6f95122100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000006046e616d65000000000000000000000000000000000000000000000000000000 ``` ## \[EP 6.36] \[Executable] Register on.eth to the ENS DAO wallet and set the resolver ::authors | **Status** | Passed | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Discussion Thread** | [Forum](https://discuss.ens.domains/t/21894/6) | | **Votes** | [Snapshot](https://vote.ensdao.org/#/onchain/31038548146097859834078018568437840147798885401616129864120868194533406456350), [Anticapture](https://app.anticapture.com/ens/governance/proposal/31038548146097859834078018568437840147798885401616129864120868194533406456350) | ### Previous Context This proposal passed as [EP 6.34](https://vote.ensdao.org/#/onchain/69304512515872868228453463730257567312488838925636819022683533220991373699419 "EP 6.34") and was queued for execution. Unfortunately, that proposal cannot be executed on-chain in its current form. Whilst the calldata was correct, and the simulations passed as expected, the calldata was generated against the blockchain state at the time and did not give consideration to other ongoing executable proposals. Alongside this proposal, another proposal was in motion ([Tally | ENS | Enable Root and Registrar Security Controllers](https://vote.ensdao.org/#/onchain/7432320732701654700329828389963546575346476886035742386260284098817526767149 "Enable Root and Registrar Security Controllers")), which passed and was executed prior to 6.34. That proposal changed a dependency on which 6.34 relied - specifically, the ownership of the Base Registrar.  This proposal is the updated proposal with calldata that gives appropriate consideration to the updated ownership model. **There are no material changes.** ### Description This proposal registers the \`on.eth\` ENS name to the ENS DAO wallet (`0xfe89cc7abb2c4183683ab71653c4cdc9b02d44b7`) and sets the resolver to an on-chain registry-resolver contract (`0x2a9B5787207863cf2d63d20172ed1F7bB2c9487A`). ### Motivation The Chain Registry-Resolver is a smart contract that acts as a **canonical, on-chain registry** for blockchain metadata. It serves as the resolver for the `on.eth` namespace and enables applications and users to retrieve metadata for **any** blockchain using a single human-readable identifier, such as \`base\` or \`solana\`. Historically, blockchain metadata has been stored in centralized, fragmented repositories maintained by third parties. The Chain Registry-Resolver brings this metadata on-chain into a single, extensible registry, where control and update authority are delegated to the relevant chain operators. ### Specification #### Additional Relevant Contracts * `RegistrarSecurityController` • `0x7dd4d97653A67C2FD7fbA0a84825eC09524D4E1b` • [Etherscan](https://etherscan.io/address/0x7dd4d97653A67C2FD7fbA0a84825eC09524D4E1b#code) Please see [https://discuss.ens.domains/t/executable-enable-root-and-registrar-security-controllers/21872](https://discuss.ens.domains/t/executable-enable-root-and-registrar-security-controllers/21872) for additional context. #### Updated Proposal This proposal includes four components. **1. Adding the DAO wallet as a controller on the \`BaseRegistrarImplementation\` smart contract through the RegistrarSecurityController.** `To: 0x7dd4d97653A67C2FD7fbA0a84825eC09524D4E1b` `Value: 0` `Calldata: 0xb229e85e000000000000000000000000fe89cc7abb2c4183683ab71653c4cdc9b02d44b7` Simulation: [https://www.tdly.co/shared/simulation/d0d646ce-ca82-4e1b-9777-e207292f5ee8](https://www.tdly.co/shared/simulation/d0d646ce-ca82-4e1b-9777-e207292f5ee8) **2. Registering the name \`on.eth\` to the DAO wallet.** `To: 0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85` `Value: 0` `Calldata: 0xfca247ac6460d40e0362f6a2c743f205df8181010b7f26e76d5606847fb7be7fb6d135f9000000000000000000000000fe89cc7abb2c4183683ab71653c4cdc9b02d44b70000000000000000000000000000000000000000000000000000000012cc0300` Simulation: [https://www.tdly.co/shared/simulation/457f778d-110b-4ff3-a120-ac0801a7ac9a](https://www.tdly.co/shared/simulation/457f778d-110b-4ff3-a120-ac0801a7ac9a) **3. Setting the deployed \`ChainResolver\` as the resolver for**` on.eth` `To: 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e` `Value: 0` `Calldata: 0x1896f70acabf8262fe531c2a7e8cd86e06342bc27fc0591ecd562fbac88280abc18ef8990000000000000000000000002a9b5787207863cf2d63d20172ed1f7bb2c9487a` Simulation: [https://www.tdly.co/shared/simulation/aaa4c105-0efb-4f5a-92a0-bfea8fa376c8](https://www.tdly.co/shared/simulation/aaa4c105-0efb-4f5a-92a0-bfea8fa376c8) **4. Removing the DAO wallet as a controller on the \`BaseRegistrarImplementation\` smart contract through the RegistrarSecurityController.** `To: 0x7dd4d97653A67C2FD7fbA0a84825eC09524D4E1b` `Value: 0` `Calldata: 0x246b813e000000000000000000000000fe89cc7abb2c4183683ab71653c4cdc9b02d44b7` Simulation: [https://www.tdly.co/shared/simulation/264b8117-23a3-47e4-b84e-be49d8ffc4b4](https://www.tdly.co/shared/simulation/264b8117-23a3-47e4-b84e-be49d8ffc4b4) #### Notes * For complete clarity, what differentiates this updated proposal from the original is that transactions 1, and 4 target **the RegistrarSecurityController**. The new security model for the \`BaseRegistrarImplementation\` proxies the addition and removal of controllers through this contract. * Explicit consideration has been given to other ongoing executable proposals. The only current proposal is [https://vote.ensdao.org/#/onchain/28252712932062322633429808688780331957150867173093906455161078029287649387260](https://vote.ensdao.org/#/onchain/28252712932062322633429808688780331957150867173093906455161078029287649387260) which does not modify any dependencies on which this proposal relies. ## \[EP 6.37] \[Executable] Transfer 900,000 USDC from Endowment to wallet.ensdao.eth ::authors | **Status** | Passed | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Discussion Thread** | [Forum](https://discuss.ens.domains/t/21948/) | | **Votes** | [Snapshot](https://vote.ensdao.org/#/onchain/14831140174897720265958605023745728013789151926234669357340635631180294168431), [Anticapture](https://app.anticapture.com/ens/governance/proposal/14831140174897720265958605023745728013789151926234669357340635631180294168431) | ### Abstract The ENS DAO timelock (`wallet.ensdao.eth`) currently holds insufficient USDC to cover stream payments claimable by ENS Labs. This proposal requests a **one-time withdrawal of 900,000 USDC** from the ENS Endowment's stablecoin runway to cover that shortfall, bridging operations while the DAO works through more automated solutions such as [Treasury Flow Automation](https://discuss.ens.domains/t/executable-treasury-flow-automation/21923) proposal by @blockful. No new budget or funding program is created by this proposal. ### Motivation The ENS DAO timelock (`wallet.ensdao.eth`) currently holds insufficient USDC to cover stream payments claimable by ENS Labs. A transfer of **900,000 USDC** is sufficient to cover what is currently claimable by ENS Labs, enabling execution of previously approved governance decisions and maintaining operational continuity. No new budget or funding program is created by this proposal. > **Note:** The root cause of these recurring shortfalls is being addressed structurally through the [Treasury Flow Automation](https://discuss.ens.domains/t/executable-treasury-flow-automation/21923/6) proposal, which aims to automate USDC top-ups from the Endowment and eliminate the need for one-off transfers like this one. ### Specification Transfer **900,000 USDC** from the **ENS Endowment Safe** to **wallet.ensdao.eth (Timelock)**. **Addresses** | Label | Address | | ---------------------------- | -------------------------------------------- | | wallet.ensdao.eth (Timelock) | `0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7` | | ENS Endowment Safe | `0x4F2083f5fBede34C2714aFfb3105539775f7FE64` | **Transaction simulation:** [Tenderly](https://dashboard.tenderly.co/public/tallyxyz/project/simulator/41ec6e27-0532-4efd-8377-ad130b2982cc) **Transaction parameters:** ``` to: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, value: 0, data: 0xa9059cbb000000000000000000000000fe89cc7abb2c4183683ab71653c4cdc9b02d44b7000000000000000000000000000000000000000000000000000000d18c2e2800, operation: 0, safeTxGas: 0, baseGas: 0, gasPrice: 0, gasToken: 0x0000000000000000000000000000000000000000, refundReceiver: 0x0000000000000000000000000000000000000000, signatures: 0x000000000000000000000000fe89cc7abb2c4183683ab71653c4cdc9b02d44b7000000000000000000000000000000000000000000000000000000000000000001 ``` ### Next Steps Pending review from Blockful and no revisions following the discussion in during the meta-gov call, this proposal will progress to an on-chain executable vote. ## \[EP 6.38] \[Executable] Endowment permissions to karpatkey - Update #8 ::authors | **Status** | Passed | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Discussion Thread** | [Forum](https://discuss.ens.domains/t/21949/) | | **Votes** | [Snapshot](https://vote.ensdao.org/#/onchain/37471031935121384443990643698532486694478877174074595786824358199918042537243), [Anticapture](https://app.anticapture.com/ens/governance/proposal/37471031935121384443990643698532486694478877174074595786824358199918042537243) | ### Abstract This proposal introduces a **routine update** to the Endowment Manager’s permissions. The changes remove deprecated permissions no longer required and upgrade the Roles instance to the latest version. ### Specification This proposal updates the Zodiac Roles Modifier configuration for the ENS Endowment by disabling the Roles V1 instance, updating the Roles V2 instance, and revoking token permissions that are no longer required. The following permissions are added: * Buy and sell GHO/FLUID via CoW Swap * Claim rewards from the Fluid Merkle Incentive distributor #### Summary of Updates ##### **1. ZRM Instance Updates** | **Roles Version** | **Action** | | ----------------- | ---------- | | Roles V1 | Disabled | | Roles V2 | Updated | ##### **2. Permission Additions** | **Roles Version** | **Action** | **Token Address (Mainnet)** | | ----------------- | ------------ | ------------------------------------------ | | Roles v2 | `buy` `sell` | 0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f | | Roles v2 | `sell` | 0x6f40d4a6237c257fff2db00fa0510deeecd303eb | | Roles v2 | `claim` | 0xF398E66B1273a34558AeBbEC550DccaF4AcC7714 | > Added permission to Buy GHO and Sell GHO/FLUID through Cowswap > Added permission to be able to claim GHO rewards from the Fluid Merkle Incentive ##### **3. Permission Removals** | **Token** | **Functions Allowed** | **Token Address (Mainnet)** | | --------- | --------------------- | ------------------------------------------ | | SPK | `claim` `transfer` | 0xc20059e0317DE91738d13af027DfC4a50781b066 | > Removed permission to claim and transfer SPK ### Reviewing Zodiac Roles Modifier Permissions Policy To review, the following resources are below: * **Payload:** [link here](https://github.com/k
프로젝트로 돌아가기