Guide

Card testing attack: how to detect and stop it

What a card testing attack is, how it works, why it hurts even at $0, and the velocity, decline-rate and device signals that catch it.

TL;DR: card testing detection

  • The problem: Fraudsters run stolen card lists through your checkout to find live ones, firing many tiny or $0 authorisations that slip under fraud rules tuned for big-ticket theft.
  • How CloakTrace addresses it: It classifies the actor and resolves the device behind the attempts even across rotating IPs and cleared storage, then graphs every card, IP and account that device has touched.
  • The decision: Score every payment attempt inline in under a millisecond and reserve friction for automated sessions, so genuine checkout conversion is untouched.

Short on time? See CloakTrace card testing detection. It scores every attempt inline, alongside your gateway, without slowing checkout.

What is a card testing attack and how do you stop it?

A card testing attack is when a fraudster runs a stolen list of card numbers through your checkout or payment API to find out which ones still work. They fire many small authorisations or $0 verifications in quick succession, keep the cards that approve, and sell or cash them out elsewhere. You detect it by the pattern, not the individual charge: a spike in low-value attempts, a climbing decline rate, and many cards being tried from one device or IP in minutes. You stop it by rate-limiting per device and IP, resolving the device behind the attempts, and adding friction only to the sessions that look automated.

Card testing (also called card cracking or "carding") is one of the most common automated attacks against any site that touches payments. The attacker already has card numbers, from a breach, a skimmer or a dark-web list, but does not know which are live. Your checkout is a free oracle: submit a card, read the response, learn whether it works. Because each test is tiny or zero-value, it slips under fraud rules tuned for big-ticket theft. The damage is real anyway, as you will see.

How a card testing attack works

The mechanics are simple and almost always automated:

  1. Acquire a list of card numbers, often partial, needing expiry or CVV brute-forced.
  2. Find a soft endpoint: a checkout, a donation form, a "add card" flow, or a payment API with weak rate limits.
  3. Fire small authorisations, frequently $0 or $1 verification calls, or charity donations of a few dollars, scripted through the browser or straight against the API.
  4. Read the response: an approval means a live card; a decline means discard or retry with a different expiry/CVV.
  5. Harvest the winners and monetise them elsewhere, so the fraud you see is only the testing, not the eventual loss.

Attackers spread the load across proxies and rotate through card lists fast. Some throttle deliberately to stay under naive thresholds. The tell is rarely one transaction; it is the shape of the traffic.

deviced4a9f21c1712 accounts4 cards3 IPs2 browsers
One device, resolved, and everything attached to it: accounts, cards, IPs and browsers.

Why it hurts even at $0

Teams under-react because the individual amounts are trivial. The costs are not:

  • Authorisation fees: many processors charge per auth attempt, so thousands of tests become a real bill.
  • Decline-rate penalties: card networks monitor your approval ratio. A flood of declines can trigger fines or fraud-monitoring programs and threaten your processing.
  • Chargebacks: the small successful charges get disputed by real cardholders, dragging your chargeback rate toward thresholds that carry penalties.
  • Downstream fraud: every card validated on your site funds theft somewhere, and your domain gets a reputation for it.

How to detect and stop it

Detection is about aggregate patterns; prevention is about raising the cost of the test faster than the attacker can adapt. Reach for these in order.

Velocity and decline-rate monitoring

This is your primary alarm. Watch for:

  • Attempts per device / IP / minute: many distinct cards from one origin is the signature. One human tries one or two cards.
  • Rising decline rate: a sudden climb in soft declines (invalid CVV, expired, do-not-honor) is card testing in progress. Trend it in real time, per endpoint.
  • Low-value / $0 auth clustering: a burst of verification-only or minimum-amount calls where you normally see varied baskets.
  • Many cards, few devices: invert the usual view. Instead of cards per user, count cards per device and per IP.

Rate-limit hard on these keys and step up or block when a threshold trips. The limit of velocity alone: a rotating proxy pool breaks IP-based counting, which is why the device signal below matters.

Device linking

If you can resolve the physical device behind the attempts, even across rotating IPs, cleared cookies and different browsers, the attack collapses into a handful of machines no matter how many cards or proxies are in play. Device linking also lets you build a graph: this device, these 400 card numbers, these IPs, this cluster. That graph is what separates a genuine customer retrying a mistyped card from an operator burning through a list.

Signal reference

SignalNormal userCard testing
Distinct cards per device / hour1-2Tens to hundreds
Decline rate on endpointLow, stableSpikes sharply
Charge amountsVaried basket sizes$0 / $1 / fixed tiny
Time between attemptsSeconds to minutes, humanSub-second, scripted bursts
Actor typeHuman in a browserAutomation / API client
IP reputationResidential, consistentProxy / datacentre / rotating

See how CloakTrace detects card testing behind rotating proxies without slowing checkout.

Controls that raise the cost

  • Never expose why an auth failed in a way that helps the attacker tell "wrong CVV" from "dead card". Return a generic decline.
  • Rate-limit per device and per IP, not just per account or card.
  • Challenge selectively: apply a challenge or 3-D Secure step-up to sessions that score as automated, not to everyone, so real conversion is untouched.
  • Throttle or delay minimum-value and verification-only calls from suspicious origins.
  • Feed the processor's tools: enable the network-level card-testing protections your gateway offers, and combine them with your own device signals.

Detecting it at scale, in under a millisecond

Velocity and decline-rate rules catch the loud attacks. The quiet ones, throttled to stay under thresholds and spread across a wide proxy pool, need the device and actor layer. CloakTrace card testing detection reads hundreds of signals across four layers, browser, device, network and behavior, and runs a specialized, self-learning agent for the use case that continuously tunes its own detection rules to classify the actor (human, automated bot, browser automation, fraud operator or AI agent) and resolve the physical device behind the attempts, even across rotating IPs and cleared storage. It returns a probability with evidence in under a millisecond from a global CDN, so you score every payment attempt inline without slowing checkout.

The relationship graph links the device to every card, IP and account it has touched, and unsupervised discovery surfaces the testing cluster before you have written a rule for it. Pair it with payment fraud detection for the broader authorisation and chargeback picture. One honest boundary: CloakTrace supplies the device and actor intelligence, not the payment authorisation itself, so it sits alongside your gateway and its network-level protections rather than replacing them. See also account takeover, a frequent follow-on once cards are validated.


Where CloakTrace fits

CloakTrace is the device and actor layer for this problem. It resolves the same physical device across browsers and cleared storage, classifies whether a human, an automation framework or an AI agent is operating the session, and returns the accounts, cards and IPs already linked to that device, in under a millisecond. Your application keeps the decision.

Where it does not fit:

  • It does not own the approve or decline decision, run a managed fraud team or offer chargeback guarantees. A full fraud platform covers those, and CloakTrace supplies the device and actor layer such platforms use.
  • It does not do KYC or AML and does no identity enrichment, so it cannot tell you whether the person behind a device is who they claim to be.
  • It covers web, WebView and React Native today. A fully native iOS and Android SDK is on the roadmap.

Sources and methodology

The attack mechanics, cost model and detection signals reflect common card-testing patterns seen in payment-fraud practice as of 2026, plus card-network monitoring-program norms around decline and chargeback ratios. Thresholds in the table are illustrative; tune them to your traffic and processor. Actor classification and device resolution describe CloakTrace's approach. This guide is published by CloakTrace and does not constitute compliance advice.

Ask an AI

Don’t just take our word for it

Ask your assistant how CloakTrace compares for fraud, bot and AI-agent detection.

FAQ

Is a card testing attack an automated attempt to validate stolen cards?

Yes. A card testing attack is an automated attack where a fraudster submits many stolen card numbers through a checkout or payment API to learn which are still active, usually with tiny or $0 authorisations. The valid cards are then used or sold elsewhere, so the testing you see is a precursor to larger fraud. CloakTrace flags the automation behind those attempts before the list is validated.

Can you tell if you are being card tested right now?

Yes. Watch for a sudden spike in low-value or $0 authorisation attempts, a climbing decline rate on a specific endpoint, and many distinct card numbers tried from one device or IP within minutes. Any one in isolation can be noise, but together they are card testing. CloakTrace resolves the device behind the attempts even across rotating IPs and cleared storage to confirm it.

Is card testing damaging even when the charge amounts are tiny?

Yes. Per-auth fees add up over thousands of attempts, a flood of declines can push you into card-network fraud-monitoring programs with fines, and the small successful charges generate chargebacks. Every validated card also funds fraud elsewhere and harms your domain reputation. Stopping the testing early avoids all of those downstream costs.

Is it possible to stop card testing without hurting checkout conversion?

Yes. Keep the detection passive and reserve friction for the small share of sessions that score as automated. Velocity, decline-rate and device signals run in the background, while a challenge or 3-D Secure step-up is applied only to suspicious traffic, so genuine buyers are unaffected. CloakTrace scores every payment attempt inline in under a millisecond to make that split possible.

Can CloakTrace detect card testing across rotating IPs and cleared storage?

Yes. CloakTrace classifies the actor and resolves the device behind the attempts even when the attacker rotates IPs and clears storage, then graphs every card, IP and account that device has touched. It runs as a web-first script on a global CDN and returns each verdict in under a millisecond, alongside your gateway. That gives your rules a reliable signal to throttle or challenge the attack.