
script guard
Monitor changes to website scripts
Client-side supply chain attacks can reach your visitors through a compromised chat widget or analytics tag. Script Guard alerts you to suspicious scripts so you can investigate and remove compromised code.
how it works
Connect your Cloudflare site
Add a site through your existing Cloudflare connection and turn on script monitoring.
See which scripts changed
Script Guard tracks the JavaScript your site loads and checks new versions for suspicious behavior.
Review suspicious changes
The report describes the script’s behavior and what changed since the previous version. Get alerts for suspicious versions by email or webhook. You can also route webhook alerts to Slack.
use cases
Keep track of third-party JavaScript
Follow changes to scripts from analytics, chat, and experimentation tools that can update independently of your site.
See how captures work →Investigate unexpected script behavior
Compare saved versions and export a Markdown report with the relevant code for your incident review.
See what reports include →FAQ
Monitor your website scripts
Connect Cloudflare and enable Script Guard for the sites you want to monitor.
