Four Security Strategies Explained Through a Stolen Wallet

An analysis of four self-custody security strategies following the theft of Keplr social-login wallets: the more complex the process and the more widely trust is distributed, the larger the attack surface exposed to hackers.

Four Security Strategies Explained Through a Stolen Wallet

Keplr’s social-login wallets have suffered a security incident, with assets transferred out of several thousand accounts. The official explanation points to a vulnerability in Web3Auth’s infrastructure. Most of the affected users did nothing wrong; they simply chose the convenient option of creating their wallets with Google or Apple login.

The specific cause of the incident has not yet been disclosed in detail, and the companies involved have been shifting blame onto one another. Following this lead, Jiaolian did some preliminary research and compared the security strategies used by several typical wallets to see where the problems lie.

First, let’s use the traditional cryptocurrency self-custody strategy as our baseline: the user writes down the seed phrase, puts it on paper, and stores it carefully.

This strategy is simple. The key is in your hands, and no one else knows it. Your security boundary is yourself: don’t lose the paper, don’t photograph it, and don’t tell anyone about it. The drawback is that human memory is unreliable, while fires, moving house, and even doing the laundry can make that piece of paper disappear. But the advantage is that the risk is concentrated in the paper itself—you can see it and understand it clearly. And when something is crystal clear, you know it deserves 120% of your attention and must be guarded at all costs.

With that baseline in mind, let’s look at several popular wallet apps and how they handle private keys. Note that we are excluding the model used by centralized exchanges, which directly custody all control over users’ assets. We are discussing solutions that custody the private-key seed phrase without holding complete control over the assets.

Let’s start with the approach used by the Uniswap wallet. Its strategy is fairly simple: encrypt the seed phrase and back it up to your own iCloud or Google Drive.

Apple’s servers store a string of ciphertext, while the password needed to decrypt it exists in your head. To restore the wallet, you log in to your cloud account and enter the password originally created specifically to encrypt the seed phrase; it is not the same as your Apple ID password. The cloud provider only has the ciphertext and, in theory, cannot decrypt it.

The risk is therefore shifted to the account side: a stolen Apple ID, an intercepted verification code, or a phishing website that tricks you into surrendering your password could all put the backup in someone else’s hands. At least, however, the risk remains in a familiar place. Your cloud account and password are things you use every day.

There is only one cloud-side risk: Apple’s or Google’s storage service being breached by hackers. Of course, that is also why the wallet chooses Apple and Google rather than other cloud providers—it places relatively greater trust in the security capabilities of these two giants.

Next is the social-login approach used by the classic Web3 wallet MetaMask, commonly known as the “Fox” wallet. Its setup is much more complicated: the encrypted seed phrase is stored on MetaMask’s own servers, while the decryption key is split into several pieces and distributed among different server nodes.

Recovery requires two things: first, login credentials from Google, Apple, or Telegram; and second, the password you set. Only when both are available can the key be reconstructed.

MetaMask specifically states that even if all of its servers were taken over, an attacker would obtain only fragments and would still need to crack your password. That statement is correct—but only under certain assumptions. During a normal online recovery, the login credentials are the first gate, the server’s rate limiting is the second, and the password is the third. A weak password cannot be cracked immediately.

But once the fragment nodes are compromised and the attacker obtains the fragments, they can conduct an offline brute-force attack on their own machines. At that point, rate limiting is no longer effective, and password strength becomes the only line of defense.

Finally, let’s look at the solution used by Keplr, the wallet involved in this incident. The key is split into three pieces: one is held on the user’s device, one is held on a cloud server, and one serves as a recovery backup. After login, the server participates in reassembling them.

By design, any two of the three pieces can be combined to recover the private key. But if two of those pieces are in practice controlled by the same service provider, the three-piece threshold degenerates into a single point of failure. Intuitively, Jiaolian suspects that this may be where the incident occurred, although we will have to wait for the provider to disclose more specific technical details before we know what really happened.

When we place the four approaches above side by side, a counterintuitive pattern begins to emerge.

From the first approach to the fourth, there appear to be more locks, more components, and greater system complexity, with claims or promises that sophisticated encryption strategies can improve security. Yet the risks that users can actually see become fewer and fewer.

With a key written on paper, you know where it is. With encrypted data stored in iCloud, you still know that it is at Apple. Under the MetaMask approach, the ciphertext is on servers, the fragments are on nodes, and the password is in your head—you have to understand four different parties before you can even explain the arrangement clearly. With Keplr, when something goes wrong, users do not even know whom to hold accountable.

At the same time that rising system complexity makes it harder for users to understand what is happening, the system’s attack surface exposed to hackers is growing. How could hackers not be delighted?

Paper and pen have only one risk: being stolen or destroyed by fire. An iCloud backup adds a cloud account. The MetaMask setup adds the login provider, fragment nodes, and password strength. The Keplr setup adds the entire infrastructure. With every additional layer, trust dependencies are distributed across more levels and processes, rather than eliminated.

This diffusion of trust dependencies can be fatal. Consider a simple calculation: when one person manages the key, the system fails if that person makes a mistake; when two people handle it, the system fails if either one makes a mistake. Clearly, the probability that at least one of two people makes a mistake is greater than the probability that one person makes a mistake on their own. Reliability can only decline as more processes are chained together; it cannot increase.

So why design systems this way? Because with the first approach, the probability of human error is simply too high. Writing down one word incorrectly, losing the paper, or having a family member throw it away as scrap paper—these things happen every day. Social login sharply reduces the user error rate, at the cost of introducing risk at the service-provider layer. On paper, that may seem like a worthwhile trade-off. The problem is that users can see and verify neither of these two probabilities.

That is the most ironic part. When a solution requires ten pages of documentation to explain why it is secure, ordinary users have already lost the ability to judge it for themselves. All they can do is choose to believe. But belief is not security—it is a gamble.

Jiaolian cannot help recalling a line from Satoshi Nakamoto’s Bitcoin white paper: “The need for trust has spread.” Satoshi was discussing online payments, but the analogy applies to private-key recovery as well. Recovery is itself a reversible process, and it inevitably brings about a wider need for trust.

And that diffusion inherently means a larger attack surface for hackers. Every link that requires trust is a potential entry point for an attack.

Custody methods that truly stand the test of time are often simple, intuitive, and easy to understand, with the fewest possible steps and the smallest possible need for trust. Simplicity does not mean crude implementation; it means keeping the complexity in the implementation while leaving users with something they can evaluate.

If a wallet cannot clearly explain who actually holds the key, then its claims of self-custody and security are nothing more than marketing slogans. If you truly want to own something, the prerequisite is that you can point to it and say: this is mine, and I am 100% certain that this is where it is.

Published on
Disclaimer: Investing involves risk. This article does not constitute investment advice.