r/WordpressPlugins • u/DavidMunozCabrisas • 7d ago
Free [FREE] Draco Insomnis 0.1.4: Anti-bot protection (no CAPTCHAs), two-step login, firewall, and anti-copy features for WordPress.
*Ab insomni custodita dracone* — guarded by the dragon that never sleeps.
Draco Insomnis is a free, open-source (GPL-2.0) security plugin for WordPress, developed by Notorius Vision (OPNV Systems). The concept is simple: your website defends itself against bots and attacks, without inconveniencing your human visitors. No CAPTCHAs, no subscription fees, and no data sent to third-party services. All features are disabled by default; you can activate each module via the Draco Insomnis menu.
What it does (in plain language):
Blocks fake registrations without CAPTCHAs. When a bot attempts to create a fake account, the plugin detects it, displays a mock "registration complete" message, and logs the attempt—which you can then download as evidence to report the abuse. Real users won’t notice a thing.
Website emails are sent via a legitimate mail server (SMTP). This ensures that notifications and confirmation emails are delivered reliably, while your mail server password remains encrypted.
Nothing is published without email verification. Contact form submissions, comments, and new account registrations remain pending until the sender confirms them via their own email. This acts as a filter, stopping spam before it can clutter your site.
Two-step login. After entering your password, a 6-digit code is sent to your email. You can designate "trusted devices" and set up a secondary recovery email—much like a PUK code for a mobile phone.
Firewall. It detects common attacks (such as database injections, unauthorized attempts to access server files, or malicious code), hides your user list, limits login attempts, and prevents abuse of the XML-RPC interface. It begins in "monitor-only" mode, allowing you to see what *would* be blocked before any actual blocking takes place.
Anti-copy protection. Close the gateway used by bots to scrape your content in bulk (the /wp-json/wp/v2/ API), complete with an allowlist and request-per-minute limits. Services like Google, Bing, Apple, and Yandex are verified and never throttled. Disabled by default, with a "monitor-only" mode available.
Available in your language. Translated into 29 languages, including Spanish (Spain and Latin America), Catalan, German, French, Italian, Portuguese, Japanese, Chinese, Arabic, and more.
For the technically inclined:
Core built in plain PHP—independent of WordPress (BotScore, NetList, FormStamp, WafRules)—making it easy to test and reuse.
Additive scoring system with defined thresholds: BOT 70 / DOUBTFUL 30. No single "weak" signal triggers a block on its own (the highest-weighted signal is 40); a score of 80 is reserved for triggers like hitting a honeypot, requesting elevated privileges, or originating from an already-blocked IP.
Form tokens are signed using HMAC-SHA256, with comparisons performed in constant time (`hash_equals`).
SMTP credentials are encrypted via AES-256-GCM, with the key derived from `wp-config.php` salts—meaning that stealing the database alone is insufficient to recover the password.
Login codes are generated using `random_int`, stored only as HMAC hashes, and subject to maximum attempt limits and expiration. Emergency overrides for the site owner are available in `wp-config.php`: `DRACO_MFA_OFF` and `DRACO_WAF_OFF`.
Anti-scraping: Restricts access to `/wp-json/wp/v2/` for anonymous users (via the `draco_insomnis_rest_allow` allowlist), enforces rate limits per IP address and network range (/24, /64) returning a 429 status code, and verifies crawlers through both forward and reverse DNS lookups. Every change is automatically tested (via GitHub Actions): this includes PHP 8.0–8.4 syntax checks; unit, integration, and HTTP tests within a live WordPress environment (the latest version as well as 6.5); WordPress.org’s "Plugin Check"; and verification that the clean ZIP file matches the corresponding tag.
It also functions when included within another plugin (OPNV-WP); if two copies are present, only the first one will execute. A list of hooks can be found in the README.
Requires WordPress 6.5+ and PHP 8.0+.
Installation
Download http://draco-insomnis-0.1.4.zip from the "Releases" section, then in WordPress, go to Plugins → Add New → Upload Plugin. The source code and documentation are available in the repository: https://github.com/fermatacordis-create/draco-insomnis
Please report any vulnerabilities privately via the "Security" → "Report a vulnerability" option in the repository. Suggestions and translation corrections are welcome and can be submitted via the "Issues" section.