Software is breaking down at a systemic level
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Software is breaking down at a systemic level
Software hasn’t been working too well lately, has it?
最近软件运行得不太顺畅,不是吗?
This weekend we saw the double-whammy of a 2 day global Microsoft outage, then an FAA ground-stop that halted all flights in the United States.
这个周末我们遭遇了双重打击:先是为期两天的微软全球性宕机,随后美国联邦航空管理局(FAA)下令停飞,导致全美所有航班中断。
Can you believe it’s only been four weeks since the PHP2Shell vulnerability? A critical exploit in PHP, powering an estimated 70% of the world’s websites, with sites taken completely offline as engineers frantically patched their systems.
你能相信距离 PHP2Shell 漏洞爆发才过去四周吗?这是一个针对 PHP 的严重漏洞,而 PHP 支撑着全球约 70% 的网站。随着工程师们疯狂地修补系统,大量网站被迫完全下线。
And then there was the eMudhra fiasco, where thousands of SSL certificates - the way we secure HTTPS websites and internet traffic - were compromised by a private key so weak, it was almost comical.
接着是 eMudhra 的惨剧,数以千计的 SSL 证书(我们保护 HTTPS 网站和互联网流量的方式)因私钥过于薄弱而遭到破坏,其程度简直荒谬可笑。
It’s like 2026 has been a year of hacks, outages, vulnerabilities and IT panics. What exactly is going on here?
2026 年仿佛成了黑客攻击、宕机、漏洞和 IT 恐慌频发的一年。这到底是怎么回事?
You might be tempted to blame AI, and you wouldn’t be completely wrong. Artificial intelligence models are definitely a part of this. Even if companies like Microsoft don’t divulge whether broken systems were built with AI, we do know that hackers and researchers can now use AI technology to find complicated exploits in a matter of hours.
你可能会倾向于责怪人工智能,这也不完全是错的。人工智能模型确实是其中的一部分。即使像微软这样的公司没有透露故障系统是否由 AI 构建,我们也知道黑客和研究人员现在可以在几小时内利用 AI 技术发现复杂的漏洞。
I work with AI heavily in my job. It’s tremendously powerful. It’s also corrosive if used unwisely.
我的工作中大量使用 AI。它非常强大,但如果使用不当,也具有破坏性。
But AI is both a cause and a symptom of the problem here. What we are seeing is software breaking down at a systemic level. This problem is insidious because it is not only the software itself that is broken, but the entire way we’ve come to build it.
但 AI 既是这个问题的原因,也是症状。我们所看到的是软件在系统层面上的崩溃。这个问题之所以阴险,是因为不仅是软件本身坏了,我们构建软件的整个方式也出了问题。
Look at the recent crises in software reliability and you’ll notice they don’t share immediate causes - that we know of - yet they look uncannily similar to each other.
看看最近发生的软件可靠性危机,你会发现它们(据我们所知)并没有共同的直接原因,但它们看起来却惊人地相似。
The Microsoft outage likely emerged from a network configuration failure that stopped MS datacenters communicating with each other. Exactly what happened next remains confidential, but it seems to have triggered a cascading failure where no service could be restored into a valid state long enough to bear traffic.
微软的宕机很可能是由网络配置故障引起的,导致微软数据中心之间无法通信。接下来究竟发生了什么仍属机密,但它似乎引发了级联故障,导致没有任何服务能够恢复到足以承载流量的有效状态。
Reddit and Bluesky speculated that even MSFT engineers had no real handle on the complexity of this outage.
Reddit 和 Bluesky 上的用户推测,即使是微软的工程师也无法真正掌控这次宕机的复杂性。
Microsoft have faced increasing criticism for the (un)reliability of their Azure platform. Back in March, ex-MSFT engineer Axel Rischin published this scathing criticism:
微软因其 Azure 平台的(不)可靠性而面临越来越多的批评。早在三月,前微软工程师 Axel Rischin 就发表了尖锐的批评:
Microsoft rushed Azure out of the gates under intense competitive pressure. Corners were cut. Fundamental principles of reliability and operational simplicity were quietly abandoned.
“微软在激烈的竞争压力下仓促推出了 Azure。他们偷工减料。可靠性和操作简便性的基本原则被悄悄抛弃了。”
Instead of going back to the drawing board to tackle the growing technical debt, Microsoft relied on quick fixes: layers of automation running mitigation scripts, a growing team of on-call staff, and, when automation was not enough, manual repairs.
微软没有回到原点去解决日益增长的技术债务,而是依赖于快速修复:运行缓解脚本的自动化层、不断扩大的值班人员团队,以及在自动化不足时进行人工修复。
His article depicts a highly complex system made of low quality parts, where nobody can make sense of the whole picture.
他的文章描绘了一个由低质量部件组成的极其复杂的系统,没有人能看清全貌。
On October 21st, security research firm Wiz proudly shared an exploit that could execute arbitrary code on any PHP website. Called PHP2Shell, Wiz trumpeted the power of AI tools to achieve exploits far beyond the skills of human attackers.
10 月 21 日,安全研究公司 Wiz 自豪地分享了一个可以在任何 PHP 网站上执行任意代码的漏洞。该漏洞被称为 PHP2Shell,Wiz 大肆宣扬 AI 工具在实现远超人类攻击者技能水平的漏洞利用方面的威力。
It turns out the PHP runtime had hidden several complex memory bookkeeping bugs for over a decade. PHP is used extensively in e-commerce and most famously in WordPress, which was once the go-to for cheaply building simple websites.
事实证明,PHP 运行时隐藏了几个复杂的内存记账错误已超过十年。PHP 被广泛用于电子商务,最著名的是 WordPress,它曾经是低成本构建简单网站的首选。
The PHP2Shell writeup depicts an internet dependent on a long chain of dependencies, hiding vulnerabilities too complex for any human to identify.
PHP2Shell 的报告描绘了一个依赖于长链依赖关系的互联网,其中隐藏着人类无法识别的复杂漏洞。
Most people outside of tech won’t have heard of this, but back in May we faced a crisis when an attacker compromised some important packages in the JavaScript ecosystem (NPM).
大多数非技术领域的人可能没听说过这件事,但早在五月,当一名攻击者破坏了 JavaScript 生态系统(NPM)中的一些重要包时,我们面临了一场危机。
These packages used GitHub Actions to perform Continuous Integration (CI) - automated tests, releases, etc. - and had a crucial misconfiguration where anyone who forked their projects could insert compromised code back upstream.
这些包使用 GitHub Actions 来执行持续集成(CI)——自动化测试、发布等——并且存在一个关键的配置错误,即任何 fork 了这些项目的人都可以将受损代码插入回上游。
When the next upstream CI build ran, it would retrieve libraries from a cache. The JavaScript package manager, NPM, allows these libraries to include scripts. They’re intended for housekeeping tasks, but here, they were used to hijack the projects’ secret tokens.
当下一次上游 CI 构建运行时,它会从缓存中检索库。JavaScript 包管理器 NPM 允许这些库包含脚本。它们本意是用于内务处理任务,但在这里,它们被用来劫持项目的秘密令牌。
The JavaScript ecosystem has long been criticised for poor security. NPM projects are complicated chains of dependencies calling dependencies calling dependencies.
JavaScript 生态系统长期以来因安全性差而受到批评。NPM 项目是依赖调用依赖再调用依赖的复杂链条。
Any dependency may carry scripts. Any dependency author was just one slip away from allowing their code to be compromised - all they had to do was copy-paste the wrong code.
任何依赖项都可能携带脚本。任何依赖项作者只要稍有不慎,就可能导致他们的代码被破坏——他们所要做的只是复制粘贴了错误的代码。
In other words: a highly complex system made of low quality parts, where a single error can compromise everything.
换句话说:一个由低质量部件组成的极其复杂的系统,其中一个错误就可能毁掉一切。
It wasn’t always like this. Only 12 years ago, tech was a different industry.
情况并非一直如此。仅仅 12 年前,科技还是一个不同的行业。
Building software was hard. Computer programs comprise millions of tiny instructions, and turning these into a workable system is like constructing a watch by hand, with hundreds of interacting components. Except, unlike a watch, each computer program must do something completely new and different.
构建软件曾经很难。计算机程序包含数百万条微小的指令,将这些指令转化为一个可行的系统就像手工制造一块手表,需要数百个相互作用的组件。不同的是,与手表不同,每个计算机程序都必须做一些全新的、不同的事情。
It was the most fun I’d had as an adult. It was as much an art as a science. You had to be able to hold everything in your head at once: visualise how all the tiny parts could be orchestrated into a cohesive whole. I recommend anyone the adventure of writing a computer program by hand.
这是我成年后经历过的最有趣的事情。它既是科学也是艺术。你必须能够同时在脑海中掌握一切:想象所有微小的部分如何被编排成一个有机的整体。我建议每个人都去尝试一下亲手编写计算机程序的冒险。
But, it was less fun if you were a manager. Not many people can write computer programs well, and it’s very hard to scale human beings. Getting them to communicate without misunderstandings is hard. Many projects failed. You can find programmers who know how to manage the complexity, but they want to be paid lots of money.
但是,如果你是一名管理者,这就不那么有趣了。没有多少人能写好计算机程序,而且很难扩展人力。让他们在沟通中不产生误解是很难的。许多项目都失败了。你可以找到知道如何管理复杂性的程序员,但他们要求很高的薪水。
Different movements attempted to solve the core problem. Some people thought that software development practices could help, like if you turned programming into highly structured templates of “best practices”. Or if you used management styles like SCRUM. But they only ever helped so much.
不同的运动试图解决这个核心问题。有些人认为软件开发实践可以提供帮助,比如将编程转化为高度结构化的“最佳实践”模板。或者使用像 SCRUM 这样的管理风格。但它们的作用终究有限。
About ten years ago, two small revolutions happened in our industry, whilst the rest of the world paid little attention. They were cloud computing, and open source libraries.
大约十年前,我们的行业发生了两场小规模的革命,而世界其他地方几乎没有注意到。它们就是云计算和开源库。
Cloud computing w
云计算 w