Security750 words4 min decode

Privy Can Decrypt and Hold Migrated Pump.fun Wallet Keys, Analyst Warns

Karpelès found Pump.fun's migration sends HPKE-encrypted private keys to Privy, whose TEE decrypts and stores them — a custodial arrangement the platform has not publicly justified.

Pump.fun Wallet Migration Raises Private Key Security Concerns
WitnessPump.fun Wallet Migration Raises Private Key Security Concernsstevepb / pixabay

Outputs

  1. Karpelès says Privy's TEE decrypts, stores, and signs with users' private keys after Pump.fun migration

  2. Browser cannot verify the encryption key belongs to Privy; the Pump.fun backend picks the recipient

  3. Report URI warned over 178 popular websites were hit by crypto-stealing JavaScript malware

  4. ARK's Lorenzo Valente calculated nearly $27 billion stolen by hackers since 2017 versus $47 billion in on-chain revenue

  5. Privy and Pump.fun can ban users or move assets based on a court order, per the analysis

Pump.fun's wallet migration flow hands users' decrypted private keys to infrastructure operated by Privy, analyst Karpelès concluded after examining the process. The finding cuts against the platform's apparent promise of user-controlled custody, and it arrives as industry losses to hacking approach $27 billion since 2017.

Karpelès laid out the mechanism in detail. "Here the encryption does happen in your browser, but the decryption key belongs to Privy: their infrastructure (a TEE) decrypts your private key, keeps it, and signs with it for whoever passes their login check," he wrote. The encryption, in other words, protects the key in transit only; after arrival, the trusted party is Privy, not the user.

How Does the Migration Actually Work?

The sequence begins when a user enters a private key and the platform checks that it matches the connected wallet. Pump.fun then requests an encryption key from its own server, which relays what is presented as Privy's public key. The browser encrypts the private key using HPKE, a hybrid public-key encryption standard, and sends it through Pump.fun to Privy, where a trusted execution environment decrypts and stores it.

From that point forward, Privy can sign transactions whenever a valid session requests them. The user no longer holds the only copy of the credential that controls the funds.

Is the Encryption Really End-to-End?

Karpelès identified a structural flaw in the design: the browser cannot independently verify that the encryption key genuinely belongs to Privy. The Pump.fun backend determines the recipient of the encrypted key.

"In real E2E, the relay can't choose who the recipient is," he stated. If the relay chooses the recipient, the user is trusting the relay — not cryptography — for confidentiality.

Who Decides Whether You Keep Your Wallet?

The dependency chain extends further. Privy and Pump.fun could deny users access to their wallets, and social login providers such as Google and GitHub add another layer of reliance on third parties.

"Privy and pumpfun gets to decide if you keep access to your wallet," Karpelès wrote. "Got some funds sent to you from a source that they decide is suspicious, or they just don't like you? You can get banned and lose access to your wallet, or they can decide to move your assets based on a court order."

That arrangement, in practice, resembles a custodial model with delegated login rather than self-custody. Whether users understand the distinction is a separate question the platform has not addressed publicly.

What About the Key Entry Field Itself?

A more conventional vulnerability also drew scrutiny. The private key entry field is an ordinary webpage text box, which third-party scripts could potentially access.

The concern is not theoretical. Report URI, a service that monitors scripts running on websites, recently warned that more than 178 popular sites had been struck by crypto-stealing malware planted in an optional JavaScript field within customer dashboards. A single compromised or malicious script on the migration page could, in the worst case, capture keys at the moment of entry — before any encryption applies.

Was Custody of Existing Keys Necessary at All?

Karpelès also questioned the premise of the design. The migration already requires a Solana signature to verify ownership of the wallet, which means a signature-based process could have preserved user access without transferring private keys at all.

The choice to move keys into Privy's custody therefore appears to be an engineering decision rather than a technical necessity. The platform has not publicly explained why the custodial route was taken; the absence of that explanation is itself part of the story.

How Large Is the Broader Risk?

The criticism lands during a difficult stretch for crypto security. ARK researcher Lorenzo Valente calculated that hackers have stolen nearly $27 billion since 2017, measured against roughly $47 billion in cumulative on-chain revenue. Put differently, thefts have consumed more than half of everything the sector has earned on-chain over eight years.

Pump.fun has drawn criticism before. In August, Curve Finance founder Michael Egorov called the platform a "casino of scams." The new analysis shifts the charge from market quality to custody architecture — a more concrete, auditable claim.

What Happens Next?

No patch, migration pause, or contractual change has been announced in response to the findings. Until Pump.fun documents who can decrypt, store, and sign with migrated keys — and under what legal process access can be revoked — users retain the operational risk the analysis describes.

via cryptonews.net (Source)

More from Elena Vasquez

Elena Vasquez

Show full bio

Staff writer covering regulation, policy and their impact on crypto and web3 industry at Mempool Brief.

1,837 articles