Pump.fun’s official documentation says, “The private key is encrypted in the browser and kept safe with end-to-end encryption by Privy.” Today, Mt. Gox’s former CEO Karpelès read through the JS actually served by the website. His conclusion: those four words are marketing language, not a technical description.
I wrote yesterday about Pump.fun asking people to paste in their private keys. At the time, I could only talk about the general risks. This time, someone examined the code, and a few details are much more specific than “don’t share your private key”:
First, end-to-end encryption means only you can decrypt it. Here, Privy holds the decryption key. The private key goes into Privy’s TEE, where it’s decrypted and stored. After that, anyone who passes Privy’s login checks can have it sign on their behalf. The other end is the custodian, not you. By that standard, any HTTPS upload could be called end-to-end encryption.
Second, the public key used for encryption is sent to the browser by Pump.fun’s own servers. The browser has no way to verify that it really belongs to Privy. Pump.fun itself is the potential man-in-the-middle.
Third, the box where you paste your private key is an ordinary textarea on the page, not an isolated iframe like the one Stripe uses for entering card details. Google Tag Manager and analytics scripts on the page could theoretically read it. The CSP also allows unsafe-inline, all of unpkg and jsdelivr, Facebook, and TikTok. He says he hasn’t found any code currently reading it, but technically, nothing prevents it.
Fourth, deleting your Pump account won’t get your private key back. The documentation itself says Privy still holds it.
The most damning point: there’s no need for your private key at all. The migration process already asks you to sign a Sign in with Solana message, which proves you own that address. Hardware wallet and multisig users can’t export their private keys anyway, so they have to create a new account.
That’s Karpelès’s code analysis. I haven’t reproduced the JS line by line, and Pump.fun and Privy haven’t publicly responded to these details so far. But just the fact that “the public key is supplied by their own server” and “the input field is plaintext” is enough to convince me not to paste mine in.
The advice is the same: choose “create a new account.” The system will give you a new Pump wallet; just transfer in the small amount you need for new launches. Keep your main wallet’s private key where it belongs. Before 15:00 UTC on 11/30, you’re sure to get a ton of “migration reminder” DMs. They’re all scams. The official prompt only appears in that window after you log in.
#Pumpfun #Solana