PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

$1.4 Billion Crypto Heist Traced To Hackers Breaching Safe{Wallet}

The malicious Javascript code used in the attack could secretly modify transactions for Safe{Wallet}, a cryptocurrency wallet provider.

 & Michael Kan Principal Reporter

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Photo by Jaque Silva/NurPhoto via Getty Images)

The suspected North Korean hackers who stole $1.4 billion in cryptocurrency from Bybit pulled off the heist by infiltrating a digital wallet provider and tampering with its software. 

The hackers targeted Safe{Wallet}, a provider of secure cryptocurrency wallets, including for Bybit. The attackers did so by first compromising the credentials of a Safe Developer, and then injecting malicious Javascript code a Safe{Wallet} system, according to Bybit. 

“This allowed the attacker to gain unauthorized access to the Safe(Wallet) infrastructure and totally deceive signers into approving a malicious transaction,” the cryptocurrency exchange said in a statement

The findings partly come from two cybersecurity agencies that Bybit hired to investigate the attack, which has been linked to the North Korean hacking group Lazarus. On Wednesday, Bybit’s CEO Ben Zhou published the two preliminary forensic reports after announcing $140 million in bounty rewards to help it trace and freeze the stolen funds.  

The hackers were able to steal the funds from an offline “cold wallet” carrying the cryptocurrency, even though the same wallet required multiple private keys to execute a transaction. The forensic investigation found traces of the hack by examining the computers for the three Bybit employees that signed the fraudulent transaction. A closer look at the Chrome browsers’ cache files indicated the existence of the malicious Javascript code coming from Safe{Wallet}’s IT infrastructure over the app.safe.global domain.

The hackers seem to have deployed their attack last Tuesday and Wednesday. The malicious Javascript code could secretly modify the “executeTransaction and signTransaction call” for a cryptocurrency transaction, sending the funds to the attacker’s desired address.   

“After the transaction has been executed or signed, the original transaction data is restored, either by updating the result (in the sign-transaction case) or the transaction object (in both cases), ensuring the tampering remains hidden from subsequent processing,” says the forensic report from Verichains, a financial security firm. 

“The payload was designed to activate only when certain conditions were met. This selective execution ensured that the backdoor remained undetected by regular users while compromising high-value targets,” Verichains added. 

The hackers were also quick to delete the malicious Javascript code from Safe{Wallet} system after stealing the cryptocurrency. “The investigation determined that the JavaScript resources were modified in the AWS S3 bucket on February 21, 2025, at 14:15:13 and 14:15:32 UTC - approximately two minutes after the malicious transaction was executed,” the forensic report from the cybersecurity provider Sygnia said.

(CFOTO/Future Publishing via Getty Images)

 It’s unclear how the hackers breached Safe{Wallet}. For now, the cryptocurrency wallet provider reports the attackers were able to compromise a “Safe{Wallet} developer machine which affected an account operated by Bybit.” 

“The Safe{Wallet} team has fully rebuilt, reconfigured all infrastructure, and rotated all credentials, ensuring the attack vector is fully eliminated,” it added. “The forensic review of external security researchers did NOT indicate any vulnerabilities in the Safe smart contracts or source code of the frontend and services.” 

Meanwhile, Bybit said it “moved the majority of funds” out of its Safe{Wallet} administered addresses on the day of the hack. The company has also received a huge loan to help it recover from the $1.4 billion lost in Ethereum.

About Our Expert

Michael Kan

Michael Kan

Principal Reporter

My Experience

I've been a journalist for over 15 years. I got my start as a schools and cities reporter in Kansas City and joined PCMag in 2017, where I cover satellite internet services, cybersecurity, PC hardware, and more. I'm currently based in San Francisco, but previously spent over five years in China, covering the country's technology sector.

Since 2020, I've covered the launch and explosive growth of SpaceX's Starlink satellite internet service, writing 600+ stories on availability and feature launches, but also the regulatory battles over the expansion of satellite constellations, fights with rival providers like AST SpaceMobile and Amazon, and the effort to expand into satellite-based mobile service. I've combed through FCC filings for the latest news and driven to remote corners of California to test Starlink's cellular service.

I also cover cyber threats, from ransomware gangs to the emergence of AI-based malware. In 2024 and 2025, the FTC forced Avast to pay consumers $16.5 million for secretly harvesting and selling their personal information to third-party clients, as revealed in my joint investigation with Motherboard.

I also cover the PC graphics card market. Pandemic-era shortages led me to camp out in front of a Best Buy to get an RTX 3000. I'm now following how the AI-driven memory shortage is impacting the entire consumer electronics market. I'm always eager to learn more, so please jump in the comments with feedback and send me tips.

The Best Tech I've Had:

  • My first video game console: a Nintendo Famicom
  • I loved my Sega Saturn despite PlayStation's popularity.
  • The iPod Video I received as a gift in college
  • Xbox 360 FTW
  • The Galaxy Nexus was the first smartphone I was proud to own.
  • The PC desktop I built in 2013, which still works to this day.

Read full bio