
Are you tired of anti-spam plugins that bloat your site, inject third-party tracking, or constantly upsell you on premium SaaS subscriptions? Are you looking for a straightforward, lightweight solution that just protects your comments without the extra baggage?
Then Cardea is the right tool for you.
Cardea is a radically simple, zero-dependency Proof-of-Work (PoW) comment spam protector. Developed transparently on GitHub as a purely open-source project, it does one thing and does it perfectly: it stops automated bot spam on native WordPress comments.
Cardea offers distinct advantages for site owners who value simplicity, privacy, and performance:
Hyper-Focused & Zero Bloat – Cardea is strictly dedicated to the native WordPress comment system. Unlike multi-purpose anti-spam plugins that inject heavy compatibility layers for various form builders and e-commerce platforms, Cardea remains extremely lightweight and performant—protecting only what you need protected.
100% Standalone & Sovereign – No external API keys. No commercial SaaS tiers. No phone-home telemetry. Cardea is entirely self-hosted and self-contained. Your comment protection never depends on a third-party service staying alive.
Strict Privacy (GDPR Compliant) – Because the Proof-of-Work computation happens locally in each visitor’s browser, there are no tracking cookies, no user profiles, and no third-party data transfers. Unlike cloud-based CAPTCHA solutions, Cardea transmits nothing to external servers—making it inherently GDPR-friendly.
Reduced Attack Surface – By doing one thing perfectly (protecting native comments), Cardea avoids the security vulnerabilities inherent in massive, multi-ecosystem integrations. A focused codebase means fewer CVEs and tighter security.
Plug-and-Play Simplicity – No complex routing rules. No integration toggles. No configuration mazes. Users simply activate Cardea and their discussion threads are protected immediately.
To view the source code, contribute, or report issues, visit the Cardea GitHub Repository.
Cardea is built with an enterprise-grade engineering stack focused on reliability and performance:
Frontend Architecture:
* Zero-dependency JavaScript using native Web Crypto APIs (crypto.subtle)
* Web Workers for background cryptographic mining (non-blocking UI)
* Dynamic challenge fetching via REST API (compatible with page caching)
* Skip PoW for logged-in users (zero CPU overhead for authenticated commenters)
Backend Architecture:
* Localized replay protection using WordPress transients
* Auto-cleaning expired tokens via WordPress cron
* Single verification pass: signature check + PoW validation
Testing Stack:
* PHPUnit – Backend logic verification (HMAC generation, challenge validation, replay prevention)
* Jest – Cryptographic worker validation (difficulty checking, solution finding, message interface)
* Playwright – End-to-End browser testing integrated with WordPress Playground (full WordPress environment)
This comprehensive testing approach ensures the plugin handles legitimate users seamlessly while actively blocking sophisticated bot attacks.
Cardea is built with an enterprise-grade engineering stack focused on reliability and performance:
Architecture:
* Zero Database Bloat on Load – Stateless HMAC signatures ensure zero database writes on page load
* Self-Cleaning Replay Protection – Uses WordPress transients that auto-expire via cron
* Deferred Execution – Mining only starts when user interacts with comment field
Testing Stack:
* PHPUnit – Backend logic verification (HMAC generation, challenge validation, replay prevention)
* Jest – Cryptographic worker validation (difficulty checking, solution finding, message interface)
* Playwright – End-to-End browser testing integrated with WordPress Playground (full WordPress environment)
Cross-Theme Compatibility:
* Uses HTMLFormElement.prototype.submit.call() to bypass DOM clobbering issues
* Graceful fallback for browsers without Web Worker support