Anti-Carding & Bot Shield for WooCommerce (Stop Card Testing Attacks)

By theaikoss

0+ active installationsVersion 1.0.1

Stop automated card testing attacks, fake orders, and expensive Stripe authorization fees with a zero-bloat, 4-layer checkout defense.

Description

Woke up to thousands of $1 failed transactions and a Stripe account warning?

KossLabs Anti-Carding & Bot Shield halts automated card testing attacks directly at your checkout before malicious requests hit payment gateways (Stripe, PayPal, Authorize.net) and trigger expensive authorization fees ($0.15 – $0.50 per attempt).

Works out of the box with zero configuration:
– Instant Protection: Honeypot, HMAC timestamp validation, and RAM-based IP rate limiting are active immediately upon activation.
– Cloudflare Turnstile Ready (BYOK): Optional frictionless bot challenge with zero vendor lock-in.
– Dual-Shield Architecture: Fully compatible with Classic Checkout and modern WooCommerce Checkout Blocks (Store API).
– Zero Bloat: Runs entirely in RAM (Transients API / Redis / Memcached). No custom database tables.

Privacy Policy & External Services

This plugin integrates with Cloudflare Turnstile to protect your checkout against card testing and automated bot abuse.

  • Service: Cloudflare Turnstile
  • Provider: Cloudflare, Inc.
  • Service Description: Frictionless, privacy-preserving bot detection challenge.
  • Terms of Service: https://www.cloudflare.com/website-terms/
  • Privacy Policy: https://www.cloudflare.com/privacypolicy/
  • Data Transmitted: During checkout, the customer’s IP address and Turnstile response token are transmitted to Cloudflare’s validation endpoint (https://challenges.cloudflare.com/turnstile/v0/siteverify) to verify whether the submission is from a legitimate human. Store owners use their own Cloudflare account credentials (BYOK).

Installation

  1. Upload the kosslabs-anti-carding-shield folder to your /wp-content/plugins/ directory, or install directly via the WordPress Plugins menu.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Ensure WooCommerce is installed and activated.
  4. Navigate to WooCommerce > Anti-Carding Shield in your WordPress admin menu.
  5. Enter your Cloudflare Turnstile Site Key and Secret Key (obtained free from your Cloudflare dashboard).
  6. Adjust rate limiting thresholds if desired, then click Save Configuration.

FAQ

Does this plugin add tables to my database?

No. It strictly adheres to a “Zero-Bloat” philosophy. All rate limiting and temporary blocks utilize the native WordPress Transients API, which operates in RAM when object caching (Redis or Memcached) is enabled.

Do I need a paid Cloudflare account?

No. Cloudflare Turnstile is completely free for up to 10 visible/managed sites per account with unlimited challenge responses.

Does this work with WooCommerce Blocks / Modern Checkout?

Yes. The plugin intercepts both traditional classic checkout (woocommerce_checkout_process) and modern Store API REST checkout endpoints (/wc/store/v1/checkout).

Will legitimate customers be interrupted by difficult CAPTCHAs?

No. Cloudflare Turnstile is designed to run non-interactively in the background without frustrating puzzles or image selections for genuine shoppers.

Changelog

1.0.1

  • Added automatic plugin activation hook with default options and stats initialization.
  • Added estimated merchant fee savings calculation to admin dashboard.
  • Added optional badge to Cloudflare Turnstile card to emphasize core defense layers work out-of-the-box.
  • Updated tags, title, and documentation for improved discovery.
  • Performance optimizations and code hardening.

1.0.0

  • Initial public release.
  • 4-layer defense: Honeypot, 1.5s cryptographic timestamp, Cloudflare Turnstile, and Transient IP rate limiting.
  • Full support for WooCommerce Classic Checkout and Gutenberg Store API.
  • Real-time attack mitigation counter.