Skip to main content
All Articles

Security Basics 18|Will the update break the website: that worry is correct

Category Security Date 2026-12-02

Author
恩梯科技
6 views 6 min read

Last time our engineer upgraded one package version, customers could not check out all afternoon, and ever since I have told him: as long as the website is not broken, leave it alone. If you have lived through that kind of scare, your worry about updates is a reasonable one.

In software, upgrading an underlying language or package genuinely can break something that worked, because the new version may have changed an old rule that happens to conflict with code written for your site years ago. This is the eighteenth piece in our security basics series. Having established which version you are on in Security Basics 01|An advisory just landed: how do you know whether it affects you, and having covered in the previous piece why a security update cannot be put off, this one takes on the fear that stops most people acting: being afraid an update will break the site is correct, but the right response is not to stop updating; it is to put up the three safety nets that belong in front of every update.

Why pressing update straight onto the live site is crossing the road with your eyes shut

Think back to how the last update broke the website. On a team with no safety nets, the process looks like this: the engineer connects straight to the production server that is doing business, runs the command to upgrade the package, checks afterwards that the home page still loads, and clocks off feeling fine — until the next day, when a customer tries to check out or upload a file and finds it broken. And when the engineer then wants to go back to the old version, it turns out the new one has already altered the database structure, going back is no longer possible, and the only option is to sweat through repairs on the live site.

In Hosting, Monitoring, Security Updates: How Much Time DIY Really Costs we described exactly this: security updates are the riskiest of the three to do yourself, because an update can break things — and with no test environment and no way back, a great many people simply stop updating at all.

Put another way, what breaks websites is not the security update itself; it is the bare upgrade, done with no test environment, no checklist and no way back. The UK's National Cyber Security Centre (NCSC) acknowledges problem updates openly in its 10 Steps to Cyber Security: Vulnerability management guidance, and gives the standard answer: when deploying updates, organisations should limit the impact a problem update can have by staggering updates and preparing a rollback strategy in advance.

Three safety nets: back up and keep a way out, upgrade in test first, sign off against a checklist

An experienced technical team never gambles on an upgrade probably being fine. It assumes the thing will break, and arranges for customers to barely notice when it does. That rests on three steps, always in the same order:

  • First: take a complete backup before touching anything, and confirm you can get back to the previous version quickly: as we wrote in What a System Health Check Actually Looks At: Code, Database, Deployment, Security, a good deployment process has to ensure that a bad change can be rolled back to the previous version within minutes. With the way out laid first, any unexpected behaviour after an upgrade means switching straight back to the version that worked and investigating at your own pace.
  • Second: always upgrade in a test environment first, never make the production machine the guinea pig: a test environment is a copy of the live website that customers simply cannot reach. Run every security update there first; whether it conflicts with old code and whether the layout falls apart can all be found out without touching a single real order.
  • Third: check through the list of revenue-critical journeys one by one: after upgrading in test, looking at the home page is not enough. As AI Keeps Breaking the Same Thing: Why an Untested Product Gets More Fragile Every Change puts it, you need a list of what has to be rechecked after a change (or automated tests for it), and you walk the journeys that directly carry revenue — registration, sign-in, cart checkout, payment, and reading the reports — from end to end before anything goes to production.

One table: a bare upgrade on production vs. a standard update with safety nets

Put the two approaches side by side and it becomes clear why the same words, security update, can end so differently:

What is comparedUpgrading straight onto the live websiteA standard update with safety nets
Where it is tried firstNo test environment at all; the live site taking payments is the trialUpgraded in a separate test environment, with every core feature exercised
How you know nothing brokeOne glance at a home page that is not blank; you find out when a customer reports itSigned off item by item against the list of revenue-critical journeys, or automated tests
What happens on a real conflictAn emergency repair stuck on the live site, with the website potentially down for a long stretchA quick return to the previous version and the pre-update backup, with customers barely noticing

Next time your engineer proposes an update, three questions are all you need

From today, a security update notice no longer has to leave you caught between fear of being hacked and fear of a broken website. Before agreeing that your engineer or maintenance supplier should go ahead, you only need to ask three things, gently:

  • Are we upgrading in the test environment and confirming it there before anything goes to production?
  • Once it is upgraded, who is responsible for clicking through checkout, sign-in and the back-office reports?
  • If something looks odd after it goes live, are we ready to go back to the previous version at any point?

If the answers to all three are concrete, you can let them update with confidence. If the answer is that there is no test environment and the only option is upgrading straight on production, then what actually needs doing first is not this update, but building the test environment and the way back.

Nerd Technic is a systems software company that came out of custom development, and what we do now is the long-term maintenance of AI systems. In Hosting, Monitoring, Security Updates: How Much Time DIY Really Costs we worked out the hours a single routine update takes — an hour to check versions, two to four hours to run it through the test environment, another hour to put it into production — and the reason it takes that long is precisely that we insist on running it in test first with a way back prepared. Under our basic maintenance plan security updates follow a fixed rhythm, urgent cases get an extra slot, and how quickly someone responds when things go wrong belongs in the contract in writing. If your system is currently in the state where everyone wants to update and nobody dares touch it, a system health check is a place to start: Book a system health check

Want to bring these practices into your own company?

What a Helper CTO does for your system
Book a System Health Check Ask us on LINE

We don't chase volume.

We build long-term relationships with a select few partners worth going deep with.

Need help?

Message us directly on LINE