LunarShield
Security hardening utilities for WordPress, including rate limiting, uploads hardening, and admin security settings.
Not scanned yet
WordPress plugin
Install in
LunarShield helps site administrators reduce common attack surfaces with a focused set of hardening controls:
- Login rate limiting for the login form, XML-RPC and REST API application passwords
- A Reports page: who is attacking (top IPs and targeted usernames), what is blocked right now with one-click Unblock, and every security event with search, filters and sorting
- Correct visitor IPs behind Cloudflare, load balancers and reverse proxies
- Privacy built in: retention period, optional IP anonymization, personal data export and erasure, and suggested privacy policy text
- Uploads directory PHP execution protection
- Optional WordPress version hiding
External services
LunarShield works without contacting any outside service. One optional setting uses Cloudflare:
- What: Cloudflare’s list of its own IP address ranges, from
https://api.cloudflare.com/client/v4/ips. - Why: so that, when “Trust Cloudflare” is on, a range Cloudflare adds is recognised before the next LunarShield update. Without it, LunarShield uses the list bundled with the plugin.
- When: once a week, only while both “Trust Cloudflare” and “Update Cloudflare ranges” are turned on under LunarShield Settings Client IP detection. Both are off by default.
- What is sent: a plain request for the list, with the user agent
LunarShield/<version>. No information about your site, its visitors or its users is sent. As with any web request, Cloudflare sees your server’s IP address. - Cloudflare’s terms of use and privacy policy.
Written by Joobi from the project's own listing. See the source page
23 Nov 2026
Version 1.1.0 released. Not scanned yet.
1.1.0
- New: Reports page with a 24-hour, 7-day and 30-day summary, the top attacking IPs and most-targeted usernames, which IPs are blocked right now with one-click Unblock, and every security event with search (IP, CIDR range or username), filters, sorting and paging. Works on phones.
- New: Security events (failed, blocked and successful logins, settings changes, Unblock) are stored in their own table and deleted after the retention period (Settings Reports, 30 days by default). Replaces the old counters.
- New: REST API application passwords are now rate limited like the login form. Wrong guesses count toward the same per-IP limit, and a blocked address gets the same answer for a right or wrong password.
- New: Successful XML-RPC and application-password logins are recorded, at most once an hour per user, address and method.
- New: Privacy: optional IP anonymization, Tools Export and Erase Personal Data support, and suggested privacy policy text.
- New: Optional weekly update of Cloudflare’s IP ranges (off by default; contacts api.cloudflare.com only when turned on).
1.0.2
- New: Client IP detection settings for sites behind Cloudflare, load balancers or reverse proxies. The login rate limiter now blocks the real visitor instead of the proxy’s shared address.
- New: “Detected IP” status on the settings page, with a one-click “Use Cloudflare settings” when your request comes through Cloudflare.
- Security: forwarded headers are only trusted from proxies you trust; IPv6 addresses are normalized so one visitor cannot appear as several.
1.0.1
- Fix: enabling “Disable PHP execution in uploads” no longer causes a fatal error on sites where
FS_CHMOD_FILEis not defined. - Tested with WordPress 7.0 and 7.1.
- Admin stylesheet is now versioned with the plugin version for correct cache busting.
1.0.0
- Initial stable release.
17 May 2026Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)