For decades, two things have been capable of making even the most good-natured computer user throw their arms up in frustration, perhaps letting slip an expletive or two: the Blue Screen of Death, and Windows deciding it’s time to install updates.
Of the two, it’s probably the updates we feel most ambivalent about. We know they’re necessary – our IT and security teams have spent years telling us so – but they do have a habit of appearing just when we’re facing our tightest deadlines.
I confess, I’m one of those IT department leaders who has inflicted that experience on thousands of employees across numerous companies. And sometimes it comes back to bite me too, when I have deadlines of my own.
But frustration aside, keeping your computer, your phone and your apps up to date is sensible advice. Software contains flaws that can make it vulnerable, attackers look for ways to exploit them, and manufacturers release patches to close those weaknesses. Leaving a known vulnerability unpatched is often an unnecessary risk.
But there’s another risk that receives rather less attention. What happens when a software update does more harm than good?
When the update becomes the problem
On 31 March 2026, two new versions of a popular software library called Axios appeared on npm, an online repository from which developers obtain components for their applications.
Unlike the Windows updates we’re familiar with, this wasn’t software being installed directly by an ordinary computer user. Axios is a library that helps applications communicate with websites and other online services. Rather than writing that functionality themselves, developers can incorporate the library into their own software, often through automated development processes. It’s a sensible arrangement: there’s little point in thousands of developers independently solving the same problem when an established component already does the job well.
But these particular versions contained something their users hadn’t bargained for. Attackers had compromised the publishing account of the project’s maintainer and added a dependency called plain-crypto-js. Installing the new axios package would automatically install this dependency too. And during installation, the malicious dependency would execute instructions to contact a remote server and download malware, potentially giving the attackers access to the computer.
The affected versions remained available for approximately three hours before being removed. Three hours doesn’t sound like very long, but automated development systems can retrieve and install newly published packages in a matter of minutes.
Not every developer using axios was affected. Only systems that installed the compromised versions were potentially exposed. But those systems could include the computers and automated infrastructure used to build and distribute other software. Rather than attacking developers one by one, the criminals had compromised a component that enormous numbers of developers already relied upon.
Why software is never really finished
We tend to think of a finished product as something that has been designed, built, tested and found fit for purpose before being sold. But software doesn’t always fit comfortably into that model. Most commercial software is expected to evolve continually after release.
Part of the reason is its sheer complexity. A modern application may contain millions of lines of code, incorporating components developed by numerous individuals and organisations. It has to work alongside operating systems, hardware, networks and other applications, often in combinations its designers cannot fully anticipate. Testing can identify many defects before they affect customers. What it cannot do is establish with absolute certainty that none remain.
There is also the economics of software development. Software companies have customers to satisfy, competitors to keep up with and new products to bring to market. Every additional week spent testing a release costs money and delays the benefits of getting it into customers’ hands.
And security is an awkward thing to sell. A new feature is something a customer can see and use. Better performance can be measured. But how does a customer judge the value of security work that prevents a problem they might never see, or an attack that might never happen? The costs of poor security aren’t always borne entirely by the people responsible for producing the software, either. They may fall on customers and other organisations, sometimes much further down the line.
None of this means that developers choose to neglect security. Frequent releases can make it quicker and easier to fix problems, and well-designed development processes can incorporate extensive automated testing. But commercial pressures are real, software is complicated, and even thoroughly tested products can still contain vulnerabilities.
Some weaknesses remain undiscovered for years. Others emerge as researchers or attackers discover new ways of exploiting existing code. A product may need a security fix even though nothing about the software itself has changed.
So releasing a product doesn’t bring the security work to an end. It creates a continuing obligation to maintain it. And that means software updates.
A software company may support millions of customers. A large organisation might have thousands of computers, running applications that depend on products maintained by numerous other suppliers. Across those systems, security vulnerabilities are discovered, ordinary bugs are fixed, and new functionality is introduced. Some changes are urgent, others are useful but can wait.
Managing every change manually would be expensive and usually impractical. So we’ve increasingly automated much of the work, from applying patches to individual devices to distributing approved software across corporate networks and incorporating third-party components into new applications. Automation isn’t simply a convenience: it’s one of the reasons we can maintain modern software at anything approaching the necessary scale.
But the benefits of scale aren’t reserved only for the people trying to keep systems secure.
The attraction of a trusted supplier
Suppose an attacker wants access to the computers of a thousand different organisations.
One approach would be to attack them individually, looking for weaknesses in their systems or persuading employees to do something they shouldn’t, like downloading and running a program, or opening an email attachment. That could be a great deal of work.
But what if many of those organisations depend on the same supplier, the same software component, or the same update mechanism? Compromising that common point might offer a route to many targets at once.
That is the attraction of a software supply-chain attack. Instead of breaking through the defences of every intended victim, the attacker tries to exploit an existing relationship of trust.
Those relationships are unavoidable. No organisation can reasonably write, inspect and verify every line of code it uses. We depend on others to produce and maintain much of our software.
But there’s a difference between trusting a supplier and knowing that the supplier’s systems cannot be compromised. Even technical safeguards have limits. A digital signature, for example, can help establish that an update was authorised using a particular signing key and hasn’t been altered afterwards. It cannot establish that the software is harmless. If an attacker compromises the authorised release process, malicious code may arrive through an apparently legitimate channel.
And automation can magnify the consequences. For a legitimate supplier, the ability to distribute software quickly to thousands of customers is extremely useful, particularly when an urgent security vulnerability needs fixing. For an attacker who has compromised that supplier, it can be equally useful. The efficiencies are the same. Only the intentions have changed.
All of this leaves us with an awkward problem: we need updates to arrive quickly because leaving vulnerabilities unpatched can be dangerous. But how do we know that the update itself isn’t introducing a new threat?
Two attacks, six weeks apart
In May 2017, the WannaCry ransomware attack spread around the world.
In Britain, it is probably best remembered for its impact on the NHS. Hospitals were disrupted, operations and other appointments were cancelled, and many accident and emergency patients had to be diverted elsewhere. The National Audit Office subsequently reported that at least 81 NHS trusts in England had been affected, along with hundreds of other NHS organisations.
WannaCry exploited a vulnerability in Windows for which Microsoft had already released a security patch. It was a painful demonstration of why patching matters. Organisations running vulnerable, unpatched systems were exposed to an attack that appropriate security measures could have helped prevent.
Six weeks later, on 27 June, another cyberattack began spreading. NotPetya caused extensive damage to businesses around the world, including the international shipping company Maersk, which estimated that the disruption cost it around $300 million.
But the attackers had found a rather different route into their victims’ systems. They used stolen account credentials to compromise the infrastructure used to distribute software updates for M.E.Doc, a Ukrainian accounting application. This allowed them to deliver malicious software through its established update mechanism.
From there, NotPetya used a number of techniques to spread between computers and networks, including the same Windows vulnerability exploited by WannaCry. It could also spread using stolen credentials and legitimate administration tools, meaning that even computers patched against that vulnerability weren’t necessarily protected.
Within six weeks, two attacks had illustrated opposing dangers associated with software maintenance. WannaCry showed what could happen when available security fixes weren’t installed. NotPetya showed what could happen when attackers gained control of a trusted update mechanism.
Not all updates are equal
Not every software update serves the same purpose. A critical security patch might fix a vulnerability that attackers are already exploiting. Every unnecessary delay can leave systems exposed. A feature update, on the other hand, might offer functionality improvements without addressing any immediate security problem. There may be little reason to install it the moment it becomes available. And then there are ordinary bug fixes, compatibility updates and changes to third-party software components. A single release may contain several of these, including security fixes.
But urgency and safety aren’t the same thing: an urgently needed security patch can still introduce unexpected problems, while a less-urgent feature update might be perfectly safe.
In June 2026, the UK’s National Cyber Security Centre addressed this tension in its guidance on software supply-chain attacks. It recommended that organisations avoid automatically adopting new dependency versions without review, while also recognising the need to deploy security patches quickly.
At first glance, those recommendations might seem to pull in opposite directions, but they’re addressing different risks. If attackers are exploiting a known vulnerability, delaying the fix could be the more dangerous option. If a newly published dependency offers a routine improvement, there may be little justification for adopting it immediately without appropriate checks. Of course, waiting isn’t a guarantee of safety. Malicious code can remain undetected for months. Nor does installing an update quickly automatically make it dangerous.
And this isn’t necessarily a choice between reviewing everything manually and automating everything without scrutiny. Organisations can build verification, testing and controlled deployment into their update processes, allowing them to retain the benefits of automation while managing the risks according to the circumstances. But the right decision depends on more than the availability of a newer version.
The risks of standing still
It might therefore be tempting to think of installing an update as taking a risk, while leaving the existing software untouched as the safer option.
But software doesn’t remain secure simply because it remains unchanged. New vulnerabilities are discovered, attackers develop new techniques, and the systems and infrastructure around it evolve. A piece of software that seemed adequately secure yesterday may suddenly be exposed to threats its developers hadn’t anticipated.
So doing nothing is also a decision. Leaving an existing version in place means continuing to accept its vulnerabilities and limitations. Replacing it means accepting changes whose consequences cannot always be understood at the time.
For most people, this is not a reason to abandon automatic security updates – quite the opposite: receiving legitimate security fixes promptly remains one of the most sensible ways to protect computers and phones.
But for organisations responsible for complex systems, software maintenance involves continually judging the risks of what they already have against the uncertainties of what they’re being offered. Sometimes the urgency of a patch makes that judgement relatively straightforward. At other times, additional scrutiny is justified.
Automation helps us manage those decisions at a scale that would otherwise be impractical, but it can’t eliminate the need to make them.
Perhaps that’s the part missing from the familiar advice to keep everything up to date. An update isn’t simply a repair. It’s a change to a system whose security depends on much more than its current version number. And it’s a decision to trust a chain of developers, software components and distribution systems, none of which is automatically trustworthy.
And therein lies the paradox: the updates we depend upon to keep our software and systems secure can sometimes be the very thing that puts them at risk.