2 min read
Outdated code libraries: the security risk nobody puts on the agenda
Old versions of popular code libraries can sit on a website for years with known security holes. What that means, and what to ask your developer.
Look at the agenda for your next client meeting. The new homepage banner, the spring campaign, maybe the newsletter sign-up. What won’t be on it is “the version of jQuery on the contact page”. It never is.
That’s understandable. It sounds like a developer’s problem, and the site works fine. But old code with known holes is an open door, and it sits quietly in the background until somebody walks through it.
What a library is, and why it gets old
Developers rarely write every line themselves. For menus, sliders, pop-ups and forms, they use libraries: ready-made pieces of code shared across a huge number of websites. jQuery is the best known.
When someone finds a security hole in a library, a new version fixes it and the hole is made public, so everyone knows to update. “Everyone” includes the people looking for websites to break into. A site still running the old version is easy to spot from the outside, and nothing about it looks wrong to you.
Libraries get left behind for ordinary reasons. The site was built years ago and the project closed. Nobody’s maintenance plan mentions updates. Updating might break something, so it’s left alone.
When it goes wrong, the library never gets the blame. The business whose site starts showing spam does, and so does the agency that built it. The cleanup is slow, the conversation is awkward, and all of it could have been an update on a quiet afternoon.
Putting it on the agenda
You don’t need to understand the code to ask the right questions. A few of them, asked once a year, change a lot.
- Which libraries does the site use, and when were they last updated?
- Are updates part of our maintenance plan, or only done when asked?
- Can updates be tried on a copy of the site before they go live?
- After a redesign, were older pages and templates updated too?
How Monitor helps
Monitor’s Outdated libraries test looks at the code each page loads and flags versions of popular libraries, such as jQuery, with known security holes. It runs on every page, not just the home page, because an old template can hide on pages nobody visits any more.
Each flagged page shows since when it’s had the problem, and the PDF report gives your developer the details. After the update, Check again confirms it straight away. And in case a site has already been broken into, the Suspicious links test looks for links to gambling, adult, pill or spam-like websites, which are usually a sign of exactly that.