跳到内容

EDZNET Security Guard

v1.9.1

EDZNET · 2026年9月3日 上架

Requires 2FA for administrators, blocks new admin creation, refuses URL-credential logins, and emails you on admin logins. Locked to first admin.

正在使用
60+
评分
暂无
累计下载
1,439
最近更新
2026年11月21日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.2+

贡献者

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/verify with 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/summary once a day and when you click “Count again”.
  • Turning Vulnerability Watch off tells https://edznet.io/api/guard/v1/release to 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums