Web Analytics
Client-Side Agentic Defense for Web and Mobile Apps | Feroot ScriptGuard
Feroot Client-Side Agentic Defense · ScriptGuard in early access

Attackers now use AI agents to launch attacks via trusted vendor scripts. Fight back with AI agents of your own.

AI agents now find weak spots in your vendors’ JavaScript faster than ever. One hijacked script, and a JavaScript attack runs on your checkout page, under your name, stealing your customers’ card data.

Agentic attacks need agentic defense. ScriptGuard, Feroot’s first Client-Side Agentic Defense solution, is built to test every script change and block the dangerous ones before they reach your customers.

Get early access

In early access. Not generally available yet.

See how it works

OPTIMJACK: one vendor script changed.
Scripts this page loads
  • tag-manager.js
  • analytics.js
  • ab-test.jsChangedBlockedHeld
  • chat-widget.js
  • payments.js
ScriptGuard
Your checkout page
5 of 5 scripts running4 of 5 scripts running. 1 blocked.1 change held. A person decides.
Your rule for this page
InventoryApproved version on record
Illustration of the design. ScriptGuard’s agents are built to catch, test and stop a risky script change on their own, around the clock, instead of waiting for someone on your team to notice.

In short

What is Client-Side 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?
Feroot’s first Client-Side Agentic Defense solution. It protects the JavaScript your web pages load, so a hijacked vendor script does not become your breach. 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.

Agentic attacks exploit third-party scripts that unwittingly propagate the attack to your website

Attackers no longer need to break into your site. An AI agent can start from little more than a domain name, break into a vendor whose script you already trust, and let your own pages deliver the attack to your customers. Here is why your current controls struggle to keep up.

A domain name feeding an agent that branches into tasks

An AI agent needs little more than your domain name to start.

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 vendor with a script fanning out to many sites

One hijacked vendor reaches every site that trusts it.

During OPTIMJACK, one vendor’s hijacked script served a card stealer to 178 organizations’ sites for most of a day. None of them changed a line of their own code.

Two clocks, one marked seconds and one marked hours seconds hours

A change ships faster than a person can review it.

A vendor publishes a new version in seconds. Without continuous checking, your team finds out only when someone happens to look.

Case study: a JavaScript supply chain attack

OPTIMJACK: one changed script put 178 organizations at risk.

An attacker changed one field in a widely used A/B testing script. The script kept its address and its valid certificate, so every control that trusted the vendor let it through. Here is how it happened, why it was so hard to see, and how ScriptGuard is designed to catch it.

178

organizations received the code

24 of 159

content security policies checked would have blocked it (15%)

26

rebuilds of the attacker's file in one day

04:21 to 23:11 UTC

from the first change seen to all copies clean

1. How the attacker got in

  1. The vendor says the attacker used a flaw in its account signup flow.
  2. The attacker wrote a loader into one editable field of the script, called Project JavaScript. The rest of the file was untouched.
  3. The vendor's own network served the file, from its usual address, with a valid certificate.
  4. Every page that loaded the script ran the loader.

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.<vendor>.com/js/<project ID>.js
  • Valid certificate
  • Served by the vendor's own network
<project ID>.jsas served, minified
The attacker's file was rebuilt 26 times that day, so a file fingerprint from a threat feed matched only one build.
Illustration based on public reports. Not the actual code. The attacker's address is replaced with a placeholder.

3. The same change in ScriptGuard

You should not have to compare two blocks of minified code line by line. ScriptGuard is designed to point to the exact lines that changed and tell you, in plain words, what they do.

cdn.<vendor>.com/js/<project ID>.js+3-0
@@ Project JavaScript @@ 1 block changed. Everything else is identical.
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
Illustration of the design in early access. It shows how ScriptGuard is designed to present a change like this one.

4. How to check whether your site was affected

  1. Find every page that loads the A/B testing script affected by OPTIMJACK.
  2. Check which of those pages were live between 04:21 and 23:11 UTC on November 16, 2026.
  3. Note what those pages collect: card, login or wallet details.
  4. 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. Discover the changes that matter.

A new version number is not an incident. A new destination for card data is. Tell ScriptGuard where your line is, by page, by who published the change and by what the new code does, and stop chasing alerts that do not matter.

You start in monitor mode, so nothing is blocked until you are ready to turn blocking on, page by page.

Page
Who published the change
What the new code does

Illustration of the design in early access. Final settings may differ.

The lethal trifecta

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.

The lethal trifecta for a third-party script Three overlapping circles, one per condition. The danger is the center, where all three overlap. 1Sees data 2Can be changed 3Can send out
All three together: the lethal trifecta.
Switch off any one condition.

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.

Watch first3 of 3 conditions
Watch next2 of 3 conditions
Example page. Your own scripts will score differently.

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

The same safeguards, applied to scripts
Safeguard for AI systemsHow ScriptGuard applies it to scripts
A person stays accountable for automated actionsEvery 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 runsEvery changed script is tested in an isolated browser before the decision, and the evidence is kept
High-impact secrets are kept out of reachTests 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.

Chart with time along the bottom. A script changes at one point. A response marker shows when someone responds. The shaded area between them is the attacker's window. Time The attacker's window A script changes Response

Client-Side Agentic Defense for websites, web apps and mobile apps

Client-Side 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 around the clock, so a change made at 4 a.m. does not wait for your team to wake up. 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 Feroot’s first solution 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 quietly 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.

Select a tool to see what ScriptGuard reads from it or sends to it.

Client-Side Agentic DefenseScriptGuard

The layer that turns a script change into a decision, an action and a record.

AgentsInventory agent, Change agent, Response agent
SkillsCompare versions, Explain change, Check tolerance, Write incident report, Custom skills
Record of approved versions
Test browserIsolated, repeatable
ModelsFeroot's, or your own

Your team stops chasing script changes by hand.

Your team stops chasing script changes by hand
WorkCommon bottleneckWhat ScriptGuard gives you
ApprovalApproved once, never recheckedEvery approved version on record
ChangeVendor ships without your deployEvery change detected
TriageAlert says "changed", not whatThe change tested and explained
ResponseBlocked by hand, hours laterBlocked or held by your rule
ProofReport written after the factIncident report ready for your team and your QSA
How it works

Every script change gets the same five checks, automatically.

Three numbers early access has to prove

Speed

Time from a script change to a decision.

Noise

Share of changes that fall inside tolerance and need nobody.

Safety

Changes held for a person, and blocks that had to be reversed.

We will publish the numbers.

Reference architecture

  • Your pages
  • The Feroot tag running in your visitors' browsers
  • Crawler
  • Record of approved versions
  • Agents and skills
  • Test browsers
  • Models
  • Slack
  • PagerDuty
  • Jira
  • ServiceNow
  • Your SIEM

"Which of our sites load this vendor?"

Your own model

Optional. Runs inside your network.

Protect your pages today. Add AI agents in early access.

Protect your pages today. Add AI agents in early access.
Available today in DXSecure and PaymentGuardIn early access with ScriptGuard
An inventory of every script on your pagesEach change tested in an isolated browser and explained
Alerts when a script on a payment page changesTolerance settings by page, publisher and behavior
Policies for which scripts may read which dataAutomatic block or hold, with a named owner
Evidence for PCI DSS 4.0.1 requirements 6.4.3 and 11.6.1An incident report written for you
Getting started

Make script changes something you decide, not something you discover.

01

Brief your team

Copy a short brief about OPTIMJACK and the three questions to ask.

02

Apply for early access

Tell us about your sites and we will contact you.

Already a Feroot customer? Ask your account team what changed on your pages during OPTIMJACK.

Apply for early access

Get ScriptGuard watching your pages before the next OPTIMJACK. Tell us about your sites and we will contact you.

What happens after you apply

  1. We scan the pages you name, from the outside.Nothing is installed on your site.
  2. You see every script on those pages.And the changes ScriptGuard would have flagged.
  3. You decide whether to turn it on.ScriptGuard starts in monitor mode. Nothing is blocked until you turn blocking on, page by page.

In early access. Not generally available yet.

By submitting this form, you acknowledge and agree to Feroot’s Privacy Policy.

Questions about Client-Side Agentic Defense and ScriptGuard

What is the difference between Client-Side Agentic Defense and ScriptGuard?

Client-Side Agentic Defense is Feroot's approach: AI agents that defend the code your web and mobile apps load from other companies. ScriptGuard is Feroot's first solution 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. Client-Side Agentic Defense for mobile apps is not available yet.

Is this a product for securing my own AI agents?

No. Client-Side Agentic Defense means AI agents that defend the code running in your customers' browsers. 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.