In late October, a run of serious security flaws went public within a few days of each other. The security community nicknamed it Black October.
The list was long. PHP, the language behind most of the web, including WordPress, had two critical flaws. Node.js, which runs most modern JavaScript products, needed an urgent fix too. A popular open-source AI library was hijacked, and a poisoned version was built to steal passwords and keys from the computers that installed it. The week before, Next.js, the framework behind nearly everything we build, patched two critical flaws of its own. The worst of these let an attacker run their own code on your server, which means they can do almost anything.
We support a lot of products, so we saw the same week play out in different ways. Each one taught us something.
One client platform had automated dependency scanning from day one. Dependencies are the open-source building blocks every modern product is assembled from, and most products have hundreds of them. Every time a developer submits new code, an automated check compares each building block against public databases of known flaws. Anything serious stops the release until it's fixed. A second tool, Dependabot, watches for new flaws even when nobody is shipping, and drafts the fix for us.
So we didn't learn about the Next.js flaws from the headlines. The scan flagged them, and 92 minutes later the fix was live in production. We found no evidence of exploitation.
Our older codebases, many of them built before they came to us, didn't have that setup. There, the team ran scans by hand, found what was affected, upgraded, tested, and shipped. Every one was patched within a day or two.
That's well ahead of the industry, where the typical team takes about 19 days to fix a vulnerable JavaScript package. But it took more people and more time than it needed to, and the reason wasn't effort. These products don't ship often. Industry data shows the same pattern: products deployed less than once a month run building blocks 47% more out of date than products deployed daily. The further behind a product falls, the bigger and riskier every upgrade gets.
The lesson: your riskiest product usually isn't the one your team works on every day. It's the one nobody has deployed in months.
Not every fix lives in your code. The PHP and Node.js flaws were in the software your server uses to run your code. Updating your app's building blocks, or a WordPress plugin, does nothing for those. They're fixed by upgrading the server environment, which often belongs to a different team or your hosting provider. When a big flaw drops, the first question is who owns each layer.
Updating instantly isn't always safe. Poisoned releases like the hijacked AI library reach the teams that pull in new versions the moment they're published, and half of organizations adopt new versions within a day of release. Security fixes should go in fast. Everything else is worth a short waiting period, so a poisoned release gets caught before it reaches you.
Attackers are moving faster, and AI is helping. About one in four exploited flaws this year was attacked on or before the day it was announced. And AI attack tools don't always need a flaw at all. Researchers recently tracked one that went from finding a key someone had accidentally left in public code to stealing data from a company's cloud account in five minutes.
Watching the news isn't a security plan. Here's what we'd set up for any product, whether you run one or fifty:
Know what every product runs on: its building blocks, the server software underneath, and who owns each. GitHub's dependency graph covers one product at a time. Snyk or Socket cover a whole portfolio in one view.
Scan on a schedule, not just when code changes. Your quietest products need it most. Dependabot and Renovate do this automatically, for free.
Let tools draft the fix. Dependabot and Renovate open the update for you, so your team reviews a change instead of researching one. Both can also hold brand-new, non-security releases for a few days, which covers the waiting period above.
Block on what matters. Stop releases for critical and high-severity flaws. Block on everything and your team will learn to ignore the scanner.
Keep secrets out of code. Turn on secret scanning, and if a key ever leaks, replace it. Deleting it from the code isn't enough, because copies live on in the history.
Have a backstop. A web application firewall from Cloudflare or your hosting provider can block known attacks in the hours before a fix ships.
Most of this is free. The ongoing work is reviewing what the tools flag, which is far less than scrambling after a headline. Automated scanning and fixes are now standard on every product we build, and we're adding them to the ones we support.
A good place to start: ask your team when each of your products was last deployed, and whether it's scanned automatically. If you'd like a second set of eyes on the answer, reach out to us to chat.