Back to Insights
AI & Cybersecurity

How We Used Claude AI to Scan Websites for Vulnerabilities

When a critical security flaw hits the headlines, every business owner should ask one question: is my website exposed? Here's how we answered it quickly for our clients after the PHP2Shell disclosure, using AI to give our security team reach, and what an outside scan can and can't tell you.

26 November 20265 min readBy Ashley Lester

Key takeaways

  • PHP2Shell (CVE-2026-109618 and CVE-2026-109619) is a critical PHP flaw disclosed on 21 October 2026 and confirmed as exploited in the wild five days later.
  • We used Claude to build a passive scanner and had a picture of 44 client websites in under an hour: no break in attempts, just reading what each site openly reports.
  • Cross-checking against public internet scan data uncovered an end of life PHP version that one site was hiding from normal requests.
  • An outside scan can't see a backdoor already on the server. Confirming a site is clean takes checks on the server itself, and that's expert work.
  • Only ever scan websites you own or are authorised to assess.

A critical PHP flaw starts the clock

On 21 October 2026, security researchers disclosed two serious flaws in PHP, the software that quietly powers a huge share of the world's websites, including every WordPress site. Nicknamed PHP2Shell and tracked as CVE-2026-109618 and CVE-2026-109619, they could let an attacker run their own code on a vulnerable web server. The US National Vulnerability Database rates the first 9.8 out of 10, "critical". On 26 October the US Cybersecurity and Infrastructure Security Agency added both to its Known Exploited Vulnerabilities catalog, confirming attackers were already using them.

For a managed IT provider, a disclosure like this starts a clock. Fixed versions of PHP exist, but the real question is practical: which of the websites our clients run are actually affected? Checking dozens of sites by hand is slow, and slow is exactly what you can't afford when a flaw is being exploited.

So we did it differently. The day after disclosure, we used Claude, Anthropic's AI assistant, to help us build and run a safe scan across our whole list of client websites, and we had a clear picture in under an hour.

What the scan actually does

It's worth being precise, because "AI scan" can sound like magic. It isn't. Working with Claude, we built a passive scanner. It makes the same ordinary request to a website that any visitor's browser would, and reads what the site openly reports about itself: the web server, the PHP version, the content management system, the security headers and the SSL certificate. No break in attempts, no exploit code, nothing intrusive. Just a fast, careful reading of what's already public.

From there, Claude helped us check each site's PHP version against the versions known to be affected and flag anything running end of life software. Where a site hid its details, we cross-checked against public internet scan data (such as Shodan) to fill the gaps. On one site, that revealed an end of life PHP version the site itself wasn't disclosing.

The result was a single, colour coded report sorting every site into three groups: confirmed vulnerable, probably exposed because the version was hidden, and not affected (for example, sites on hosted platforms that don't run their own PHP).

44 sites
Client websites scanned in one pass, in under an hour
First scan on 22 October 2026: 8 sites confirmed vulnerable, 13 probably exposed with their PHP version hidden, and 12 not affected. Within a week, 5 of the 8 vulnerable sites had been patched.

Why AI makes the difference

Three things turned a tedious job into a fast one.

  • Breadth: the whole list was checked at once, not one site at a time.
  • Speed: a check that would have taken a person the best part of a day was done in minutes, which matters when a flaw is being exploited now.
  • Clarity: Claude turned raw technical output into a plain English report we could act on, and into straightforward advice we could pass on to each client.

We didn't stop at a one off check either. We re-ran the scan over the following days, comparing each result with the last, and watched sites move from "vulnerable" to "patched" as their hosts applied the fix. That told us exactly who was now safe and who still needed a nudge.

AI didn't replace our security team. It gave them reach, so judgement went where it was needed, not into repetitive checking.

Where human expertise still matters

This is the part we're careful about. An outside scan tells you a great deal, but it has limits, and pretending otherwise would be doing our clients a disservice.

A passive scan reads the front door. It can't see a backdoor already planted on the server. Some sites deliberately hide their software version, which is good practice, so for those the only way to be certain is a check on the server itself: a malware and file integrity scan and a look through the access logs. That's expert work, and it's where our team steps in. AI tells us where to look and how urgently; our engineers do the confirming and the fixing.

A note on doing this responsibly

Scanning should only ever be done on websites you own or are authorised to assess. Everything described here is passive: reading publicly available information, never attempting to break in. If you're curious about your own site, that's exactly the kind of check we're happy to run for you.

What this means for your business

If you run a website, especially a WordPress site, the software underneath it needs looking after, and when a serious flaw appears, speed counts.

How CSG fixes this

When a serious flaw is disclosed, we check the websites our clients run, tell each one plainly whether they're exposed, and work with them or their host to get the fix applied, then re-check to confirm it worked. Where a site's details are hidden or something looks wrong, our team checks the server itself. It sits alongside the 24/7 monitoring and patching in our cyber security services and our managed IT services.

The combination of AI for reach and a real security team for judgement means we can tell you quickly whether you're exposed, explain it without the jargon, and help get it fixed. Most business owners never see any of this happening. That's rather the point.

Want to know if your website is exposed? We'll run a free, no obligation security check and tell you plainly where you stand. Book a website security check.

Share this article

Want to Know If Your Website Is Exposed?

We'll run a free, no obligation website security check and tell you plainly where you stand.

Related reading