PCI DSS

What happens when a PAN reaches a chatbot.

Last reviewed Itzal engineering team

Book a demo All articles

A primary account number pasted into an AI tool places cardholder data in a system that is not in your assessed environment, not covered by your controls, and not subject to your retention rules. The practical response is detection and blocking at the point of entry.

How it happens

Rarely through the payment flow itself.

That path is usually well controlled. It happens around the edges, and in every case the intent is to do the job faster, with the card data incidental to the question being asked.

Not legal advice. Your QSA owns scope determinations for your environment.

Support

An agent pastes a customer email containing a full card number into an AI tool to draft a reply.

Engineering

A developer pastes a log excerpt or a test fixture containing real card data while debugging.

Analysis

An analyst pastes a chargeback spreadsheet to summarise it.

Operations

Someone pastes a declined-transaction record to ask what an error code means.

Why PANs are the ideal first rule

Card numbers barely trade precision against recall.

The Luhn checksum eliminates most random 16-digit strings. BIN ranges confirm the number belongs to a real issuer range. The format is stable across contexts and formatting variants.

That reliability has a practical consequence: card numbers are the right place to start blocking rather than warning. When you begin enforcement with detectors that are effectively never wrong, you build trust in the control instead of training people to dismiss it.

Sensitive authentication data is a higher severity. CVV, CVC, PIN blocks and full track data must never be stored after authorisation, so their appearance in a prompt is more serious than a PAN alone, and policy should block them unconditionally, including to sanctioned destinations, because there is no configuration in which storing them is acceptable.

Detection that isn’t its own scope problem

A monitoring tool can expand the assessed environment.

A tool that transmits prompt content to a vendor cloud for inspection would be sending cardholder data to another party: potentially expanding your assessed environment to include your security vendor.

Itzal’s detection runs on the endpoint. What leaves is a finding type, a count, a confidence, a masked snippet, a destination and a risk score. The PAN never reaches Itzal’s infrastructure, so Itzal’s infrastructure never enters the conversation with your QSA.

Practical policy

Start with these rows, then tune them.

Exception-list your known test card numbers so developers are not blocked by fixtures. Review the block rate weekly for the first month, and treat a rising trend in one team as a process problem in that team rather than a detection problem.

Suggested policy by finding and destination
FindingSanctioned destinationUnsanctioned destination
PAN, Luhn-validatedBlockBlock
Sensitive authentication dataBlockBlock
Truncated PANLogWarn
Expiry and name, no PANLogWarn

Scope

A prompt with a card number in it pulls that laptop into scope.

Scope is the part of PCI DSS that costs money, and it is decided by where account data goes rather than by where you intended it to go.

Any system component that stores, processes or transmits cardholder data is in scope, along with anything connected to it. A support agent pasting a primary account number into an AI assistant has, at that moment, made their workstation a system that transmits account data to a third party that is almost certainly not a validated service provider. That is a scope question and a disclosure question at once, and neither is answered by the fact that nobody intended it.

The practical consequence is that keeping account data out of prompts is a scope-reduction control, which is a better conversation to have with a finance team than a compliance one. The honest limit: we can tell you that a PAN was detected and prevented from leaving a device, and that is evidence of a control operating. Your QSA decides what is in scope, and a detection tool does not make that determination for them.

Where it actually leaks

Support and dispute handling, not the payment flow.

Payment flows are the part of this that is already controlled, which is why the leak is almost never there.

The pattern that recurs is support. An agent handling a dispute has a transaction in front of them and an assistant that drafts a better reply than they would write at four in the afternoon, so the transaction goes into the prompt. The same happens in chargeback handling, in reconciliation when somebody asks an assistant to make sense of a statement, and in engineering when a production log containing a full number is pasted in to ask what the error means.

Each of those is somebody doing their job well with the tool in front of them, which is why a punitive framing fails here specifically. The control that works is one that fires at the moment of sending and names what it found, and the policy that works is one that gives those teams an assistant they are allowed to use.

What the assessor asks

The evidence wanted is that account data did not reach the tool.

The requirement an AI assistant touches most directly is the one about not sending unprotected primary account numbers over end-user messaging technologies. A prompt is exactly that kind of channel.

What satisfies an assessor is evidence that the control operated across the period: a record showing account data was detected and stopped, the policy that defines it, and the ability to say which destinations were involved. A record of categories and counts does this without becoming a second store of account data, which matters because an archive of detections containing the numbers themselves is new in-scope storage you would then have to protect.

The limit is the usual one and worth putting plainly: your QSA decides scope and sufficiency. A product supplies evidence; it does not make the determination, and any vendor saying otherwise is selling something they cannot deliver.

Questions

Does pasting a card number into ChatGPT bring it into PCI scope?

It places cardholder data in a system outside your assessed environment, which is a control failure rather than a scoping expansion you can simply accept. Your QSA is the right person to characterise it for your specific environment.

What about a truncated or masked PAN?

Properly truncated PANs are generally out of scope, which is precisely why detection should validate rather than pattern-match, flagging every 16-digit string produces noise that trains people to ignore warnings.

Can a DLP tool block card numbers reliably?

Card numbers are among the most reliable detections available, because the Luhn checksum plus BIN ranges make false positives rare. This makes them a good first candidate for blocking rather than warning.

Is sensitive authentication data different?

Yes, and more serious. CVV and full track data must never be stored after authorisation under any circumstances, so their appearance in a prompt is a higher-severity finding than a PAN alone.

Does Itzal see the message itself?

No. The check runs in a small program on the device, and the raw text is never transmitted, stored off the device, or written to a log. Your console receives finding types, frameworks and the action taken.

How long does deployment take?

One installer, pushed by your existing MDM. There is no appliance, no proxy and no certificate to distribute, and turning on another product later is a licence change rather than a second rollout.

What does Itzal not see?

Plenty, and we publish it rather than wait to be asked. Coverage is reported per surface and the uncovered ones are named. Surface coverage.

Is this enough on its own for an audit?

No control is. Itzal gives you the evidence for one surface: what was found, which framework it mapped to, what happened next, and which devices were covered when it happened.

Do we need to tell employees?

Several US states and most EU member states require advance written notice for endpoint monitoring, and some require works council consultation. That is a question for your counsel, not for us. What we know, and what we don’t.

Does a card number in a prompt put the laptop in scope?

It makes that workstation a component transmitting account data to a third party, which is a scope question as well as a disclosure one. Your QSA makes the scoping determination; keeping account data out of prompts is best framed as a scope-reduction control.

Keep reading

Book a demo

See it stop a real one.

Forty-five minutes on your own data, run by one of our engineers. Bring something you would not want leaving the building.

Book a technical demo