One bad signature will be able to drain your account on Ethereum after EIP-3074

4/23/2024, 5:47:14 PM
After EIP-3074, a faulty signature could deplete the balance in your Ethereum account. The article elaborates on how wallets integrate EIP-3074 and explains the specific ways it could make users more vulnerable and the underlying mechanisms, aiming to prevent irreversible mistakes.

“One bad signature will be able to drain your account on Ethereum after EIP-3074.”

Yes; this is true. 3074 coauthor here! Let me put this concern to rest a bit before it gets more out of hand.

To start: I’m not aware of any wallets that support signing unprefixed data today. This means that currently, no wallets support 3074. Doesn’t matter how many control panels you navigate through or advanced features you turn on. It isn’t possible to sign a 3074 message today.

The messages you sign to “login” to dapps use a completely different standard based on EIP-191. This prepends the following data to the message you sign:

“””

0x19 <0x45 (E)> <thereum Signed Message:\n” + len(message)> <data to sign>

“””

That’s what makes it impossible to trick someone logging into a dapp to actually sign a valid Ethereum transaction.

Transactions are prefixed with single byte values:

0x01 - 2930 tx

0x02 - 1559 tx

0x03 - 4844 tx

more info here: https://github.com/ethereum/execution-specs/tree/master/lists/signature-types

3074 plans to use the prefix 0x04. This will disambiguate it from all other types of signable data in Ethereum.

Wallets will have to actively opt-in to allowing users to sign these messages.

Depending on how wallets integrate 3074, they could create a situation where their users can more easily be exploited. To understand this, we need to make sure we understand how 3074 signatures work.

The auth msg which the signature is constructed over have the below fields. Importantly, it includes an invoker address. This is the only address under which the signature will be considered valid by AUTH.

For an account to be drained 1) the wallet will need to allow users to sign to any invoker address and 2) the users must not verify the invoker is trustworthy. Do either of those and there is not an issue.

For 1) we hope wallets understand that 3074 invokers are more akin to extensions of their code than they are contracts. Wallets don’t give users the freedom to run arbitrary code with access to their pk; similarly, they shouldn’t allow users to delegate their account arbitrarily.

So if wallets insecurely integrate 3074 and users do not verify the invoker they’re interacting with, it is possible to delegate to a malicious invoker.

However, it is possible to undo by sending a single tx from the EOA. This revokes all “in-flight” AUTH signatures.

At minimum, wallets should make signing a 3074 message a big deal. This is like exporting-your-private-key level of big deal.

Assuming a wallet securely integrates 3074, it is still possible for an account to be swept. This is a fundamental property of batch txs. It as easily allows you to send multiple ops as it allows an attacker to trick you to send a batch of assets to an address they control.

Wallets must clearly display each op you’re signing over. This way, it is easy to notice “I was only planning to make a single trade, but this signing request is having me do a dozen transfers also”.

It will be impossible to detect this if batching available via blind signing.

Yes, 3074 is putting a lot of trust into wallets. But look, we are already trusting them with securely our private key! There isn’t a higher level of trust.

It is possible to integrate and use 3074 safely. If any wallets have questions on how they can do this, please don’t hesitate to reach out. As authors of 3074, we’re currently figuring how we can best help this standard in its next phase of life.

Over the last several years, we’ve spent a lot of time developing hypothetical scenarios on how it might be used and abuse. We’re excited for these ideas to begin being productionized. But we’re also cognizant that this is the hard part.

Statement:

  1. This article originally titled “One bad signature will be able to drain your account on Ethereum after EIP-3074” is reproduced from [lightclients]]. All copyrights belong to the original author [lightclients]. If you have any objection to the reprint, please contact the Gate Learn team, the team will handle it as soon as possible.

  2. Disclaimer: The views and opinions expressed in this article represent only the author’s personal views and do not constitute any investment advice.

  3. Translations of the article into other languages are done by the Gate Learn team. Unless mentioned, copying, distributing, or plagiarizing the translated articles is prohibited.

Share

Content

Crypto Calendar

Proje Güncellemeleri
Etherex, 6 Ağustos'ta REX token'ını piyasaya sürecek.
REX
22.27%
2025-08-06
Nadir Geliştirici ve Yönetim Günü Las Vegas'ta
Cardano, 6-7 Ağustos tarihleri arasında Las Vegas'ta Rare Dev & Governance Day etkinliği düzenleyecek. Etkinlik, teknik gelişim ve yönetişim konularına odaklanan atölye çalışmaları, hackathonlar ve panel tartışmaları içerecek.
ADA
-3.44%
2025-08-06
Blok Zinciri.Rio Rio de Janeiro'da
Stellar, 5-7 Ağustos tarihlerinde Rio de Janeiro'da gerçekleştirilecek Blockchain.Rio konferansına katılacak. Program, Stellar ekosisteminin temsilcilerini, Cheesecake Labs ve NearX ortakları ile birlikte içeren anahtar konuşmalar ve panel tartışmaları içerecek.
XLM
-3.18%
2025-08-06
Webinar
Circle, 7 Ağustos 2025 tarihinde, UTC 14:00'te "GENIUS Yasası Dönemi Başlıyor" başlıklı bir canlı Yönetici İçgörüleri web semineri düzenleyeceğini duyurdu. Oturum, Amerika Birleşik Devletleri'nde ödeme stablecoin'leri için ilk federal düzenleyici çerçeve olan yeni kabul edilen GENIUS Yasası'nın etkilerini inceleyecek. Circle'ın Dante Disparte ve Corey Then, yasaların dijital varlık inovasyonu, düzenleyici netlik ve ABD'nin küresel finansal altyapıdaki liderliği üzerindeki etkilerini tartışacak.
USDC
-0.03%
2025-08-06
X üzerinde AMA
Ankr, 7 Ağustos'ta UTC 16:00'da X üzerinde bir AMA düzenleyecek ve DogeOS'nin DOGE için uygulama katmanını inşa etme çalışmalarına odaklanacak.
ANKR
-3.23%
2025-08-06

Related Articles

Solana Need L2s And Appchains?
Advanced

Solana Need L2s And Appchains?

Solana faces both opportunities and challenges in its development. Recently, severe network congestion has led to a high transaction failure rate and increased fees. Consequently, some have suggested using Layer 2 and appchain technologies to address this issue. This article explores the feasibility of this strategy.
6/24/2024, 1:39:17 AM
The Future of Cross-Chain Bridges: Full-Chain Interoperability Becomes Inevitable, Liquidity Bridges Will Decline
Beginner

The Future of Cross-Chain Bridges: Full-Chain Interoperability Becomes Inevitable, Liquidity Bridges Will Decline

This article explores the development trends, applications, and prospects of cross-chain bridges.
12/27/2023, 7:44:05 AM
Sui: How are users leveraging its speed, security, & scalability?
Intermediate

Sui: How are users leveraging its speed, security, & scalability?

Sui is a PoS L1 blockchain with a novel architecture whose object-centric model enables parallelization of transactions through verifier level scaling. In this research paper the unique features of the Sui blockchain will be introduced, the economic prospects of SUI tokens will be presented, and it will be explained how investors can learn about which dApps are driving the use of the chain through the Sui application campaign.
6/13/2024, 8:23:51 AM
How to Do Your Own Research (DYOR)?
Beginner

How to Do Your Own Research (DYOR)?

"Research means that you don’t know, but are willing to find out." - Charles F. Kettering.
12/15/2022, 9:56:17 AM
What Is Fundamental Analysis?
Intermediate

What Is Fundamental Analysis?

Suitable indicators and tools combined with crypto news make up the best possible fundamental analysis for decision-making
12/25/2022, 3:32:22 PM
Navigating the Zero Knowledge Landscape
Advanced

Navigating the Zero Knowledge Landscape

This article introduces the technical principles, framework, and applications of Zero-Knowledge (ZK) technology, covering aspects from privacy, identity (ID), decentralized exchanges (DEX), to oracles.
1/4/2024, 4:01:13 PM
Start Now
Sign up and get a
$100
Voucher!