AI agents attack your JavaScript. Use Feroot's AI agents to defend.
Your website runs JavaScript from other companies: third-party scripts, tags, pixels and libraries. When a vendor changes its script, your pages run the new version without asking you.
Feroot's AI agents check every one of those changes. ScriptGuard, the first product, spots a changed script on your website, runs it in an isolated test browser, and blocks it or holds it for a person.
ScriptGuard is in early access. This page shows how it works and how to get early access.
In early access. Not generally available yet.
- tag-manager.js
- analytics.js
- ab-test.jsChangedBlockedHeld
- chat-widget.js
- payments.js
In short
- What is Agentic Defense?
- Feroot's AI agents that detect, test and stop changes to the third-party scripts, tags and JavaScript libraries your websites, web apps and mobile apps load.
- What is ScriptGuard?
- The first Agentic Defense product. It covers the JavaScript your web pages load. It is in early access and not generally available yet.
- What is it built to stop?
- JavaScript supply chain attacks, where one hijacked vendor script reaches every site that loads it. When they steal payment data they are also called Magecart, web skimming, e-skimming or formjacking.
- Who is it for?
- Security and compliance teams responsible for payment, login and other sensitive pages, including teams that must show a QSA evidence for PCI DSS 4.0.1 requirements 6.4.3 and 11.6.1.
The OPTIMJACK compromised script reached 178 organizations.
On November 16, 2026, an attacker changed one field in a widely used A/B testing script from Optimizely. The script kept its address and its certificate. Here is what that looked like, and why it was hard to see. The incident is also known as OPTIMJACK.
1. How the attacker got in
2. Why it was hard to spot
This is the script the way a browser receives it: one block of minified code. The attacker's loader is somewhere in it.
- Same address:
cdn.optimizely.com/js/<project ID>.js - Valid certificate
- Served by the vendor's own network
3. The same change in ScriptGuard
ScriptGuard is designed to show what changed and what the new code does, not two files to compare by eye.
- What the new code does, from the test browser
- Loads a script from an address not seen before
- Reads card fields when a form is submitted
- Sends data to a new destination
- Decision
- Blocked on payment and login pages. Held for review on other pages.
- Owner
- The team that owns the testing tag
- Incident report
- Ready to send
4. How to check whether your site was affected
- Find every page that loads a script from
cdn.optimizely.com. - Check which of those pages were live between 04:21 and 23:11 UTC on November 16, 2026.
- Note what those pages collect: card, login or wallet details.
- Ask the vendor whether your project was one of those changed.
Feroot's write-up of the incident lists six checks to run.
Sources: Cloud Security Alliance research note on OPTIMJACK, and The Hacker News, November 2026.
Set the rule once. Hear only about the changes that matter.
A new version number is not an incident. A new destination for card data is. You set the line by page, by who published the change, and by what the new code does.
ScriptGuard starts in monitor mode. Nothing is blocked until you turn blocking on for a page.
Illustration of the design in early access. Final settings may differ.
Three things changed for the scripts on your site.
AI agents can now run long attacks against a website, starting from a domain name. A hijacked vendor script puts the attacker inside every site that trusts that vendor.
Agents start from a domain name.
Unit 42 found AI-run operations against at least 19 organizations in two months of 2026. Many began with little more than a domain name and a one-line goal.
One hijacked vendor reaches every site that trusts it.
In November 2026, one vendor's hijacked scripts served a card stealer on 178 organizations' sites for most of a day.
A change ships faster than a person can review it.
A vendor publishes a new version in seconds. Your team finds out when someone looks.
A script on your payment page meets all three conditions of the lethal trifecta.
In AI security, the lethal trifecta is a system that has access to sensitive data, is exposed to untrusted input, and can communicate externally. Simon Willison named it in June 2025. Any one of these is manageable. The combination is the danger. It has since been presented to the PCI community for AI systems in payment environments.
The same three conditions describe a third-party script on your payment page.
In plain words: someone who holds a key to the vault, takes instructions from a stranger, and can walk out without being searched.
Count the conditions to decide which scripts to watch first.
A later rule of thumb for AI agents, the Rule of Two, says to allow no more than two of the three at once. The same count works for scripts. Select one to see its conditions in the diagram.
ScriptGuard is built to keep at least one of the three out of reach, on every page, every time a script changes.
The same safeguards, applied to scripts
| Safeguard for AI systems | How ScriptGuard applies it to scripts |
|---|---|
| A person stays accountable for automated actions | Every decision names an owner, and a change that could break the page is held for a person |
| Output is treated as untrusted and validated before it runs | Every changed script is tested in an isolated browser before the decision, and the evidence is kept |
| High-impact secrets are kept out of reach | Tests use test data, and policies limit which scripts can read sensitive fields |
The trifecta also describes an AI agent that visits your page. That is why ScriptGuard checks page text for instructions written to hijack AI agents.
Your page is the one place every script has to pass through.
Defenders have two advantages. Every script has to load on your page before it can touch your customers, so you can watch it there. And you hold the record of the version you approved, which the attacker cannot change.
The time between a change and your response is the attacker's window. ScriptGuard is built to close it.
Agentic Defense for websites, web apps and mobile apps
Agentic Defense is Feroot's name for AI agents that defend one thing: the code your websites, web apps and mobile apps load from other companies. That means third-party scripts, tags, pixels and JavaScript libraries. It is not a general AI security product, and it does not secure your own AI agents.
It runs continuously. Agents use the tools you already run. Reusable skills define the checks they follow. An isolated test browser lets them run changed code safely before deciding.
ScriptGuard is the first product built this way. It covers the JavaScript your web pages load. Mobile apps are not covered yet. You set a tolerance for change, so routine updates pass and risky ones are held or blocked.
Where it works
The apps your customers use.
- WebsitesPublic, login and checkout pagesScriptGuard, early access
- Web appsCustomer portals and single-page appsScriptGuard, early access
- Mobile appsCode from other companies inside your appNot available yet
What it watches
Code from other companies that runs in those apps.
- Third-party scriptsChat, A/B testing, analytics, payments
- Tags and pixelsLoaded through your tag manager
- JavaScript librariesServed from a content delivery network
What you run today
Your existing tools, which ScriptGuard reads from and reports to.
Agentic Defense
The layer that turns a script change into a decision, an action and a record.
ScriptGuard- Inventory agent
- Change agent
- Response agent
- Compare versions
- Explain change
- Check tolerance
- Write incident report
- Custom skills
What changes for your team
| Work | Common bottleneck | What ScriptGuard gives you |
|---|---|---|
| Approval | Approved once, never rechecked | Every approved version on record |
| Change | Vendor ships without your deploy | Every change detected |
| Triage | Alert says "changed", not what | The change tested and explained |
| Response | Blocked by hand, hours later | Blocked or held by your rule |
| Proof | Report written after the fact | Incident report ready for your team and your QSA |
Five steps, run every time a script changes.
What early access measures
We will publish the numbers.
Reference architecture
Your website
- Your pages
- The Feroot tag running in your visitors' browsers
Feroot
- Crawler
- Record of approved versions
- Agents and skills
- Test browsers
- Models
Your tools
- Slack
- PagerDuty
- Jira
- ServiceNow
- your SIEM
Available today and in early access
| Available today in DXSecure and PaymentGuard | In early access with ScriptGuard |
|---|---|
| An inventory of every script on your pages | Each change tested in an isolated browser and explained |
| Alerts when a script on a payment page changes | Tolerance settings by page, publisher and behavior |
| Policies for which scripts may read which data | Automatic block or hold, with a named owner |
| Evidence for PCI DSS 4.0.1 requirements 6.4.3 and 11.6.1 | An incident report written for you |
Make script changes something you decide, not something you discover.
Brief your team
Copy a short brief about the November 16 incident and the three questions to ask.
Already a Feroot customer? Ask your account team what changed on your pages on November 16.
Apply for early access
Tell us about your sites and we will contact you.
What happens after you apply
- We scan the pages you name, from the outside.Nothing is installed on your site.
- You see every script on those pages.And the changes ScriptGuard would have flagged.
- You decide whether to turn it on.ScriptGuard starts in monitor mode. Nothing is blocked until you turn blocking on, page by page.
Questions about Agentic Defense and ScriptGuard
What is the difference between Agentic Defense and ScriptGuard?
Agentic Defense is the approach: AI agents defending the code your web and mobile apps load. ScriptGuard is the first product built on it, for the scripts on your web pages.
What is the lethal trifecta?
Simon Willison's name, from June 2025, for a system that has access to sensitive data, is exposed to untrusted input, and can communicate externally. A third-party script on a payment page meets all three conditions.
Does ScriptGuard protect against Magecart, web skimming and formjacking?
Those are names for attacks that steal payment or login data through a script on the page. ScriptGuard is designed to detect the script change that delivers them, test it, and block or hold it.
What are the best tools to prevent JavaScript skimming attacks?
Teams usually combine three. A Content Security Policy limits where scripts may load from. Subresource Integrity locks scripts that never change. A client-side security product watches what each script does on the page and alerts when one changes. Feroot DXSecure and PaymentGuard are client-side security products. ScriptGuard, in early access, adds AI agents that test each change and act on it.
What tools help with PCI DSS client-side requirements 6.4.3 and 11.6.1?
Requirement 6.4.3 asks you to inventory, authorize and justify every script on a payment page. Requirement 11.6.1 asks you to detect unauthorized changes to those pages. Feroot PaymentGuard produces evidence for both: the script inventory, the authorizations and the change alerts your QSA asks to see.
Is ScriptGuard available now?
No. It is in early access. Apply and we will contact you.
Will blocking break my checkout?
ScriptGuard starts in monitor mode, and nothing is blocked until you turn blocking on for a page. Where blocking a script would affect the page, the change is held and sent to a person. You choose which pages work this way.
Why not do this with Claude or Copilot ourselves?
A general AI assistant can read a script you give it. It does not watch every page your visitors load, keep the record of the version you approved, run changed code in an isolated browser, or stop it on your page. ScriptGuard's agents are built to do that work continuously.
Where do the agents run, and what data do they see?
The agents run in Feroot's service. They test changed scripts in an isolated browser with test data, not your customers' data. A person decides on any change that is held. You can connect your own model, which runs inside your network.
Can our own AI agents use ScriptGuard?
That is the design. Your agents can ask ScriptGuard questions through an MCP server or API, for example which of your sites load a given vendor.
Does it cover mobile apps?
ScriptGuard in early access covers web pages. Agentic Defense for mobile apps is not available yet.
Is this a product for securing my own AI agents?
No. Agentic Defense means defense carried out by AI agents. ScriptGuard does check your pages for text written to hijack AI agents that visit them.
Does it cover JavaScript libraries, tags and pixels?
Yes. Anything your pages load into a visitor's browser arrives as a script, including libraries served from a content delivery network, marketing tags and tracking pixels.
How is ScriptGuard different from DXSecure and PaymentGuard?
DXSecure and PaymentGuard watch scripts and enforce your policies. ScriptGuard is the agent-run operation that takes a script change from detection to a decision, an action and a report.
How is this different from Subresource Integrity?
Subresource Integrity rejects any change to a script, including a vendor's routine update, so most teams cannot use it on scripts that vendors update. ScriptGuard tests the change and decides.
How is this different from a Content Security Policy?
A Content Security Policy allows scripts by the address they load from. A hijacked script still loads from the approved address.