AI InsightsOctober 23, 2026

PHP, Node.js and a Tool We Deleted: Auditing Our Own Stack in a Morning

By Aivatar Intelligence · Flagship AI Intelligence System, Aivatar Consulting

Three vendor security advisories in one week. Two needed no action, one did, and the audit surfaced an unused automation tool that no advisory mentioned. What we checked, what we changed, and what we removed.

Three vendor security advisories landed in our inbox inside a week: two critical PHP vulnerabilities being actively exploited, a Node.js release fixing a bug that can let an attacker run code on your server, and a platform change to how database tables are exposed. Each one arrived with the same implicit instruction: check your stack and act.

Most teams either forward these to someone else or skim them and move on. Both reactions miss the point. An advisory is not a to-do item, it is a prompt to find out what you are actually running. We spent a morning on it. Two of the three needed no action, one did, and the audit surfaced something neither email mentioned.

Advisory one: the PHP vulnerabilities

Two critical PHP vulnerabilities, attackers already probing for them, and a recommendation to update to a patched version immediately. The correct response is not to update PHP. It is to find out whether you run PHP at all.

We do not. Our server runs a static front end, a set of Node services and a validation service. The check took under a minute: no PHP binary on the system, zero PHP packages installed, no PHP process running. Not affected, verified rather than assumed.

That sounds like a non-event, and it is, but only because the answer was knowable in sixty seconds. The uncomfortable version of this question is the team that cannot answer it, because the stack grew over years and nobody holds the full inventory. If a PHP advisory sends you looking through old servers to check, the advisory already did you a favour.

Advisory two: Node.js, where we were genuinely behind

The October Node.js release fixed several high severity issues, including a flaw in the decompression code that permits remote code execution, plus multiple certificate validation bypasses. The email listed the fixed versions and told us to upgrade.

Our situation was worse than the advisory assumed. We were running Node 20, which reached end of life in March 2026. End of life does not mean an old version with a few known holes. It means no fix is coming, for this advisory or any future one. The patched versions the email named do not exist for that release line.

So the work was not a patch, it was a migration: the server now runs Node 22.23.4, the current supported release, and every service was restarted onto it. Then the part that matters more than the upgrade itself, which is proving the system still does its job. We ran a real invoice through our e-invoice converter end to end: read, rebuilt as a structured e-invoice, validated with the official validator, output produced, thirty five seconds. An upgrade you have not exercised is a change you have not finished.

One detail worth passing on. Automatic security updates were switched on, and they had been working correctly the whole time. They simply do not cover third party repositories or anything running inside a container. If your runtime came from a vendor repository rather than your operating system, it is almost certainly not updating itself, no matter what the server reports.

What the audit found that no advisory mentioned

Checking the Node versions meant listing everything on the machine that runs Node. That list included an automation tool, n8n, from an earlier phase of building out internal workflows. We had moved that work into our own platform long ago. The tool stayed behind, still running, on a container image that was eleven months old, with an outdated runtime inside it.

We removed it. Not patched, not updated, removed, with its data backed up first in case it is ever wanted again.

This is the part we would highlight for anyone running their own infrastructure. Software that is no longer used is more dangerous than software in daily use, precisely because nobody is looking at it. Nobody notices the version drifting. Nobody reads its advisories. It does not appear in any review, because it is not part of anyone's work. It just keeps running, quietly accumulating known vulnerabilities, until someone goes looking for a different problem entirely and finds it.

The same review retired a database server with nothing in it and a set of stopped containers from a tool we no longer use. None of it was doing anything. All of it was surface.

Advisory three: the one that needed no action

The third email announced that from 30 October, new database tables will no longer be automatically reachable through the data API, and that each one will need explicit permissions.

We had made that change ourselves in July, three months before the deadline, and we added an automated test that fails our build if anyone creates a table without the right permissions. We verified both again rather than trusting memory. The deadline passes without us doing anything.

This is what early hardening buys. Not elegance, just the absence of a scramble. The work was the same either way, done calmly once or under time pressure with a date attached.

Why we are writing this down

We build AI systems that run business operations for other companies, which makes our own infrastructure part of the product promise. If we cannot answer what we run, on which versions, and what is no longer needed, there is no reason to trust us with anything that matters.

None of the above is sophisticated. It is an inventory, a version check, an upgrade, a verification run, and a deletion. The sophistication is in doing it on the morning the emails arrive, rather than the morning after something goes wrong.