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:
- Acquire a list of card numbers, often partial, needing expiry or CVV brute-forced.
- Find a soft endpoint: a checkout, a donation form, a "add card" flow, or a payment API with weak rate limits.
- 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.
- Read the response: an approval means a live card; a decline means discard or retry with a different expiry/CVV.
- 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.
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
| Signal | Normal user | Card testing |
|---|---|---|
| Distinct cards per device / hour | 1-2 | Tens to hundreds |
| Decline rate on endpoint | Low, stable | Spikes sharply |
| Charge amounts | Varied basket sizes | $0 / $1 / fixed tiny |
| Time between attempts | Seconds to minutes, human | Sub-second, scripted bursts |
| Actor type | Human in a browser | Automation / API client |
| IP reputation | Residential, consistent | Proxy / 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.