Jason KaferChecklist · 4 min read

Where the CVV Hides

The places to search your logs, data stores and call recordings for a card security code, how to fix it at the root, and the questions to ask before you retire an old payments system.

01 Who may hold the security code

On November 3, 2026, Gnosis Pay found an intruder in one of its card systems, one that was already scheduled to be shut off. Its own emails to customers list full card numbers, expiry dates and security codes among what was reached. That's the context. Here's what it means for your software.

The security code, the CVV, is the three digits on the back of the card (some cards use four). When you buy something online, the store can't see your card, so that code is how it knows you actually have the card in your hand. That's why the card industry's rulebook calls it out: if those codes get stolen, criminals can place fraudulent online and phone orders with them.

PCI DSS, the card industry's security rulebook, says it in requirement 3.3.1.2: the code is not stored once the payment is approved. For a merchant, a gateway that passes the payment along, or a software platform, it has to be gone the second the payment's approved. A card issuer, the bank or company that puts the card in your hand, or a company running a card program for one, can have a real business reason to handle it. Think of an app that shows you your own card details.

A software company that takes payments gets no such pass. The PCI Security Standards Council's own FAQs spell it out:

Not even encrypted. Not even if the customer asks you to keep their card on file. Not for subscriptions either.
02 The search list

A lot of software teams tell me their payment partner's form handles the card, so they never see it. Maybe that's true. But I once had my card number printed in plain text on a huge dealership's invoice, and nobody there knew it was a problem. Nobody meant to put it there. It just ended up there. In software, it's usually sitting somewhere nobody ever looks.

PCI tells assessors, the people who check you, where to look for a stored security code. Use the same list on yourself.

Search every transaction log. Not just your database: every log you've got.
Search the debugging logs. The logging someone switched on while connecting the payment system.
Search the error logs. Every one of them, not just the main one.
Search your databases and cloud storage. Everywhere the code could have been saved.
Search the crash dumps. The snapshot a server saves when something breaks.
Check the call recordings. If your merchants take card payments over the phone, a code read out loud and saved in a recording counts as stored too.

What to search for. Any field named CVV, CVC or security code. And a three- or four-digit number sitting right next to a card number.

03 Fix it at the root

Here's how it usually gets into a log. While somebody's connecting the payment system, they switch on logging that records every request. That request has the card in it. The integration ships, and nobody ever turns that logging back off.

Blanking it out isn't the fix. If you find the code, blanking the digits out of the log afterward hides it. Stopping it from ever reaching the log fixes it.

Find where the code enters the log, and stop it there. Blanking it out afterward hides it. Stopping it from ever reaching the log fixes it.
04 If you're giving your users a card

Card companies may hold that code, and software companies may not. So if you're planning to give your own users a card, with a partner running it behind the scenes, you'd be stepping onto the card company's side of that rule. Holding that code becomes your risk too. Ask the partner that runs those cards for you:

The questions for your card partner
Where do the card security codes for our cards live?
Who can read them?
When do they get deleted?
If nobody can answer, that's your answer.
05 Before you retire an old payments system

A shutdown date is a plan, it's not a deletion date. Until that system is off and the data on it is actually gone, it's live. Before you retire one, ask:

Does it have a deletion date, not just a shutdown date? A shutdown date is a plan, it's not a deletion date.
When it's off, is the data on it actually gone? Not just switched off.
Is every copy of that data gone too? When it's off, the data on it and every copy of it should actually be gone.

My rule of thumb has always been the fewer attack vectors you have, the fewer ways in, the safer you are. An old system you've stopped thinking about is still an attack vector. It's just the one nobody's watching.

Sources

Jason's LibraryLibrary card
Free access

Keep reading free with your library card

One email opens this checklist and all 21 resources in Jason's library. No account, no password.

It opens right here, and a copy goes to your inbox. You'll also get Jason's new resources. Unsubscribe in one click.

Thanks
You finished it
Now do one thing

Search your logs, data stores and call recordings for any field named CVV, CVC or security code, and for a 3 or 4 digit number sitting next to a card number.

Saving works best in your phone's browser. A copy is also in your inbox.