EDZNET Security Guard
Requires 2FA for administrators, blocks new admin creation, refuses URL-credential logins, and emails you on admin logins.
Install in
EDZNET Security Guard stops the most common takeover techniques seen on compromised WordPress sites:
Two-Factor Authentication
Require two-factor authentication (2FA) for administrator logins. Each administrator chooses how they get their 6-digit code:
- Authenticator app (recommended) — the TOTP standard (RFC 6238) with any app: Google Authenticator, Authy, 1Password, Microsoft Authenticator, or similar. The administrator scans a QR code from their profile or the login page; codes change every 30 seconds.
- Email code — for people who struggle with apps: a one-time code is emailed to the account’s address at each login. It expires after 10 minutes, five wrong codes end the attempt, and a new code can be requested after a minute. Before it is switched on, a test code proves the site’s emails actually arrive. Email codes are less secure than an app (whoever can open the mailbox gets both factors), the plugin says so wherever they are offered, and the site owner can turn them off.
Every administrator also gets 10 single-use backup codes to sign in with if they lose their phone or can’t get an email, and app users can opt in to email recovery (“email me a code instead”) from their profile. After a successful 2FA login the normal “admin logged in” email is still sent, and says which kind of code was used.
You can require 2FA for all administrators, force new administrators to set it up, or force every administrator to enroll on their next login. Existing administrators are never locked out — anyone who hasn’t set it up yet is walked through enrollment before they can finish logging in.
Block Administrator Creation
A compromised admin account will often create a second administrator account as a backdoor — one that survives after the original breach is cleaned up. While this setting is enabled, no new user can be created with the Administrator role and no existing user can be promoted to one. Existing administrators are unaffected, so the first administrator can still manage the site and change the setting whenever a legitimate admin account is needed.
Block URL Credentials
Brute-force scripts frequently hammer wp-login.php with credentials baked into the URL, e.g. https://yoursite.com/wp-login.php?log=Ben&pwd=T3m. While enabled, any visit to the login page with credentials in the query string is refused with 403 Forbidden. All logins must use the normal login form.
Admin Login Alerts
Every time an administrator signs in, an email is sent with the username, the IP address they connected from, their browser, and the exact time. Legitimate admin logins are rare, so an alert for a login you didn’t make is an early warning that an account may be compromised. Alerts are on by default and go to the first administrator’s email address — you can point them at any address from the settings page.
Block Accounts
Block any account from logging in with a single click — the “Block login” action appears on the Users screen, and “Unblock login” restores it whenever you’re ready. A blocked account is refused at the login screen with a friendly message, and its existing sessions are ended immediately so it can’t stay signed in. Because the plugin is built around the first-administrator lock, it can also block administrator accounts: any administrator can block a non-admin account, while only the first administrator can block another administrator. The first administrator’s own account can never be blocked, so you can’t lock yourself out of the site.
Every attempt to sign in as a blocked account is logged — username, IP address, browser and time — on the EDZNET Guard settings page, so you can see who keeps trying.
Plugin Audit and Unverified Plugin Blocking
A common way into a WordPress site is to sign in with a stolen password, upload a fake plugin as a ZIP file and activate it. These fake plugins often hide themselves from the Plugins screen and quietly inject scripts for visitors.
Security Guard checks every installed plugin against the official file checksums published by WordPress.org, so it knows whether each plugin is an untouched WordPress.org release, a WordPress.org plugin whose files have been changed, or something installed from elsewhere. It also scans plugin and must-use plugin code for high-risk techniques: running hidden or decoded code, running commands sent in a web request, loading code from a blockchain (“EtherHiding”), hiding plugins from the Plugins screen and heavy obfuscation.
- New plugins that can’t be verified are blocked from activation until the site’s first administrator approves them in EDZNET Guard > Plugin audit, for example a premium plugin bought from its developer. The check runs before the plugin’s code is loaded, on the Plugins screen, through the REST API and through WP-CLI.
- Plugins that were already installed are never blocked, only flagged, so turning the feature on can’t break a working site. EDZNET’s own plugins are exempt from the block too.
- Plugins with high-risk code are always blocked until approved, and you are emailed as soon as one is found. The Plugins screen shows each plugin’s status, and a warning appears if a plugin is hidden from it.
- An approval is re-flagged if the approved plugin’s code changes later.
The audit runs daily and whenever a plugin is activated, and can be run at any time from the Plugin audit screen. Blocking can be switched off (plugins are then only flagged) from the settings page.
Disk space
A full hosting disk breaks a WordPress site in confusing ways: uploads and updates fail, forms say “your session has expired”, and caches save broken pages. EDZNET Guard > Disk space shows how much space the site uses and where it goes (files, database, uploads, cache, left-over cache folders, backups and logs), and emails you when the hosting space is 85% and 95% full. Enter your hosting plan’s disk limit for an accurate percentage.
Vulnerability Watch (with an EDZNET Geo API Pro key)
Most hacked WordPress sites are running a plugin with a vulnerability that was published weeks earlier, and a fix that was never installed. Vulnerability Watch checks the WordPress version, plugins and themes on your site against a database of known WordPress vulnerabilities, updated daily, and tells you what to fix first.
- Severity first: each finding is rated critical, high, medium or low, with the version that fixes it, or a clear warning when there is no fix yet.
- Checked twice a day and straight after every update, from EDZNET Guard > Vulnerability Watch. Affected plugins are also marked on the Plugins screen.
- Email alerts for new critical and high-risk findings, sent to the same address as the other Security Guard alerts.
- Site risk score (Low, Medium, High or Critical) combining known vulnerabilities with Security Guard’s own checks: the Plugin audit, two-factor login, waiting updates and the number of administrators. Also shown in a dashboard widget.
Vulnerability Watch comes with an EDZNET Geo API Pro key (https://edznet.io/api-services) and covers one site per key. If EDZNET Geolocation already has a Pro key, turning it on is one click. Without a key, you can choose to see a free count of the known vulnerabilities affecting your site. Nothing is sent until the first administrator turns one of them on; see External Services below.
First Administrator Lock
The same first-administrator lock applies to every setting in the plugin — including two-factor authentication — so a compromised admin account cannot quietly weaken the protections.
Comment Controls
The same first-administrator lock protects three comment tools:
- Disable comments globally — turn commenting off site-wide with a single toggle. Comment forms disappear from the front end and newly published posts default to closed comments.
- Force close comments — one click updates every existing post so comments and pingbacks are closed, without having to edit posts one by one.
- Delete all pending comments — a danger action that permanently deletes every comment still awaiting moderation, without first marking each as spam or trashing it. Confirmation is required before it runs.
Front-end Content Tuning
Hide what you don’t want visitors to see, with each toggle independent of the others:
- Hide post authors — removes the “by [author]” meta from your posts.
- Hide post dates — removes publish dates from your posts.
- Hide comment closed text — removes the “Comments are closed” / “Comments Off” wording that appears under posts where commenting is disabled.
These are quick front-end filters and CSS rules that work with most themes.
Go Further: EDZNET Geolocation
Security Guard pairs naturally with our EDZNET Geolocation plugin. Once installed, block whole countries or continents from your site’s pages, only allow logins from the countries you choose (login protection, Geolocation 1.6 or later), block individual IPs, and see where comments, logins and registrations come from — a useful layer on top of the protections here. Security Guard detects the plugin and links straight to its country-blocking screen. With both plugins active and a Geolocation API key set, admin login alert emails also show where the login came from (city, region, country and internet provider), so a sign-in from an unexpected country stands out straight away. You can grab it from WordPress.org: https://wordpress.org/plugins/edznet-geolocation/
The block, the alert, and the comment and content toggles are on/available by default and need no configuration after activation. Two-factor authentication is off by default — turn it on from the settings page (you’ll be prompted to set up your own code first).
Source Code
This plugin is distributed as complete, human-readable source. Every PHP, JavaScript and CSS file shipped in the plugin ZIP is the original source file — nothing is minified, compiled, obfuscated, transpiled or bundled, and there is no build step, package manager or build tool of any kind involved in producing a release. What you download is what was written.
Runtime CSS lives in css/ and runtime JavaScript in js/, both loaded through wp_enqueue_style() / wp_enqueue_script(). The only third-party file is the QR-code library credited below, which is also shipped as its original unminified source.
Third-Party Libraries
- qrcode.js (
js/qrcode.js) — by davidshimjs, based on the “QR Code for JavaScript” library by Kazuhiko Arase. Licensed under the MIT license. Upstream: https://github.com/davidshimjs/qrcodejs. Shipped unmodified and unminified; used to draw the TOTP enrollment QR code in the browser so that no secret ever leaves the site.
External Services
WordPress.org plugin checksums. To verify installed plugins, the plugin audit requests the published checksums for each installed plugin from WordPress.org: https://downloads.wordpress.org/plugin-checksums/<plugin-slug>/<version>.json. Only the plugin’s folder name (slug) and version number are sent, as part of the URL. No information about your site, its users or its visitors is sent. Requests are made when the audit runs (daily, when a plugin is activated, and when you click “Run audit now”), and results are cached. This service is provided by WordPress.org: terms https://wordpress.org/about/domains/ and privacy policy https://wordpress.org/about/privacy/.
Login locations (only with EDZNET Geolocation). If the separate EDZNET Geolocation plugin is active and configured, the IP address of an administrator who signs in is looked up through that plugin’s own geolocation service so the login alert can show its location. Security Guard makes no request of its own for this; see the EDZNET Geolocation plugin for details of that service. Without EDZNET Geolocation, no IP address is sent anywhere.
Official EDZNET must-use plugins (only when one is installed). If a must-use plugin in wp-content/mu-plugins presents itself as the EDZNET Hands-Off Agent (which EDZNET installs on managed websites), the plugin audit downloads the list of official EDZNET build fingerprints from https://edznet.io/api/guard/v1/official and compares it with a fingerprint of the file worked out on your site. Nothing is sent except the request itself (no site address, plugin list or user data). It is checked at most once a day, and never on sites without such a plugin. Terms: https://edznet.io/terms-of-service.php. Privacy policy: https://edznet.io/privacy-policy.php.
EDZNET Vulnerability Watch (only when you turn it on). This is EDZNET’s own service at edznet.io, used only after the first administrator turns on Vulnerability Watch or the free count on the EDZNET Guard > Vulnerability Watch screen.
- Turning on Vulnerability Watch sends your Geo API Pro key, your site’s address, a random install ID and a one-time secret to
https://edznet.io/api/guard/v1/activate. edznet.io then calls your site once at<your site>/?rest_route=/edznet-guard/v1/verifywith a random challenge, and the plugin answers with a code made from that one-time secret. This confirms the request came from your site. The route answers only while an activation is in progress. - Each check sends your site’s address, its WordPress version, and the folder name (slug) and version number of each installed plugin and theme to
https://edznet.io/api/guard/v1/check, with the site’s own token. Checks run twice a day, a minute after you install or update WordPress, a plugin or a theme, and when you click “Check now”. - The free count sends the same WordPress version and plugin and theme slugs and versions, without your site’s address, to
https://edznet.io/api/guard/v1/summaryonce a day and when you click “Count again”. - Turning Vulnerability Watch off tells
https://edznet.io/api/guard/v1/releaseto free the key.
No information about your users, visitors, content or settings is sent. The vulnerability data is provided to EDZNET by Wordfence Intelligence, and each finding shows its source and copyright notice. Terms: https://edznet.io/terms-of-service.php. Privacy policy: https://edznet.io/privacy-policy.php.
Two-factor codes are generated and verified entirely on your own server, and the QR code is drawn in the browser by the bundled qrcode.js. Emailed codes are sent with your site’s own wp_mail(), stored only as a keyed hash, and backup codes are stored hashed like passwords.
Written by Joobi from the project's own listing. See the source page
1.9.1
- Changed: Disk space no longer reads or shows the server’s own disk. On shared hosting that is the host’s whole server, not your account, so the figure was misleading. The percentage and alerts now come only from your hosting account’s quota (when your host provides it) or the disk limit you enter.
1.9.0
- New: Disk space (EDZNET Guard > Disk space). Shows how much hosting space the site uses and where it goes: website files, database, uploads, cache, left-over cache folders, backups kept in wp-content and log files. Measured twice a day.
- New: an email to the alert address when the hosting space is 85% and again at 95% full. A full disk stops WordPress saving uploads, sessions and cache files, which shows up as errors such as “your session has expired” on forms.
- Enter your hosting plan’s disk limit for an accurate percentage. Hosts can supply the account’s real quota with the
edznet_guard_disk_quotafilter.
1.8.2
- Fixed: right after the EDZNET Hands-Off Agent updated itself, the plugin audit could flag the new version as “does not match any official EDZNET build”, because the list of official builds was cached for a day. An unrecognised agent now makes the audit fetch the list again (at most every 5 minutes) before flagging it.
1.8.1
- New: the plugin audit recognises the official EDZNET Hands-Off Agent. A copy that matches an official EDZNET build (checked against edznet.io) shows as “Official EDZNET (verified)” with what it does, instead of the “Creates user accounts with the Administrator role” warning. A must-use plugin that claims to be the Hands-Off Agent but matches no official build is flagged as critical and emailed, because a real backdoor could borrow the name.
1.8.0
- New: email codes as a second two-factor method, for administrators who find authenticator apps hard. Each administrator chooses app or email when they set up 2FA (on the login page or in their profile). Codes expire after 10 minutes, five wrong codes end the login attempt, a new code can be sent after a minute, and a test code proves the site’s email works before it is switched on. Email codes are labelled as less secure than an app wherever they are offered, and the first administrator can turn them off (“Email codes” on the settings page, on by default).
- New: 10 single-use backup codes for every administrator with 2FA, shown once at setup, with “Use a backup code” on the login step and “Create new backup codes” in the profile.
- New: optional email recovery for app users (off unless the administrator turns it on in their profile): “Can’t use your app? Email me a code” on the login step.
- New: five wrong codes now end a two-factor login attempt (authenticator codes included).
- Code emails say where the sign-in came from (IP address plus city, region, country and provider when EDZNET Geolocation is active with a key), like the admin login alerts.
- Improved: admin login alerts say whether the sign-in was verified with an authenticator code, an emailed code or a backup code (with how many are left).
- The site risk score counts administrators who use email codes as having two-factor login.
1.7.2
- New (for managed hosting): the
edznet_guard_first_admin_idfilter sets which administrator owns the protected settings (only an existing administrator, or super admin on multisite, is accepted),edznet_guard_locked_noticechanges the “Settings locked” text so it can say who manages the site, andedznet_guard_allow_admin_grantlets trusted code give its own management account the Administrator role while “Block administrator creation” is on. Both are off unless something uses them; nothing changes for other sites.
1.7.1
- Readme: EDZNET Geolocation 1.6 adds login protection (only allow logins from chosen countries), so the geo-blocking notes now mention it.
- Readme: a Vulnerability Watch key can also be released from the Geo API Pro service in the EDZNET client area.
1.7.0
- New: Vulnerability Watch (EDZNET Guard > Vulnerability Watch). With an EDZNET Geo API Pro key, Security Guard checks your WordPress version, plugins and themes against a database of known vulnerabilities, updated daily, twice a day and after every update. Findings show their severity and the version that fixes them, affected plugins are marked on the Plugins screen, and new critical and high-risk findings are emailed to you.
- New: site risk score and dashboard widget, combining known vulnerabilities with the Plugin audit, two-factor login, waiting updates and the number of administrators.
- New: without a key, an optional free count of the known vulnerabilities affecting your site.
- Readme: EDZNET Geolocation blocks countries from your site’s pages; it does not block the login page by country, as the readme said before.
1.6.0
- New: WordPress Multisite support. Network-activate the plugin and manage login protection, two-factor authentication, admin login alerts, blocked accounts and the Plugin audit from Network Admin. They are owned by the network’s first super admin, with one daily audit for the whole network. Comment and front-end settings stay on each site’s own page.
- New: on a network, unverified plugins stay blocked for site administrators too, and 2FA and login alerts cover the administrators of every site, whichever site’s login page they use.
- Fix: “Block administrator creation” now works. It never actually blocked new administrators before, because it checked a field WordPress doesn’t pass. It now blocks every way of granting the Administrator role (Users screens, REST API, WP-CLI and other plugins). If you need to add an administrator, the first administrator must turn the setting off first. Existing administrators are not affected.
1.5.3
- Fix: old Elementor build files named after a widget (for example assets/js/accordion.d0e98fa492444fcce9f9.bundle.js) are now also recognised as leftovers from earlier versions, so they no longer mark the plugin as modified.
1.5.2
- Fix: the Plugin audit no longer flags long encoded strings that are only data, such as the Unicode line-break table in html2canvas (bundled with Elementor Pro). A string is reported when it decodes or unpacks to readable code, or when the same file runs code built at runtime.
- Fix: old JavaScript build files left behind by earlier updates (for example Elementor’s hashed assets/js/*.bundle.js files) no longer mark a plugin as modified. They are still scanned for risky code, and the audit lists how many there are.
1.5.1
- Fix: deleting a plugin now clears its Plugin audit warning straight away. Before, the warning stayed on the Plugins screen and dashboard until the next audit ran. Installing or updating a plugin also re-checks it immediately.
1.5.0
- New: plugin audit. Every plugin is checked against WordPress.org’s published file checksums and scanned for high-risk code (hidden or decoded code, commands from web requests, blockchain-loaded scripts, plugins that hide themselves, obfuscation). Results are on the new EDZNET Guard > Plugin audit screen and on the Plugins screen.
- New: plugins that can’t be verified against WordPress.org are blocked from activation until the first administrator approves them. Plugins installed before this version, and EDZNET plugins, are only flagged, never blocked. Plugins with high-risk code are always blocked until approved, and the alert address is emailed when one is found.
- New: with EDZNET Geolocation active, admin login alerts show the location and internet provider of the IP address.
1.4.4
- Fix: admin notices from other plugins (for example review or upgrade prompts) were displayed inside the EDZNET Security Guard settings page header. They now appear below it.
1.4.3
- Improved: admin login alert emails are now worded for multi-administrator sites. An alert about another administrator names them and explains how to confirm the login with them, block the account and reset its password, instead of telling the recipient “If this was you, no action is needed”. Alerts about your own login keep the “if this was you” wording.
- Improved: login alerts now show the time with its timezone and whether the sign-in was verified with a two-factor code.
- New: refreshed settings page with a branded header, a status bar and settings grouped into cards (Login protection, Two-factor authentication, Comments, Front-end content).
- Tweak: the “Delete all pending comments” confirmation moved from an inline
onsubmitattribute into the enqueuedjs/admin.js.
1.4.2
- Removed the site-wide “EDZNET Geolocation” admin notice. The companion-plugin recommendation now appears only on the plugin’s own EDZNET Guard settings page, so no other admin screen is touched.
- All admin and login-screen CSS moved out of PHP into
css/admin.cssandcss/login.css, and all JavaScript intojs/qr-init.jsandjs/profile-2fa.js, loaded viawp_enqueue_style()/wp_enqueue_script(). No inlinestyleattributes remain in the plugin’s markup. - Hardening: every
admin_posthandler (block/unblock account, clear blocked-login log, two-factor setup/removal) now verifies the nonce first and then re-checkscurrent_user_can( 'manage_options' )explicitly, instead of relying only on the first-administrator identity check. - The Users-screen notices are now gated on the
list_userscapability. - Documented in the readme that the plugin ships complete unminified source with no build step, credited the bundled MIT-licensed
qrcode.jslibrary, and stated explicitly that the plugin contacts no external service.
1.4.1
- Security and UI fixes.
1.4.0
- Added two-factor authentication for administrators (TOTP / RFC 6238, works with Google Authenticator, Authy, 1Password and more). QR-code or text-key enrollment from the profile or the login page, optional “require for all admins”, “force new admins to enroll”, and “force enrollment on next login” toggles. Locked to the first administrator.
- Added account blocking: “Block login” / “Unblock login” row actions on the Users screen, able to block administrator accounts (first administrator only), with immediate session termination and a log of every attempted sign-in by blocked accounts.
- Added a recommendation for the companion EDZNET Geolocation plugin (geo-blocking by country and visitor tracking), with direct links to its blocking screen once it’s installed.
1.3.0
- Added admin login alerts: emails the first administrator (or a custom address) with the username, IP address, browser and time whenever an administrator signs in. On by default, locked to the first administrator.
1.2.0
- Added front-end content tuning: “Hide post authors”, “Hide post dates” and “Hide comment closed text” toggles, each independent and locked to the first administrator.
1.1.0
- Added “Disable comments globally” toggle (hides front-end comment forms, new posts default to closed).
- Added “Close commenting on all posts” bulk action.
- Added “Delete all pending comments” danger action. All comment controls are locked to the first administrator.
1.0.0
- Initial release. Blocks creation/promotion of administrator accounts and refuses login attempts that pass credentials through the URL. Settings locked to the site’s first administrator.
Follow this listing's changes (Atom feed)