Skip to content
NFTVenue Ledger
สารบัญ
ต้นฉบับ English (/protocols) →

ไทย

บทความและบันทึกแหล่งข้อมูล

ดูบทความและบันทึกแหล่งข้อมูลของสถาบัน เนื้อหาบทความเป็นภาษาอังกฤษ โปรดตรวจสอบแหล่งข้อมูลต้นฉบับโดยตรง

บทความและบันทึกแหล่งข้อมูล

TH · NFT-VENUE-INDEX

บทความและบันทึกแหล่งข้อมูล

ดูบทความและบันทึกแหล่งข้อมูลของสถาบัน เนื้อหาบทความเป็นภาษาอังกฤษ โปรดตรวจสอบแหล่งข้อมูลต้นฉบับโดยตรง

Erc721 Erc1155 Eip712 Permit Security

EIP-712 Typed Signatures, Permit2 Allowances, NFT Royalties & Proxy Timelocks: 2026 Security Guide

Institutional smart contract and NFT marketplace security hinges on EIP-712 replay isolation, Permit2 signature bounds, Seaport conduits, ERC-2981 royalties, and UUPS proxy timelocks.

ประเด็นสำคัญ: Replacing persistent ERC-20 approve(type(uint256).max) calls with one-time Permit2 SignatureTransfer witnesses reduces post-swap wallet allowance VaR to zero.

Erc721 Erc1155 Eip712 Permit Security

EIP-712 Domain Separator Engineering: Dynamic chainId Caching & Cross-Fork Replay Defense

Hardcoding DOMAIN_SEPARATOR as immutable in constructor without checking runtime block.chainid exposes DEX intents and NFT listings to catastrophic cross-fork signature replay.

ประเด็นสำคัญ: Caching DOMAIN_SEPARATOR as immutable requires checking BOTH block.chainid == _CACHED_CHAIN_ID and address(this) == _CACHED_THIS on every read to prevent fork replays and proxy delegatecall bugs.

Erc721 Erc1155 Eip712 Permit Security

Uniswap Permit2 Security Audit: AllowanceTransfer vs SignatureTransfer & Witness Phishing

Deploying at canonical address 0x000000000022D473030F116dDEE9F6B43aC78BA3 across 30+ EVM chains, Permit2 unifies gasless approvals while creating a high-value phishing target.

ประเด็นสำคัญ: Permit2 splits into AllowanceTransfer (persistent time-bounded uint160 sub-allowances) and SignatureTransfer (zero-storage one-time execution with 256-bit unordered nonce bitmaps).

Erc721 Erc1155 Eip712 Permit Security

EIP-2612 ERC-20 Permit Audits: ecrecover Zero-Address, s-Malleability & Griefing Frontruns

Flawed EIP-2612 ERC-20 permit integrations cause multi-million-dollar DeFi vault drains via ecrecover(address(0)) bypasses, WETH9 fallback phantom permits, and mempool griefing.

ประเด็นสำคัญ: Calling IERC20Permit.permit(arbitraryOwner, ...) on tokens with silent fallback functions like WETH9 succeeds without reverting, enabling catastrophic Phantom Permit steals if owner != msg.sender.

Erc721 Erc1155 Eip712 Permit Security

ERC-721 & ERC-1155 setApprovalForAll Security: Operator Blast Radius & Conduit Isolation

Granting setApprovalForAll(operator, true) hands an external contract or EOA blanket transfer rights over every NFT in that collection—past, present, and future.

ประเด็นสำคัญ: ERC-721 and ERC-1155 setApprovalForAll(operator, true) grants perpetual transfer authority over all current and future tokens in that collection until explicitly revoked.

Erc721 Erc1155 Eip712 Permit Security

Seaport v1.6 Protocol Architecture: Conduits, Hook Zones & Bulk Order Merkle Trees

Seaport replaces rigid buy/sell schemas with generalized Offer and Consideration item arrays, isolating user approvals inside Conduits while signing up to 2^24 orders in one EIP-712 Merkle root.

ประเด็นสำคัญ: Seaport models every trade as OfferItem leaving the offerer and ConsiderationItem delivered to explicit recipients, supporting multi-asset bundles and Dutch price curves.

Erc721 Erc1155 Eip712 Permit Security

ERC-2981 NFT Royalty Signaling vs ERC-721C Programmable Transfer-Validator Enforcement

Because EIP-2981 royaltyInfo is a purely advisory view function, zero-fee NFT marketplaces bypassed creator royalties until ERC-721C bytecode transfer validators emerged.

ประเด็นสำคัญ: EIP-2981 (interfaceId 0x2a55205a) is a stateless view standard returning (receiver, royaltyAmount); ERC-721/1155 transfer functions cannot enforce it natively without knowing sale prices.

Erc721 Erc1155 Eip712 Permit Security

ERC-1967 Transparent vs EIP-1822 UUPS Proxies: Storage Slots & Uninitialized Logic Exploits

EVM DELEGATECALL proxies execute upgradeable implementation bytecode against proxy storage, requiring deterministic ERC-1967 slot offsets and strict constructor initializer locks.

ประเด็นสำคัญ: ERC-1967 stores implementation, admin, and beacon addresses at keccak256("eip1967.proxy.*") - 1, subtracting 1 outside the hash so no known preimage can collide with Solidity mappings.

Erc721 Erc1155 Eip712 Permit Security

EIP-2535 Diamond Multi-Facet Proxies: Selector Routing, DiamondStorage & Arbitrary Delegatecall

EIP-2535 Diamonds bypass Ethereum 24 KB contract size limits by routing 4-byte function selectors across modular Facet contracts—demanding strict storage and diamondCut discipline.

ประเด็นสำคัญ: EIP-2535 Diamonds route 4-byte msg.sig selectors across unlimited <=24 KB Facet contracts via DELEGATECALL while presenting a single unified protocol address.

Erc721 Erc1155 Eip712 Permit Security

TimelockController & Multisig Governance Security: Delay Floors, Signer Ops & Guardian Vetoes

Placing a bare 3-of-5 multisig directly atop a ProxyAdmin without an on-chain TimelockController leaves zero user exit window if signers are phished or coerced.

ประเด็นสำคัญ: A bare M-of-N multisig without an on-chain TimelockController provides zero user exit window when signers are phished via spoofed Safe UI payloads.

Erc721 Erc1155 Eip712 Permit Security

ERC-1271 Smart-Contract Wallet Signatures: Cross-Safe & Cross-Chain Replay Defense

When a user owns multiple Safe or ERC-4337 smart accounts controlled by the same EOA signer set, naive ERC-1271 implementations permit catastrophic cross-account and cross-chain replay.

ประเด็นสำคัญ: Smart-contract wallets MUST wrap incoming ERC-1271 hashes inside their own (chainId, address(this)) EIP-712 domain before checking owner keys—otherwise protocols like Permit2 PermitSingle allow cross-vault replay.

Erc721 Erc1155 Eip712 Permit Security

ERC-4337 Account Abstraction Security: EntryPoint Storage Rules & Paymaster Griefing

Because ERC-4337 bundlers pay L1/L2 gas upfront for untrusted UserOperations, strict ERC-7562 opcode and storage-access sandboxing prevents mass mempool invalidation DoS.

ประเด็นสำคัญ: ERC-7562 forbids unstaked accounts and paymasters from reading volatile block opcodes (TIMESTAMP, BASEFEE) or external unassociated storage slots during UserOp validation.

Erc721 Erc1155 Eip712 Permit Security

EIP-7702 EOA Code Delegation Security: SetCode Tx Type 0x04, Sweeper Phishing & tx.origin

Ethereum Pectra EIP-7702 lets any EOA attach a 0xef0100 smart-contract delegation pointer, unlocking 1-tx approve+swap batching while shattering legacy EOA security assumptions.

ประเด็นสำคัญ: EIP-7702 (Tx Type 0x04) writes a 23-byte 0xef0100||address delegation designator to an EOA, enabling atomic batch execution while breaking msg.sender == tx.origin and extcodesize == 0 assumptions.

Erc721 Erc1155 Eip712 Permit Security

ERC-5192 Minimal Soulbound NFTs: Non-Transferable KYC Badges, Wrapper Traps & Revocation

ERC-5192 standardizes minimal Soulbound NFTs via locked(tokenId) and Locked/Unlocked events, powering on-chain KYC/KYB gating—provided auditors block smart-wallet ownership transfers.

ประเด็นสำคัญ: ERC-5192 (interfaceId 0xb45a3c0e) adds locked(tokenId) and Locked/Unlocked events to ERC-721 so marketplaces like Seaport automatically suppress listing prompts.

Erc721 Erc1155 Eip712 Permit Security

ERC-6551 Token-Bound Accounts (TBAs): State Nonce Frontrunning & Circular Ownership Locks

ERC-6551 turns every ERC-721 NFT into a deterministic smart-contract wallet—creating severe mempool inventory-stripping attacks when buyers purchase bundled NFTs without checking state.

ประเด็นสำคัญ: ERC-6551 deploys a deterministic EIP-1167 proxy wallet per NFT with immutable footer metadata (salt, chainId, tokenContract, tokenId) and dynamic ownerOf(tokenId) authorization.

Erc721 Erc1155 Eip712 Permit Security

ERC-721 safeTransferFrom & onERC721Received Reentrancy: Max-Supply Bypass & Escrow Drains

OpenZeppelin _safeMint and safeTransferFrom hand execution control directly to untrusted receiver contracts via onERC721Received, causing classic CEI violations across NFT venues.

ประเด็นสำคัญ: OpenZeppelin _safeMint and safeTransferFrom perform an untrusted external CALL to onERC721Received whenever the recipient has bytecode—making CEI ordering mandatory.

Erc721 Erc1155 Eip712 Permit Security

Blind-Signing Deprecation (eth_sign), Pre-Sign Transaction Simulation & EIP-7730 Clear Signing

Deprecating raw 32-byte eth_sign eliminated arbitrary transaction-hash spoofing, shifting institutional wallet defense to pre-sign EVM simulation and EIP-7730 hardware clear-signing.

ประเด็นสำคัญ: Deprecating raw 32-byte eth_sign eliminated RLP transaction-hash forgery, leaving EIP-191 (0x45 SIWE) for logins and EIP-712 (0x1901) for structured authorizations.

Erc721 Erc1155 Eip712 Permit Security

ERC-1155 Batch Transfer Security: Mandatory Receiver Hooks, Array Mismatches & Gas-Bomb DoS

Unlike ERC-721, EIP-1155 omits non-callback transfers entirely—making mandatory onERC1155Received and onERC1155BatchReceived hooks prime vectors for return-bomb and batch-sweep DoS.

ประเด็นสำคัญ: Unlike ERC-721, EIP-1155 provides zero non-callback transfer function—every single and batch transfer to a contract address invokes 0xf23a6e61 or 0xbc197c81.

Erc721 Erc1155 Eip712 Permit Security

CREATE2 Metamorphic Contracts, Cancun EIP-6780 SELFDESTRUCT & Bytecode Provenance Audits

Before Dencun EIP-6780, attackers disguised upgradeable rug-pull contracts as immutable non-proxy code using CREATE2 + CREATE + SELFDESTRUCT metamorphic factories.

ประเด็นสำคัญ: Pre-Cancun metamorphic attacks chained CREATE2 + CREATE + SELFDESTRUCT (or dynamic init_code loaders) to swap verified immutable-looking bytecode right before DAO or Conduit execution.

Erc721 Erc1155 Eip712 Permit Security

EIP-7201 Namespaced Storage Layouts: Eliminating __gap Fragility in Upgradeable Proxies

OpenZeppelin Contracts v5 retired fragile sequential uint256[50] __gap storage padding in favor of EIP-7201 double-hashed storage namespaces, preventing inheritance upgrade collisions.

ประเด็นสำคัญ: EIP-7201 maps each contract module struct to keccak256(abi.encode(uint256(keccak256(id)) - 1)) & ~0xff, occupying zero sequential base storage slots.

ข้อมูลสถาบันจากแหล่งที่มา

ข้อมูลสถาบันจากแหล่งที่มา

ดูข้อมูลสถาบัน หน่วยงานกำกับ และตลาดที่นำเข้า ข้อมูลอาจไม่ครบถ้วนหรือล้าสมัย โปรดยืนยันข้อมูลปัจจุบันกับแหล่งข้อมูลต้นฉบับ

บทความและบันทึกแหล่งข้อมูล | NFTVenue Ledger | NFTVenue Ledger