mythsthe wider recordXZ Utils2024open-source software / linux supply chain

everyone assumed:

a widely-used open-source library is well-watched, so it's safe

what was actually true:

Open source is watched by people, and people can be befriended, exhausted, and outlasted; a library being everywhere does not mean anyone is positioned to see a patient insider who arrived looking like a volunteer.

how it happened

  1. who"contributor"two years of trust building
  2. the targetmaintainer accesshanded over gradually
  3. thenversions 5.6.0, 5.6.1targeted SSH logins
  4. how it stoppedcaughta slow login, noticed
where it was aimed where it stopped

what everyone assumed

The comfortable belief about open source is that many eyes make code safe, and that a library shipped inside nearly every Linux distribution has been watched closely enough to trust. It is a reasonable belief, because most of the time it holds. What it quietly assumes is that the people contributing are who they present themselves to be, and that a maintainer offered steady help has no reason to suspect the help is the attack.

what happened

The pressure on the project was ordinary and visible: one overstretched maintainer, public messages pushing for the newer contributor to be given more authority, a slow handover that looked like succession planning. Across roughly two years the contributor built credibility commit by commit, then used that standing to introduce a backdoor into liblzma, hidden inside files disguised as test data and assembled only during the build. The malicious code was written to interfere with SSH authentication on systems that linked the library, and it shipped in versions 5.6.0 and 5.6.1. The maintainer who had been worn down and won over was the target of the operation, not its author.

step by step

  1. one overstretched maintainerPublic pressure to hand over authority.
  2. a contributor builds trust for two yearsCommit by commit.the assumption breaks here
  3. a backdoor hidden in test filesVersions 5.6.0 and 5.6.1, aimed at SSH authentication.
  4. 29 March 2024half a second of latency gives it awayAndres Freund finds CVE-2024-3094, days from stable releases.

how it surfaced

On March 29, 2024, a Microsoft engineer named Andres Freund noticed SSH logins on a test machine were a little slow and using more CPU than they should. He followed the anomaly into the compression library and found the backdoor, catalogued as CVE-2024-3094 and scored the maximum 10. The code was days from reaching stable, widely-shipped releases. It was found because one person chased half a second of latency he could have ignored.

Open source is watched by people, and people can be befriended, exhausted, and outlasted; a library being everywhere does not mean anyone is positioned to see a patient insider who arrived looking like a volunteer.

picture it at a company like yours

The company here is made up. The other two paths are not: they happened, and each links to the story.

your company
a normal dayYour product relies on a free tool maintained by one tired volunteer.
the gap nobody seesA helpful newcomer earns trust over two years and takes over maintenance.trusting what a supplier ships
  1. in this story
    the day it mattersThey hide a backdoor in an update that is days from wide release.
    what it costs youIt is caught by luck, because one person noticed a login was half a second slow.
  2. or it goes like this
    howA genuine, signed update from a certified vendor carries a backdoor.
    what leavesa quiet way into your networkwho ends up with ita state intelligence service
    it happenedSolarWinds / Sunburst, 2020
  3. or it goes like this
    howA build helper everyone uses is hijacked and its versions repointed.
    what leavessecret keys, printed into build logswho ends up with itanyone reading public logs
    it happenedtj-actions/changed-files, 2025

sources

  1. The XZ Utils backdoor (CVE-2024-3094): Everything you need to know, and more, Datadog Security Labs
  2. xz Backdoor CVE-2024-3094, Open Source Security Foundation
  3. XZ Utils backdoor, Wikipedia

← all myths

your turn

what you can do about it

  1. this week

    Look at whether you know which open-source packages your products actually depend on, all the way down, and whether you would learn about a compromised one from anything other than the news.

    Your software is built on open-source components you did not write and do not staff, pulled in through layers of dependencies most teams have never fully listed. The assumption to retire is that popularity is the same as oversight. The XZ backdoor was stopped by luck and one curious engineer, which is a thin layer to keep building on.

  2. go deeper

  3. if you're not sure where to start

    Run the offboarding checklist on one leaver. It covers every account and token to close when someone leaves.

    open the checklist →

the letter · every two weeks

one access gap in your inbox, with the fix.

Every issue takes one way access creeps in, shows a real incident where it went wrong, and ends with one thing to check that week. Written for the people who run the tools, without a security team behind them.

  • 1one mechanism, explained plainly
  • 2one real incident, taken apart
  • 3one step you can take on Monday

get the next issue

One email every two weeks. Your address stays here and is never passed to vendors. One click to unsubscribe. Privacy.