We manage your security to weather the AI storm →

← Resource Hub

Crypto Supply Chain Attacks: Every Major Case Since 2023

By Daniel Gelfand Published 7 min read

Part of our guide to crypto hack statistics

Crypto Supply Chain Attacks: Every Major Case Since 2023

Quick answer. Since 2023, crypto supply chain attacks hit packages (Ledger Connect Kit, chalk, axios, Bittensor), wallet software (Safe{Wallet}, Trust Wallet), vendors (Ginco at DMM Bitcoin, Kiln) and vendor scripts (Polymarket). Bybit lost the most: about $1.5B, per the FBI.

Watch: Crypto Supply Chain Attacks: Every Major Case Since 2023 1:29
Video transcript

A supply chain attack does not break your code. It changes something you take from someone else.

Since 2023, attackers have hit packages like Ledger Connect Kit and axios, wallet software, vendors like Kiln, and scripts on Polymarket.

The largest was Bybit. Code planted in the Safe Wallet web app cost about 1.5 billion dollars, per the FBI.

Seven of eighteen cases ran through npm or PyPI. Two-factor was on in several. Attackers took a session token, a typed code, or the whole machine.

The pattern is clear. Publishing rights are the perimeter. Runtime loading skips your review. The package can differ from the repo. And a flag is not a takedown.

Lockfiles and pins stop a bad version on install, but not code loaded from a CDN at runtime. Layer on your own integrity hashes, a strict content security policy, and vendor script review.

Then detect what gets through. Hash every script, flag untagged releases, diff your host against the approved build, match advisories, and rerun recon.

Guardian's Managed Security runs those last two checks. Weekly recon flags third parties that could inject code, and new disclosures are matched to your dependencies, with an engineer confirming exposure.

Read the full timeline, or talk to Guardian about finding the code that can reach your users.

A supply chain attack does not break your code. It changes something you take from someone else: a package, or a vendor's script or service.

The Timeline Since 2023

Dates are when the attack struck or was disclosed.

2023 to 2025

DateWhat was compromisedHowReported impact
Dec 14, 2023Ledger Connect Kit, a library dApps loadFormer employee phished; npm access not properly revokedAbout $600,000, per Ledger
Late May 2024DMM Bitcoin, through wallet vendor GincoGinco employee hacked via a fake coding test; transaction request likely altered4,502.9 BTC ($308M), per the FBI
Jul 2, 2024Bittensor's PyPI package, version 6.12.2Malicious release stole private keysAbout 32,000 TAO ($8M), per The Block
Oct 30, 2024lottie-player, an animation libraryA developer's compromised access token published three versionsOne victim lost about $723,000, per Scam Sniffer
Dec 3, 2024@solana/web3.jsPhished npm login; versions sent private keys outAbout $184,000, by Solscan's estimate
Feb 21, 2025Safe{Wallet} web app, used by Bybit's signersDeveloper laptop; JavaScript planted in Safe's AWS storageAbout $1.5B, per the FBI
Mar 14, 2025tj-actions/changed-files, a GitHub ActionLeaked token let attackers repoint its tags; CI secrets printed to logsOver 23,000 repos; first aimed at Coinbase, which reported no damage, per Unit 42
Apr 21, 2025xrpl.js, the XRP Ledger's official SDKPhished maintainer's npm login; five versions sent seeds and keys outPackage with 140,000+ weekly downloads, per Aikido
Jul 16, 2025BigONE's production networkSupply chain attack altered account and risk-control servers, per SlowMistAbout $27M, per The Block
Sep 8, 2025chalk, debug and 16 more npm packagesMaintainer phished through a lookalike npm domainAddress swapper in packages with 2B+ weekly downloads, per Aikido
Sep 8, 2025Kiln Connect API, SwissBorg's staking providerEngineer's GitHub token; API returned a transaction changing withdrawal authorityAbout 192,600 SOL ($41.5M), per CoinDesk
Dec 24, 2025Trust Wallet extension 2.68Leaked store API key; Trust Wallet links it to Shai-Hulud's November wave2,520 addresses, about $8.5M, per Trust Wallet

2026

DateWhat was compromisedHowReported impact
Mar 22, 2026Resolv's minting key, through a contractorContractor's GitHub credential from a breached outside project; a workflow stole more credentials80M USR minted, about $25M taken, per Resolv
Mar 31, 2026axios, an HTTP client on npmMaintainer's PC taken over; releases added a trojan dropperLive about three hours, per the maintainer's post-mortem
Jun 25, 2026Polymarket's website, through an unnamed vendorVendor compromise let attackers inject code for some usersAbout $3M, per PeckShield; Polymarket promised full refunds
Oct 27, 2026Predict.fun's API docs siteThird-party-hosted docs site may have been compromisedAbout 400,000 USDT, per Predict.fun
Oct 29, 2026Polymarket's performance-monitoring scriptVendor script replaced with one that used live sessionsAbout $2.7M, per Polymarket, which pledged $3.9M in refunds
Nov 16, 2026Optimizely Web Experimentation snippetsSignup flaw let an attacker edit customer projects188 infected snippets, 178 organizations, per Report URI

npm Supply Chain Attacks

Seven of the 18 cases ran through npm or PyPI. Each was a malicious release of a real package, not a bug in its code.

In September 2025, an email from npmjs[.]help, a lookalike domain, cost one maintainer his account. The payload in his packages rewrote wallet payment destinations in the browser, Aikido found.

Shai-Hulud went further. GitHub calls it "a self-replicating worm that infiltrated the npm ecosystem via compromised maintainer accounts," and removed more than 500 packages.

In March 2026, attackers posing as a company founder got the axios lead maintainer to install malware during a Teams call, his post-mortem says. Two releases followed, each adding plain-crypto-js, whose install script dropped a remote access trojan.

Microsoft attributes it to Sapphire Sleet, a North Korean actor whose "primary motivation" is stealing cryptocurrency wallets. Our axios npm attack explainer has the timeline and checks.

Official chain SDKs keep getting hit with seed stealers: dYdX's v4 clients in January 2026, per Socket, and Injective's sdk-ts, BleepingComputer reported in July 2026.

Two-factor authentication was on in several cases. Attackers took a session token (Ledger), a code typed into a fake site (@solana/web3.js) or the whole machine (axios).

Wallets, SDKs and Vendors

On December 14, 2023, a phished former employee's npm account published Ledger Connect Kit 1.1.5 to 1.1.7 with a drainer.

Pinning did not help. Ledger says its loader lets a dApp "load the Connect-Kit at runtime from a CDN," so integrators served the bad code without a rebuild. See our Ledger Connect Kit explainer.

The largest case hit a wallet interface. Safe says a developer's laptop was compromised and AWS session tokens were hijacked to bypass MFA.

Sygnia found the malicious JavaScript in a file Safe served from AWS, modified two days before the theft, BleepingComputer reported. Our Bybit frontend explainer decodes what the signers approved.

Trust Wallet shows the release key is part of the chain. A leaked Chrome Web Store API key let version 2.68 go live outside its standard release process.

Vendors in the signing path count too. The FBI says attackers used session cookies to impersonate a Ginco employee, then likely altered a legitimate DMM transaction request.

Kiln says its staking API returned the malicious transaction alongside the expected unstake, and only for authorities holding over 150,000 SOL. SwissBorg signed it.

Third-Party Scripts and Hosting

Most of these cases skipped the build entirely. The code arrived from a CDN or vendor as the page loaded.

Sites loading lottie-player from a CDN with no pinned version "were automatically served the compromised version," LottieFiles' CTO told BleepingComputer.

An attacker replaced a vendor's performance script on polymarket.com. For some users on October 29, 2026, it "used their active session to sell positions and move funds out of their wallet," Polymarket says.

Hudson Rock identified the vendor as DebugBear, The Record reported. Our Polymarket script attack explainer walks through the payload.

Two days earlier, Predict.fun said its API documentation site, "hosted by a third-party provider," may have been compromised. It has promised a full post-mortem.

On November 16, an attacker abused a flaw in Optimizely's signup flow to insert JavaScript into customer projects. The payload swapped crypto addresses and skimmed card numbers, Report URI found.

Our Optimizely attack explainer lists the checks for crypto pages.

What the Pattern Says

Each case turned on something the victim trusted but did not control.

  • Publishing rights are the perimeter. Most attackers held a valid login, token or store key, not an exploit.
  • Runtime loading skips your review. CDN and vendor code changed live pages with no deploy.
  • The package can differ from the repo. Socket noted the bad axios release had no GitHub tag.
  • A flag is not a takedown. Socket flagged the axios dropper six minutes after publication, yet the bad releases stayed live about three hours.

Software Supply Chain Security Controls

ControlWhat it stopsWhere it fell short
Lockfile, exact pins, release delayA malicious version pulled on the next installCode loaded at runtime from a CDN (Ledger)
Subresource Integrity, your own hashesA changed file from a CDNA hash taken from the CDN serving the bad file (Lottie)
Strict CSP script-src and connect-srcScripts and data flows to hosts you never namedCode inside a script from a host you allow
Trusted publishing and provenanceLong-lived tokens publishing from a laptopProvenance "does not guarantee" clean code, npm says
Third-party script reviewVendor tags on trading and signing pagesOnly covers tags you have inventoried

CSP earned its place at Optimizely. Of the affected sites Report URI tested, 24 (15%) blocked the payload, and "a restrictive script-src" set them apart.

For build-side controls such as blocked install scripts, see our dApp frontend supply chain guide.

Detection

These checks catch what gets through:

  • Hash every script your pages load, vendor tags included, and alert on any change.
  • Alert when a registry, CDN or store version has no matching tagged release.
  • Diff what your host serves against the approved build. Safe's tampered file sat there two days.
  • Match new advisories and CVEs to your stack and dependencies, as in CVE monitoring for crypto.
  • Rerun reconnaissance to find the third parties that can inject into your pages.

Recon and Disclosure Matching

Guardian's Managed Security runs the last two checks for you.

For your web app, Guardian's reconnaissance detects third parties that could inject code into it, the route Polymarket's frontend was hit through. It reruns weekly by default and flags anything new that looks unexpected.

Separately, Guardian's system searches for and ingests new CVEs and vulnerability disclosures, then matches them against each client's stack and dependencies.

Each match is triaged and routed to the affected program. Where one reaches you, an engineer confirms the exposure and works with you to patch it.

Find the code that can reach your users

Guardian's Managed Security finds the third parties that can inject into your web app and matches new disclosures to what you run.

Frequently Asked Questions

What was the largest crypto supply chain attack?

Bybit, on February 21, 2025: about $1.5 billion, per the FBI. The FBI attributed the theft to North Korea and calls the activity TraderTraitor. Safe says an outside forensic review found no vulnerabilities in its smart contracts or frontend code.

Does Subresource Integrity stop npm supply chain attacks?

Only for files fetched from a CDN, against a hash you set. A bundled npm release becomes part of your own file, so SRI checks the hash you built. Lockfiles and blocked install scripts cover that route.

What should we do if a compromised package reached our build?

Treat every machine that installed it as compromised. The axios post-mortem says to downgrade, delete the malicious dependency and rotate every secret, token and credential on that machine, including secrets injected into affected CI builds.

Sources