VOOZH about

URL: https://thenewstack.io/the-xz-hack-reveals-a-looming-8-8-trillion-infrastructure-disaster-hidden-in-plain-sight/

⇱ The xz Hack Revealed a Looming $8.8 Trillion Infrastructure Disaster - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-05-10 10:00:11
The xz Hack Revealed a Looming $8.8 Trillion Infrastructure Disaster
contributed,
Data / Open Source / Security

The xz Hack Revealed a Looming $8.8 Trillion Infrastructure Disaster

Just like our roads, bridges, electrical grid and airports will deteriorate without public investment, so will our software infrastructure without action.
May 10th, 2024 10:00am by Luis Villa
👁 Featued image for: The xz Hack Revealed a Looming $8.8 Trillion Infrastructure Disaster
Image by Pete Linforth from Pixabay.

Imagine the security screening system used at your local airport has broken down for the second time this month. Unfortunately, nothing can be done because it is the responsibility of one guy, Bob, to ensure the security screening system is working. And Bob is an unpaid volunteer.

Bob has a full-time day job, so he can only do security screening repair on nights and weekends, and only when it isn’t soccer season because he coaches his girls in the evening during soccer season. So the security of our skies will have to wait until soccer practice is over.

Sound ludicrous? This is exactly the situation we’ve come to accept as normal when it comes to the software infrastructure that powers all of the world’s phones, computers and the applications that run on them.

This came into stark relief earlier this month when one obscure but heavily used piece of software called xz — which is maintained by a single unpaid volunteer developer — was compromised, likely by a well-funded state actor like China or Russia. The most alarming part of this hack, and what it made crystal clear, is that our global software infrastructure — used by large corporations to generate billions of dollars of wealth — is built on the backs of unpaid labor.

This is dangerous, and it needs to change.

A bit of background: Today, almost all technology is built using open source software. The xz project at the center of this hack is an example of open source software — freely available and highly depended-on code used by millions of people and organizations to compress data and make it take up less space.

Over the past 25 years, open source has gone from a niche concept to the de facto way of building software. This is primarily because it gives any organization using it a huge head start of billions of lines of code that they can use freely rather than writing their own code from scratch. In actuality, one study found that some commercial software products are made up of over 99.9% freely available open source software.

Open source has become a global public good — irreplaceable infrastructure that should be mentioned in the same sentence with clean water, dependable electric power, safe highways and, yes, airport security. In fact, a recent study from Harvard Business School estimated the demand-side value of the open source software infrastructure we all rely on at $8.8 trillion.

By comparison, the U.S. Interstate Highway System is valued at only $742 billion, and the entire U.S. electrical grid is valued at only $1.5 trillion to $2 trillion.

That’s why it is so interesting — and also frightening — that much of the open source software running our companies, our governments and even our weapons systems is written and maintained by a vast community of unpaid volunteers — like Lasse Collin, the maintainer of xz.

The attack that snared xz was an elaborate and devious social engineering hack that took years to carry out, involved multiple fake aliases and preyed upon a weak link: an overworked, unpaid open source maintainer.

Someone using the alias Jia Tan built trust with Collin by contributing useful code over a multiyear period. The other aliases harassed Collin, asking him why more work wasn’t being done, and why he wouldn’t let someone else take over who had the time to work on the project.

Eventually, after admitting to suffering from mental health issues, Collin gave in to the pressure and granted Jia Tan the rights to add their own code to xz. Jia Tan then used their access privileges to add a security backdoor that would allow unfettered access to execute malicious commands on any impacted computer. This backdoor was accidentally uncovered by a curious developer at Microsoft who was investigating why xz was running slowly.

While this hack was exceptionally sophisticated and discovered before it could wreak global havoc, attacks on open source infrastructure are becoming a more and more regular occurrence.

Action to address these looming threats to our software infrastructure can’t come soon enough.

In 2022, the U.S. government passed a bipartisan national infrastructure law that provided over $400 billion in funding to desperately needed infrastructure projects, including efforts to update bridges and highways, connect more people to the Internet, improve the reliability of the electrical grid and much more. But investing in our shared software infrastructure — including paying for the contributions of the open source developers who build it — was not included.

The following year, the White House unveiled a National Cybersecurity Strategy that, among other things, sought to improve the security of open source software. In the fall of 2023, the Office of the National Cyber Director put out a request for information about ways to improve open source software security, concluding, “It may be appropriate to make open-source software a national public priority to help ensure the security, sustainability, and health of the open-source software ecosystem.”

And as part of a response to the xz hack, Mark E. Green, Chairman of the House Committee on Homeland Security, called on the House of Representatives to bring the Securing Open Source Software Act (H.R. 3286) to a vote. Yet none of these initiatives directly addressed — or funded — the work by actual humans that is required to keep our open source infrastructure properly maintained.

Modern governments were created in part to fund public goods like health services, transportation and energy infrastructure, yet open source software is the only public good in the world that still relies on volunteer labor to keep it safe and secure.

The reality on the ground today is that unpaid developers are still the norm for open source projects, and these developers are being tasked with an ever-increasing amount of work to ensure the security of the software we all rely on as threats become more pervasive. That status quo is not sustainable, and the problem becomes more dire by the day.

We all benefit from the incredible resource that open source software has become. But just like our roads, bridges, electrical grid and airports will deteriorate without public investment, so will our software infrastructure. We need urgent action from both the government and the many industries built on open source software to ensure that doesn’t happen.

TRENDING STORIES
Luis Villa is an Adjunct Professor at UC Law SF, where he teaches in the Technology & Innovation Law & Lawyering concentration. He brings two decades of experience bridging law and technology. He currently serves as VP Legal for Product...
Read more from Luis Villa
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.