Your website may be compromised without going down
2,200 third-party scripts. That's the average Cloudflare sees running on a single enterprise domain.
Most companies can name maybe five of them. Google Analytics, sure. Maybe the chat widget. The payment gateway. After that, it gets murky. But every one of those scripts runs in your customer's browser with the same permissions as your own code. They can read forms. They can send data anywhere. And your server never sees it, because your server only knows what happens on the server.
What a quiet compromise looks like
Magecart-style attacks have worked the same way for years. An attacker doesn't need to break into your site. They compromise a library that one of your third-party scripts depends on (a chat widget dependency, an analytics SDK, a payment form module). They add a few lines of JavaScript that silently copies payment form data to an external server.
No downtime. No error pages. The customer pays normally. The only difference is someone else now has their card number and CVV.
The same principle applies to credential theft (modified scripts reading login forms), session hijacking, redirecting selected visitors to phishing pages, or even cryptojacking, where the visitor's browser mines cryptocurrency. The site is slower, but it "works."
The common thread: the website looks fine. You find out from a fraud report from your acquiring bank. Or you don't find out at all.
What Cloudflare just opened up
On March 30, 2026, Cloudflare made its Advanced Client-Side Security feature available to all customers. It used to be enterprise-only. Now anyone with a domain behind Cloudflare can turn it on.
What makes it interesting: their system scans 3.5 billion JavaScript scripts daily using a combination of graph neural networks (GNN) and large language models. The GNN maps relationships between scripts and flags behavioral anomalies. The LLM layer evaluates whether a flag is a real threat or a false positive.
The result: a 200x reduction in false positives compared to previous methods. Specifically, the LLM cut false positives from 0.3% to 0.1% overall, and from 1.39% to 0.007% on unique scripts. That's the difference between a tool that cries wolf constantly and one you can actually leave on.
Detection tools have had this problem for years: too many false alerts, so teams ignore them or turn them off. If Cloudflare's numbers hold up in production (and given the 3.5 billion daily sample size, the dataset is large enough to be meaningful), this changes the cost-benefit calculation for client-side monitoring.
The basics that most sites still skip
Even without Cloudflare, two things should be in place on any site that handles logins or payments:
Content Security Policy (CSP), an HTTP header that tells the browser which domains can serve scripts. If a script loads from an unauthorized source, the browser blocks it. The catch: most sites have no CSP at all. Those that do often use unsafe-inline or unsafe-eval, which defeats the purpose. And CSP isn't set-and-forget, every new widget, every analytics change, every payment integration modifies it.
Subresource Integrity (SRI), a hash attached to external script tags. If the script content changes (say, after a CDN compromise), the browser refuses to run it. Simple, effective for static dependencies.
Start by opening DevTools in your browser, going to the Network tab, and counting how many external domains your site contacts. That number is usually higher than anyone expects.
For the broader cybersecurity picture, we've written about how AI is changing phishing and deepfake attacks and about phishing campaigns currently targeting Slovak companies. On the infrastructure side, CI/CD pipeline security is a related concern.
If your site runs third-party scripts, and it does, it's worth knowing what they're doing. We can run a security check and set up CSP properly.
Read Next
GitHub Actions in 2026: four security features every pipeline needs
GitHub's 2026 security roadmap adds dependency locking, egress firewalls, policy controls, and CI/CD telemetry. Here's what it means for your pipelines.
Chrome 146, Firefox 149, Safari 26.4: what frontend developers got in March 2026
Container queries in all browsers, CSS scroll animations, grid-lanes for masonry, and Iterator.concat(). A practical roundup of March 2026 web platform updates.
Why your AI agents need a sandbox (and what Cloudflare just shipped)
Cloudflare's Dynamic Workers run AI-generated code in V8 isolates that start 100x faster than containers. Here's why that matters if you're building agents.