Linux 软件免费装
Banner图

Cypress North Password Policy

开发者 cypressnorth
更新时间 2026年9月1日 05:08
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security password login protection nist brute force prevention

下载

1.0.1 1.0.0

详情介绍:

Cypress North Password Policy enforces a strong, modern password policy on your WordPress site. Defaults align with NIST 800-63B guidance: length over composition rules, denylist screening, breach-corpus checks, and rate-limited login. Every setting is admin-configurable. What you get Designed to coexist with WordPress core The plugin uses WordPress's own password hashing (wp_hash_password) and never stores plaintext. The built-in zxcvbn strength meter is left intact. All integration is via documented WP filters and actions — deactivating the plugin removes its behavior cleanly.

安装:

  1. Upload the cn-password-policy folder to /wp-content/plugins/, or install via the WordPress plugin directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Visit Settings → Password Policy to review the defaults and adjust thresholds, lockout windows, notification recipients, and trusted-proxy configuration.
On multisite, network-activate the plugin to install the custom tables on every existing site. New sites created later get the tables automatically.

屏幕截图:

  • Policy tab — length, character, history, and breach-check rules.
  • Notifications tab — per-event toggles and attack-digest schedule.
  • Audit Log tab — searchable list of every relevant event.
  • Tools tab — HIBP connectivity test and manual unlock controls.
  • Soft-force interstitial — what a non-compliant user sees on next login.

升级注意事项:

1.0.1 Wordpress 7.1 Compatibility. 1.0.0 First public release.

常见问题:

Does this plugin store plaintext passwords?

No. WordPress core stores password hashes; this plugin stores additional one-way hashes of prior passwords for the password-history check, computed with the same wp_hash_password function core uses. No plaintext is persisted.

Does the HIBP breach check send my password over the network?

No. The Have I Been Pwned check uses k-anonymity: the plugin sends only the first five characters of the SHA-1 hash of the password to api.pwnedpasswords.com, and matches the returned suffix list locally. The plaintext never leaves your site. If the HIBP API is unreachable, the rule fails open so password changes are not blocked by an outage.

Does it replace WordPress's built-in zxcvbn strength meter?

No. WordPress's strength meter continues to work as before. This plugin enforces its rules at form submission rather than redrawing the meter.

Does it include two-factor authentication?

No. 2FA is a separate concern and is handled by purpose-built plugins. This plugin focuses strictly on password strength, lockout, and the surrounding compliance flows.

How does the lockout interact with the WordPress login form?

When a threshold is crossed, the user receives the same generic "invalid credentials" error that any other failed login produces — the locked state is deliberately not disclosed. Admins unlock locked IPs or usernames from Settings → Password Policy → Tools, or via WP-CLI.

Is there a WP-CLI command?

Yes, one: wp cnpp unlock --ip=<ip> and/or --user=<id-or-login> releases an active lockout and clears the failed-attempts counter for the supplied identifier. Both flags can be combined in one invocation. A broader CLI surface (stats, settings export, log query) is on the roadmap for a future release.

Does it support WooCommerce or BuddyPress checkout/registration flows?

Not in 1.0. Both plugins use their own registration and password-change paths that don't fire the core WordPress filters this plugin hooks into. Explicit integration is planned for 2.0.

How do I translate the plugin?

A POT template ships in languages/cn-password-policy.pot. Once the plugin is listed on WordPress.org, translations are accepted via translate.wordpress.org. The plugin declares Text Domain: cn-password-policy and Domain Path: /languages so WordPress's translation loader picks up .mo files automatically.

更新日志:

1.0.1 1.0.0