Data Report · RedactSure Research
Chris Sowa · Founder, RedactSure
Published
Last updated
Can an Online Store Use AI Agents Without Expanding PCI Scope?
Scope follows what the agent reads, not where the form is hosted: a hosted field keeps the card number out of the store's markup, and the digits still render on the screen an agent reads. Ask what the model receives on the payment screen before an agent works a checkout.

An online store that puts an agent on its own checkout has one thing to settle before the first run: where the card number sits while the agent works. A person types sixteen digits into a payment form and the page forgets them; an agent reads the rendered page and keeps what it reads, so the cardholder data flow now includes a system that appears on no network diagram. Hosted fields move the digits into a frame the payment provider serves, out of the store's own markup, and that is the design most stores already run. It settles what the store's scripts touch. It does not settle what the screen shows the model.
The stakes are concrete. A store that stores, processes or transmits card data carries the PCI DSS requirements that come with it, and one that hands the payment step to a provider still answers for its own pages. Add an agent that reads screens and an assessor has one more question: what does the agent's environment hold when it reads a checkout? A store can answer that without guessing by separating what hosted fields do, which obligations stay with the store, and the point where a value has to be replaced before any model sees it.
Key findings
- For an agent's environment to stay out of scope, the values on the checkout would have to be replaced with consistent tokens before any model reads the screen, so the run works from CARD_001 and the digits resolve only at the payment (What Is Render-Layer Tokenization?).
- It would also require a named person approving the payment the agent prepares and a record of what the model received on each screen, because the scoping test asks what an environment stores, processes or transmits and not what it was told to do (Can an AI Agent Handle Cards Without Wider PCI Scope?).
- None of the vendor pages reviewed describes a field-level control that keeps card digits out of a browser agent's context once the payment form renders, so a store running an agent on its own checkout relies on the form's design and the agent's restraint (What Is a Protected Browser for AI Agents?).
- Stripe's build guide states that "You can use three payment UIs with the Checkout Sessions API," and its hosting column marks the full page "Hosted or Embedded" and the other two "Embedded," so the same purchase can keep the digits on the provider's page or draw them inside the store's (Stripe, 2026).
- The Council's storage sheet states that "PCI DSS, however, does not apply if PANs are not stored, processed, or transmitted," which makes the form's design a scoping decision and not a checkout preference (PCI SSC, Do's and Don'ts, 2008).
- Anthropic's help page for Claude in Chrome states that "Claude sees what's on the page and can act on it," which on a checkout includes the card field the page draws, and the side panel's default mode is "Automatically approve" (Anthropic, 2026).
What does a hosted payment field hide, and from whom?
The record for this page is one checkout page with hosted fields: an order summary, a card number field, an expiry field, a security code field and a pay button. The store's markup holds a frame element where the card field sits, and the provider's script fills that frame with its own form, so the digits a customer types live in a document the store does not serve. Anything that reads the markup, a script, a scraper or an agent extracting text, meets a frame, not the number.
None of that hides the digits from a reader that works from the rendered screen. A browser agent that reads the page as a person does, which is what Anthropic's help page describes when it says "Claude sees what's on the page and can act on it," receives the frame as pixels along with everything else the page draws (Anthropic, 2026). The digits render where the customer types them, so a screenshot or a rendered view carries them, while the agent that parses the markup meets an input inside a frame.
| What the checkout draws | Where the value lives | What a markup reader gets | What a screen reader gets |
|---|---|---|---|
| Hosted card field | A frame the provider serves | A frame element, no digits | The digits as drawn |
| Embedded form field | A frame the provider serves, styled as the store's | A frame element, no digits | The digits as drawn |
| Elements field | A provider script inside the store's page | An input the script owns | The digits as drawn |
| Order total and last four | The store's own page | The value as text | The value as drawn |
Neither answer settles scope. The test is functional: a system that stores, processes or transmits cardholder data is in scope, and so is a system able to affect the security of one that does (Can an AI Agent Handle Cards Without Wider PCI Scope?). Hosted fields decide which system receives the digits from the customer. They do not decide what the agent's environment receives from the screen, and that environment belongs to the store.
The fill step can work that way. Browser Use's documentation states that "the LLM only sees placeholders (x_user, x_pass)" and that "real values are injected directly into form fields after the LLM call" (Can a Browser Agent Fill In a Form Without Seeing the Values?), a documented fill in which the model does not hold the value. An agent that needs the amount and the last four digits can take them from values the store chooses to show.
What stays in scope when the payment form is rendered by a provider?
A store that never touches the digits still answers for its own page, and the Council sets the eligibility question out in two parts. FAQ 1588 says the SAQ A script criterion "only applies to e-commerce merchants with a webpage that includes" the provider's embedded payment page or form, and "does not apply to e-commerce merchants with a webpage that redirects customers" to the provider (PCI SSC, SAQ A eligibility, 2025). A store that keeps the form embedded can meet the criterion with techniques "such as, but not limited to, those detailed in PCI DSS Requirements 6.4.3 and 11.6.1," or with its provider's written confirmation (PCI SSC, SAQ A eligibility, 2025).
The scanning requirement runs the other way, where the comfortable reading breaks. FAQ 1604 answers "Yes" and states that SAQ A for PCI DSS v4.x "includes requirements for external vulnerability scanning by a PCI SSC Approved Scanning Vendor (ASV) for merchant e-commerce webpages, even where payment processing is fully outsourced to a third party," and the same answer covers pages that "Redirect transactions to a TPSP" and pages that "Include a TPSP's embedded iframe" (PCI SSC, ASV scans, 2026).
The storage sheet supplies the boundary sentence: "PCI DSS, however, does not apply if PANs are not stored, processed, or transmitted" (PCI SSC, Do's and Don'ts, 2008). Read with the two FAQs, it says a store can move the card data to a provider and still answer for its own page. The agent's environment is a third thing, and none of those answers covers it. If the model receives the digits from the screen, the store operates a system that processed them, whatever the form's hosting says.
What do the vendors themselves say?
Stripe's documents describe how the form is built, and Anthropic's describe what a browser agent receives when it opens a page.
Stripe's build guide states that "You can use three payment UIs with the Checkout Sessions API," and its hosting column marks the full page "Hosted or Embedded" and the other two "Embedded" (Stripe, 2026). The same guide says the full page can sit "either embedded on your site or via a redirect to a Stripe-hosted page," and that Elements let a store "Build a fully customized payment page using elements" (Stripe, 2026). The page is a build guide for the Checkout Sessions API, and it says nothing about PCI DSS obligations, so the scoping question stays with the merchant (Stripe, 2026).
Anthropic's help page for Claude in Chrome states that "Claude sees what's on the page and can act on it," which on a checkout includes the card field the page draws (Anthropic, 2026). The same page says the side panel defaults to "Automatically approve" mode, pausing when needed, a setting about what the agent does and not about what it reads (Anthropic, 2026). The page describes a credential handoff to a password manager and no filter on the values a page draws.
| Dimension | Stripe, per its documentation | Anthropic, per its documentation | What a buyer should verify |
|---|---|---|---|
| Where the form is built | Full page, embedded form or Elements, each with its hosting row | The page describes a side panel on the browser, not a payment form | Which of the three the store uses, and whether the digits ever enter its markup |
| What the store's page serves | A redirect, a frame, or a script the store hosts | Whatever site the agent opens | Whether the store's own scripts can reach the card field |
| What the agent receives | A build guide, so the question is out of its scope | "Claude sees what's on the page" | Whether the model receives digits or tokens |
| Who approves an action | The page does not address approvals | "Automatically approve" is the default mode | Whether a person approves a payment outside the model |
| What record exists | The page does not address a record | A side panel, with no record of what the model read | Whether a record shows the screen as the model received it |
| PCI DSS statement | None in the build guide | None on the help page | The scope answer in writing, from the provider and the assessor |
Neither vendor page answers the scope question for a store that puts an agent on its own checkout, because neither is about that store's environment.
What can an agent do with a card number it reads on the page?
The card verification code is the first field to check, because a checkout asks for it and the standard treats it most strictly. The Council's answer on card verification codes says they are "considered Sensitive Authentication Data (SAD)," and that Requirement 3.3.1.2 "strictly prohibits storing them after authorization" (PCI SSC, Verification codes, 2025). An agent that reads a security code and writes it into a note, a ticket or a transcript has put SAD into a store the standard says may not hold it after authorization.
For the PAN the rule is about readability. The standard says a PAN "must be rendered unreadable according to PCI DSS Requirement 3.5.1" (PCI SSC, v4.0.1, 2024), and the fact sheet adds that "PAN to be rendered unreadable anywhere it is stored," including in logs and backups (PCI SSC, Do's and Don'ts, 2008). A context written to a log is storage, and an agent that repeats the number in a summary has written it somewhere the store must protect or delete.
The second exposure is direction. A page can carry instructions as well as values, and the design that keeps page content from steering the run is the one where "the untrusted data retrieved by the LLM can never impact the program flow" (Debenedetti et al., 2025). An agent that has read a card number is worth steering: an environmental injection attack on web agents reached "up to 70% attack success rate (ASR) in stealing users' specific PII" (How Do Websites Manipulate AI Agents?), and the findings on browsing agents "include prompt injection, domain validation bypass, and credential exfiltration" (What Can a Hijacked Agent Leak If It Only Has Placeholders?).
Who approves the agent's action at the checkout?
The browser agent's own default is the place to start. Anthropic's help page says the side panel defaults to "Automatically approve" mode, pausing when needed (Anthropic, 2026), and other agents document the same convenience, with the modes described as "best-effort guardrails rather than a hard security boundary" (Does Auto-Approve Mode Put My Credentials at Risk?). A default that approves an action is a decision about what the agent may do, and it applies whether or not the page held a card number.
An approval earns its place when it names the thing being approved. A person who approves a payment needs the amount, the payee and the last four digits, and the agent can prepare all three from tokens, so the approval does not require the model to have held the number. That is the difference between reviewing a payment and reviewing a screenshot of one.
Scale is the other half. Columbia's Data, Agents, and Processes Lab states that "trustworthy agent automation cannot be solved at a single layer of the stack," and its longer note says agents fail across the stack, where "human oversight breaks under scale," so "fixing only one layer is not enough" (DAPLab, 2026). A store that adds an approver without changing what the model receives has added a step to a flow that still carries the digits.
What does a governed environment change?
A governed environment acts where a page is rendered, before a model reads it. Values chosen by policy are replaced with consistent tokens for the whole run, so the model works from CARD_001 where the page would hold a card number. Real values resolve only at the approved destination, at the moment of an approved action, so the digits reach the payment form the person approved and not the transcript or the next page the agent opens. A named person approves each payment, submission or record change.
For this page's question the difference is which system receives the digits. A hosted field keeps them out of the store's markup; a token keeps them out of the model. The two compose: the form can stay hosted, and the agent's view is drawn with placeholders, so a screenshot, a rendered view and a text extraction all carry the token. A record of what the model received on each screen, with the name of the approver, is evidence an assessor can read.
The limit is the one the form has. This control covers the rendered page; it does not cover a script run against the payment API with a key in a variable, or a card number pasted into a file the agent reads. A browser-level control decides which sites the agent may open and what it may do there, not which values the page draws for the model, which is the gap the Claude in Chrome comparison sets out (RedactSure vs Claude in Chrome: 2026 Comparison & Alternative).
What the record shows
The form's brand does not decide the answer; what the agent's environment receives does. A hosted field keeps the store's markup clean and leaves the screen as it was, so a reader working from the rendered page still meets whatever the frame draws. Tokens placed before the page reaches the model, an approval that names the payment, and a record of what the model received are the three things that keep a store's agent environment out of the cardholder data flow. The Council's own sentence sets the direction: the standard does not apply where PANs are not stored, processed or transmitted. A store can check its own checkout by naming one agent and one test order, rendering the payment step, and writing down what the model received: the digits, a frame element, or CARD_001.
Methodology and limitations
This page rests on PCI Security Standards Council guidance and the PCI DSS v4.0.1 text, vendor documentation from Stripe and Anthropic, one research preprint on prompt injection by design, a university lab page on agent infrastructure, and existing RedactSure research pages. The pages were read between October 16, 2026 and October 22, 2026, and each Sources line carries the date for its page; public documentation read in full gives a sound view of where each product applies its control. The Council's storage fact sheet dates from 2008, so its wording is quoted for the rules it states and not as current standard text.
No product on this page was tested for it. The products are described from their public documentation, vendor features change, and a later release is unreviewed until the check above is repeated. Not described means the documents reviewed for this page; the example describes a record type, a checkout with hosted fields, and not an organization. RedactSure is deploying now with enterprise and government customers. Whether a store's flow meets PCI DSS belongs to its counsel, its assessor and its own compliance officers.
Frequently asked questions
Can an online store use AI agents without expanding PCI scope?
Yes, when the agent's environment never receives the card number. A hosted field keeps the digits out of the store's markup, so an agent that reads the page's text meets a frame and not the number. A reader that works from the rendered screen still sees the digits, and that view is what a token replaces. The test is what the model receives on the payment screen.
Does a hosted payment form keep the card out of what the agent reads?
Partly. It keeps the digits out of the store's own page, which is what the design is for, and out of any text extraction of that page. It does not keep them off the screen: the customer types into a form the provider draws, and a browser agent that reads the rendered page receives what the frame shows. The distinction matters because the browser agent reads the screen, not the store's markup.
What can an agent do with a card number it has read?
It can repeat it. A model's context becomes a transcript, a summary or a note in a ticketing system, and a card verification code in any of those is sensitive authentication data held after authorization. The PAN faces a different rule: it must be unreadable wherever it is stored, which a transcript does not satisfy. Either way, the value the model received has to be protected or deleted like any other cardholder data.
Who should approve an agent's purchase or refund?
A person with the authority to make that payment, approving the amount and the payee outside the model. An approval that reviews the page instead of the payment approves whatever the page showed, which may be a screen the page controlled. The agent can prepare the approval from tokens, because the amount, the payee and the last four digits are enough for a person to decide. A default that approves automatically is a convenience, not a control.
What record should a store keep of an agent's checkout work?
One record per run: the screens the agent read as the model received them, each action, and the name of the person who approved each payment. That record answers the assessor's question about what the agent's environment stored and transmitted, and it answers the store's question after an incident. A transcript alone is not enough: it shows what the model wrote, not what the page drew.
What does PCI DSS require of a store that stores no card numbers?
Fewer requirements, not none. A store that redirects customers to a payment provider still answers for its own page, because SAQ A for v4.x includes external vulnerability scanning of merchant e-commerce webpages even where processing is fully outsourced. The storage rules still shape what the store may keep, so a card number in an agent's transcript is storage wherever the form was hosted. The scope answer belongs in writing, from the provider and from the assessor who signs the assessment.
How RedactSure Keeps a Checkout Out of the Agent's View
Hosted fields keep the digits out of the store's markup, and the approval step comes after the model has read the screen.
The environment that enforces this is built by RedactSure, an AI agent controls, governance and data protection company.
Before: the agent opens the checkout, the model receives the card field as the frame draws it, and the digits stay in the context. Inside the governed environment: the page is drawn with CARD_001 in the field and on the confirmation screen, the real digits resolve only after a named person approves the payment, and the record shows that tokenized screen beside the approval.
RedactSure is deploying now with enterprise and government customers. The Council's storage sheet states that PCI DSS does not apply where PANs are not stored, processed or transmitted.
Everyone else controls where data can go. RedactSure controls what the AI can see.
See it on your own workflow
A card number on a checkout is the value an assessor asks about first. Bring one test order and see, with test values, what the model reads on the payment screen and where the real digits land. Book a demo