The Bug That Took Down Wintermute Is Still at Large

Though no funds were lost, ParaSwap is the latest protocol found to have a vulnerable deployer address


Source: DALL·E


key takeaways

  • ParaSwap was alerted of the vulnerability early Tuesday by security firms
  • The vulnerability, in a tool called Profanity, was exploited to drain $160 million from global crypto market maker Wintermute last month

Blockchain security infrastructure company BlockSec confirmed on Twitter that decentralized exchange aggregator ParaSwap’s deployer address was vulnerable to what’s become known as the Profanity vulnerability.

ParaSwap was first alerted of the vulnerability early Tuesday morning after Web3 ecosystem security team Supremacy Inc. learned that the deployer address was associated with multiple multi-signature wallets.

Loading Tweet..

Profanity once was one of the most popular tools used to generate wallet addresses, but the project was abandoned due to fundamental security flaws

Most recently, global crypto market maker Wintermute was set back $160 million due to a suspected Profanity bug.

A Supremacy Inc. developer, Zach — who didn’t provide his last name — told Blockworks that Profanity generated addresses are vulnerable to hacks because it uses weak random numbers to generate private keys.

“If these addresses initiate transactions on the chain, exploiters can recover their public keys through transactions and then obtain the private keys by continuously back-propelling collisions on the public keys,” Zach told Blockworks via Telegram on Tuesday.

“There is one and only one solution [to this problem], which is to transfer the assets and change the wallet address immediately,” he said.

After looking into the incident, ParaSwap said that no vulnerabilities were found and denied that Profanity generated its deployer.

Although it is true that Profanity did not generate the deployer, BlockSec co-founder Andy Zhou told Blockworks that the tool that generated ParaSwap’s smart contract was still at risk of Profanity vulnerability.

“They didn’t realize they used a vulnerable tool to generate the address,” Zhou said. “The tool did not have enough randomness which made it possible to crack the private key address.”

Knowledge of the vulnerability has also been able to help BlockSec recover funds. This was true for DeFi protocols BabySwap and TransitSwap, which were both attacked on Oct. 1.

“We were able to retrieve the funds and return them to the protocols,” Zhou said.

After noticing that some attack transactions had been front run by a bot susceptible to Profanity vulnerability, BlockSec developers were able to effectively steal from the thieves.

Despite its popularity as an efficient tool for generating addresses, the developer of Profanity cautioned on Github that wallet security is paramount. “The code will not receive any updates, and I’ve left it in an uncompilable state,” the developer wrote. “Use something else!”

Don’t miss the next big story – join our free daily newsletter.


Upcoming Events

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Pack your bags, anon — we’re heading west! Join us in the beautiful Salt Lake City for the third installment of Permissionless. Come for the alpha, stay for the fresh air. Permissionless III promises unforgettable panels, killer networking opportunities, and mountains […]

recent research

ao cover.jpg


Arweave recently launched the testnet for AO computer, a new messaging protocol that will sit atop a PoS network and aims to become a scalable global compute platform through parallel processing and modularity.


Ore’s price more than tripled as the supply of new tokens paused


I spend an unhealthy amount of time thinking about crypto securities law — and I can’t see how ETH is now a securities offering under Howey


Regulators in South Korea, Japan and Singapore could follow Hong Kong’s lead as Asia responds to spot bitcoin ETF approval in the US


Martin Grant worked with the Fed for roughly 30 years before leaving his position in 2022


BitGo CEO Mike Belshe shared his thoughts on the halving and bitcoin ETFs in an interview with Blockworks


Crypto markets were largely the only ones open over a tense weekend, and they took a beating for it