Skip to content
The $1.5 Billion Laptop: What the Bybit Hack Teaches Every Engineering Team
AI Security

The $1.5 Billion Laptop: What the Bybit Hack Teaches Every Engineering Team

November 23, 2026 · Kody Doherty
  1. 01

    Fake project

    a Docker project run from Downloads

  2. 02

    Laptop compromised

    malware on a developer Mac

  3. 03

    Live sessions reused

    AWS session tokens hijacked

  4. 04

    Front end changed

    JavaScript in the wallet UI

  5. 05

    $1.5B moved

    Feb 21, 2025

Every step was ordinary. Each one is closed by a control that works without anyone remembering.

In February 2025, attackers stole about $1.5 billion in crypto from Bybit, according to the FBI, which attributed it to North Korea. They did not break Bybit’s wallet. They broke into the laptop of one developer at Safe{Wallet}, the company whose software Bybit used to approve transactions, and worked their way from there to the web page Bybit’s signers trusted.

Nothing in that chain required a genius exploit. That is the lesson: the most expensive breach on record was a sequence of ordinary steps, and each one has an ordinary, automatable defence.

What happened, step by step

Safe{Wallet} published the findings of its investigation, led by Mandiant, on March 6, 2025. In order:

  • February 4: a Safe developer’s macOS machine was compromised after a Docker project, sitting in the Downloads folder, reached out to an attacker’s domain. The files’ location suggested “possible social engineering”, in Mandiant’s words.
  • February 5: the attacker first reached Safe’s AWS environment. They tried to register their own MFA device and failed.
  • Instead, they rode the developer’s live sessions. Safe required MFA again every 12 hours. The attacker “hijacked active AWS user session tokens”, likely through the malware, and timed their work to the developer’s own hours, so the sessions were already open.
  • February 5 to 17: reconnaissance inside AWS.
  • By February 19: malicious JavaScript sat in the Safe web front end, served from an S3 bucket. Sygnia, hired by Bybit, found it was written to activate only for Bybit’s wallet contract and one other address.
  • February 21: Bybit’s signers approved what looked like a routine transfer. The front end showed them one thing and signed another. About two minutes later the clean files were back.

Safe’s own summary of the root cause: “compromise of a Safe{Wallet} developer’s laptop”.

Why the usual defences did not stop it

Safe had MFA. MFA protects the moment you log in. It does not protect a session that is already open, and that is what the attacker used. This is why “turn on MFA” is necessary and not sufficient.

The developer had access that reached production: the storage behind the live wallet front end. One laptop, compromised once, was enough.

And nothing checked whether the code being served to Bybit’s signers was the code Safe had built and reviewed.

What Safe changed afterwards

Safe listed what it did next: a full reset of infrastructure, credentials and keys; new developer machines; its transaction service restricted to internal access; malicious-transaction detection; and more logging. Those are the right moves. The point of this post is that most teams can make the same ones before an incident instead of after.

The controls that close each step

  1. Untrusted code never runs where production credentials live. Test projects, take-home assignments and “can you look at this repo” requests run in a disposable container or a separate machine with no cloud credentials. This is the step that would have broken the chain earliest.
  2. Phishing-resistant keys and short sessions together. Hardware security keys that need a physical touch make stolen passwords and one-time codes useless, and Mandiant recommends hardware-token MFA for exactly these organizations. But because this attack reused live sessions, the key has to be paired with short session lifetimes and re-authentication for sensitive actions. One without the other leaves a gap.
  3. Least privilege, enforced in code. A developer laptop should not be able to write to the storage behind a production front end. Deploys go through a pipeline with its own narrow role, and humans get read access by default, with time-boxed elevation when they need more.
  4. Integrity checks on what you serve. Hash or sign front-end builds in CI and alert when what is live does not match what was built. A two-minute window between the swap and the theft is too short for people; it is not too short for a machine.
  5. Alerts on the unusual. A failed attempt to register a new MFA device and weeks of reconnaissance are signals. Logging them is easy; having something watch them is the part that matters.

None of these needs a security team of fifty. Each can be built into a pipeline and a cloud account in days, and then it keeps working without anyone remembering to.

Frequently asked questions

Would a hardware security key have stopped the Bybit hack? Not on its own, according to the published findings: the attacker reused sessions that were already authenticated. Hardware keys plus short sessions and least-privilege access would have made each step much harder.

Was Bybit’s own infrastructure compromised? Bybit and Safe both said the compromise was in Safe’s infrastructure; Bybit’s signers were shown a manipulated transaction in Safe’s front end.

Does this apply to companies that are not in crypto? Yes. The steps (a developer laptop, a reused cloud session, broad access, an unchecked deploy) exist in almost every software company.

Sources

  • FBI public service announcement, February 26, 2025: ic3.gov/PSA/2025/PSA250226
  • Safe{Wallet} updates with Mandiant findings, February 26 and March 6, 2025 (Safe’s official X account)
  • Bybit incident timeline, March 3, 2025, and Sygnia’s interim report, February 25, 2025
  • Mandiant, securing cryptocurrency organizations, January 21, 2025: cloud.google.com

Where to start

The Security Gap Sprint ($7,500, 3 weeks) finds which of these steps are open in your company and automates three controls in your pipeline and cloud, or the fee back. Security and compliance has the details, and every price is on the pricing page.

Need this done, not just read about?

AI agents, automation, security or an AWS cost review - let's talk.

Book a call →