OpenPorte is a free and open-source WordPress plugin that protects forms, comments, logins, registrations, and WooCommerce from spam and bots using lightweight Proof-of-Work challenges instead of CAPTCHAs . The goal is simple: make spam attempts computationally costly for bots while keeping the expe
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 5.6 and PHP 8.0.
SourceWordPress plugins · Dec 1, 2026
01 / Source details
Aboutthistool.
OpenPorte is a free and open-source WordPress plugin that protects forms, comments, logins, registrations, and WooCommerce from spam and bots using lightweight Proof-of-Work challenges instead of CAPTCHAs .
The goal is simple: make spam attempts computationally costly for bots while keeping the experience unobtrusive for legitimate visitors and respecting their privacy.
Key benefits
CAPTCHA-free spam protection: No image-recognition puzzles or intrusive challenges.
Open source (GPL): Free software, developed openly and welcoming community contributions.
Self-hosted by default: Challenges are generated and verified directly by your WordPress site, without requiring an account or external service.
Privacy-first: No tracking, fingerprinting, or cookies introduced by OpenPorte, helping simplify GDPR compliance.
Accessible by design: Built around the open-source ALTCHA widget, with an emphasis on accessibility and minimal user interaction.
Easy configuration: Enable the integrations you need and configure the widget to suit your site.
Flexible deployment: Choose between WordPress REST API and Ajax for self-hosted challenge delivery, or use a compatible external challenge provider through Custom API Mode.
ALTCHA v1 migration: Supported settings from ALTCHA Spam Protection v1 (≤ 1.26.3) can be imported automatically, with deprecated compatibility aliases for existing integrations.
OpenPorte is built around the open-source ALTCHA widget . It is a community-driven project committed to openness, transparency, privacy, and long-term stewardship.
For the list of contributors, see the GitHub contributors page .
AI-assisted development
OpenPorte is an AI-assisted project. I remain responsible for its architecture, security decisions, and final review. AI tools (Claude, Mistral, local LLMs and others) assist with drafting code, tests, translations, and documentation.
Without these tools, maintaining and developing a project of this scope as a single contributor would be difficult. AI assistance helps me keep the project moving forward, while responsibility for its quality and security remains mine.
OpenPorte can import supported settings from ALTCHA Spam Protection v1 (≤ 1.26.3) and retains deprecated aliases for several legacy interfaces. Some features have changed or been removed; review your settings and test protected forms after migration.
Migrating from the original ALTCHA Spam Protection v1 plugin
Deactivate the original ALTCHA plugin, then install and activate OpenPorte. On activation, supported v1 settings are copied where corresponding OpenPorte settings do not already exist. The original ALTCHA settings are left untouched. Do not run both plugins at the same time.
Migrating from ALTCHA for WordPress v2/v3 plugin
If you previously upgraded or were automatically upgraded to ALTCHA v2/v3, OpenPorte can still import your original v1 settings if they remain in the database. Settings introduced in v2/v3 are not imported. The original ALTCHA v1/v2/v3 settings are left untouched. Deactivate ALTCHA, then install and activate OpenPorte. Do not run both plugins at the same time.
Backward compatibility
The following legacy interfaces remain available as deprecated aliases:
The [altcha] shortcode continues to work alongside [openporte] .
The altcha_* filters and actions continue to fire alongside their openporte_* equivalents.
The altcha/v1 REST API namespace remains available alongside openporte/v1 .
These aliases are deprecated and may be removed in a future release. See the Deprecations section for compatibility aliases, deprecated integrations, and recommended replacements.
Custom API compatibility
OpenPorte supports Custom API Mode, allowing challenges to be obtained from an ALTCHA-compatible backend.
This mode has been verified against GateCHA , an open-source server implementing the ALTCHA challenge protocol.
Challenge verification is performed locally by OpenPorte using the configured shared secret, even when challenges are issued by an external backend. Backend-side verification features are therefore not used.
OpenPorte does not support the former ALTCHA SaaS API Mode. Users who rely on ALTCHA Sentinel’s advanced features should consider the official ALTCHA Spam Protection v2/v3 WordPress plugin instead.
Downgrading OpenPorte
Downgrading to an earlier version of OpenPorte is not officially supported .
Major or minor version downgrade (e.g. 1.30.1 → 1.29.0): You must remove the existing plugin settings before installing the older version. To do so, disable Keep settings when the plugin is deleted under Settings → OpenPorte → Data, save your changes, then deactivate and delete the plugin through WordPress’s Plugins screen and install the older version.
Patch version downgrade (e.g. 1.30.1 → 1.30.0): This may work without removing your settings, but compatibility is not guaranteed.
Important: Deactivating OpenPorte does not remove its settings. Deleting it through WordPress’s Plugins screen removes them only if Keep settings when the plugin is deleted is disabled. This option is available since version 1.30.0.
Clearing OpenPorte settings leaves the original ALTCHA settings intact. Activating a version with the legacy migration routine can import supported ALTCHA v1 settings again, so this does not necessarily produce a default configuration.
Multisite: The current uninstall handler cleans only the current site’s options table; it does not reset settings across the network. Before a major or minor downgrade, have your network administrator ensure that OpenPorte settings are removed on each affected site.
Before downgrading, back up your site and database. After installing the older version, clear your WordPress, hosting, and CDN caches to prevent cached pages from referencing features unavailable in that release. You may also need to reconfigure OpenPorte.
Need help?
If you’re considering a downgrade or encounter difficulties, you’re welcome to ask for advice in the OpenPorte support forum on WordPress.org .
Support is provided on a voluntary, best-effort basis by the maintainer and community. Questions and contributions from other users are welcome and appreciated. Please understand that responses and resolution times cannot be guaranteed , as availability may vary.
Deprecations
The following compatibility aliases and integrations are deprecated and scheduled for removal in a future release:
The [altcha] shortcode — use [openporte] .
The altcha/v1 REST namespace — use openporte/v1 .
The altcha_* filters and actions — now firing through WordPress’ deprecated hook mechanism; use the openporte_* equivalents.
The AltchaPlugin class and the ALTCHA_VERSION / ALTCHA_WIDGET_VERSION constants — use OpenPortePlugin and the OPENPORTE_* constants.
Integrations targeting paid-only third-party plugins; affected users should migrate to the official ALTCHA v2/v3 plugin.
The “Custom HTML” integration (auto-configuration of hand-written tags) — place the [openporte] shortcode instead. You can re-enable it for now under Settings → OpenPorte → Integrations.
Privacy
No cookies, no tracking
OpenPorte prioritizes user privacy by avoiding the use of cookies and fingerprinting techniques.
No mandatory external service
In its default self-hosted mode, OpenPorte generates and verifies Proof-of-Work challenges entirely within your WordPress installation, without requiring an external service or account.
Alternatively, Custom API Mode allows challenges to be obtained from an ALTCHA-compatible backend, including a service hosted separately from your WordPress site. Verification still takes place locally.
Modes of Operation
OpenPorte verifies submissions in one of two modes, selected in the settings (API Mode):
Self-hosted (default) — a proof-of-work challenge is issued and verified by your own WordPress site, served through the REST API (default) or admin-ajax.php (see Self-hosted transport ). Fully self-contained, with no external service and no additional setup beyond enabling the integrations you need.
Custom — point the Challenge URL at your own ALTCHA-compatible backend (for example GateCHA ). Submissions are verified with your site’s shared secret.
The paid altcha.org regional SaaS classifier offered by earlier versions has been removed. Neither mode requires a paid service; a Custom backend may have its own costs and terms.
Self-hosted transport
In Self-hosted mode the widget fetches each challenge from your own site. The Self-hosted transport setting (Settings → OpenPorte, below API Mode) chooses which endpoint serves it:
REST API (default): /wp-json/openporte/v1/challenge , or /?rest_route=/openporte/v1/challenge with plain permalinks.
Both serve the same challenge, are verified the same way, and stay available whichever one is selected. The deprecated /wp-json/altcha/v1/challenge alias is still served too. In Custom API mode all of them refuse with HTTP 403 instead: your backend issues the challenges there.
Keep REST API unless a security plugin blocks the REST API for logged-out visitors; then either allow /openporte/v1/challenge in that plugin, or switch to Ajax. If admin-ajax.php is blocked for visitors instead, stay on REST API. The same applies when a page cache or CDN stores the REST API’s responses (opening the challenge URL twice, logged out, shows the same challenge): exclude /openporte/v1/challenge from it, or switch to Ajax. Since 1.30.1 the challenge endpoints already opt out of LiteSpeed Cache and of caching plugins that honour DONOTCACHEPAGE. OpenPorte does not test this automatically: a check from the server cannot see firewall, CDN or browser-side rules. See the FAQ for how to check by hand.
On multisite, each site has its own transport setting; a site where it was never saved uses the REST API.
Supported Integrations
CoBlocks
Contact Form 7
Elementor Pro Forms (deprecated — paid plugin, see Deprecations)
Formidable Forms
Forminator
GravityForms
HTML Forms
wpDiscuz
WPForms
WordPress Login, Register,
See it in action
Screenshots & previews.
Friction-less Captcha without puzzlesConfigurationProtection on the login pageProtection with WooCommerceFloating UI Captcha
02 / Source details
Gettingstarted.
Download, install and activate OpenPorte Spam Protection .
Alternatively, install the plugin manually:
01Download the .zip from the Releases .
02Upload openporte folder to the /wp-content/plugins/ directory
03Activate the plugin through the ‘Plugins’ menu in WordPress
04Review the settings and enable your integrations
03 / Source details
Frequently asked questions.
Is placing the `[openporte]` shortcode enough to protect a form?
Not on its own. The shortcode displays the widget; the verification that rejects unsolved submissions is performed by the integration for that form plugin. For a supported plugin, enable its toggle under Settings → OpenPorte → Integrations as well. Two integrations go further: with Contact Form 7 and HTML Forms, a widget you placed in the form yourself (the shortcode or a hand-written tag) is verified even while the toggle is off.
In a form plugin OpenPorte has no integration for, the shortcode still shows the widget and visitors still have to tick it, but nothing checks the result on the server — a bot posting directly to the form’s endpoint is not stopped. See Supported Integrations for the list.
Shortcodes in my Contact Form 7 or HTML Forms form stopped working. Why?
Since 1.30.3, OpenPorte renders only its own [openporte] and [altcha] tags inside Contact Form 7 and HTML Forms forms. Until then it ran every shortcode in the displayed form, including text that visitors typed into its fields or put in the page’s URL, so any visitor could run any shortcode on your site (security advisory GHSA-hvr5-q69x-jp62). Other plugins’ shortcodes in these forms only ever worked because of that; neither form plugin renders them itself.
The fix is to take those shortcodes out of the form: put the content they produce directly in the form, or next to it on the page.
There is deliberately no setting or code snippet to bring the old behaviour back: it would let any visitor run any shortcode again. If a form depended on another plugin’s shortcode and you can’t see how to replace it, ask in the OpenPorte support forum on WordPress.org and we’ll help you find a safe way.
Does login protection also cover XML-RPC and the REST API?
No. The WordPress and WooCommerce login protection covers the login forms: wp-login.php, WooCommerce’s My Account login and any form that signs in through WordPress’s own login function. Logins through XML-RPC ( xmlrpc.php ) and REST API authentication with application passwords are deliberately left alone, because the apps and services that use them cannot solve a challenge. An attacker can try passwords there without meeting the widget.
If your site does not need them:
01Disable XML-RPC authentication, with a security plugin or with add_filter( ‘xmlrpc_enabled’, ‘__return_false’ );.
02Disable application passwords, with add_filter( ‘wp_is_application_passwords_available’, ‘__return_false’ );.
OpenPorte does not limit login attempts or add two-factor authentication. Use a dedicated plugin for those; it also protects XML-RPC and the REST API where you keep them.
The widget cannot load a challenge for visitors. What should I check?
Usually a security or optimization plugin blocks the REST API for logged-out visitors; the browser console then shows an error such as Server responded with 401 or Unexpected token '<' . Check by hand:
01Open a private browser window, so you are logged out.
02Open /wp-json/openporte/v1/challenge on your site (with plain permalinks: /?rest_route=/openporte/v1/challenge). A working endpoint shows a short JSON text with algorithm , challenge , maxnumber , salt and signature. An error, a login page, a redirect or an HTML page means it is blocked for visitors.
03If it is blocked, open /wp-admin/admin-ajax.php?action=openporte_challenge the same way. If that one works, set Self-hosted transport to Ajax under Settings → OpenPorte and save. You can also allow /openporte/v1/challenge in the blocking plugin and keep REST API.
04Still logged out, open a page with a protected form, solve the widget and submit it. If your forms are also used by logged-in visitors, test once more as a subscriber or customer.
Ajax is not a universal fix either. Plugins that keep visitors out of wp-admin (“hide” or “lock down” wp-admin, membership plugins) can also block admin-ajax.php, sometimes only for logged-in subscribers and customers. If Ajax fails too, stay on REST API and allow /openporte/v1/challenge in the plugin that blocks it.
After switching, purge any page or CDN cache: cached pages still contain the old challenge URL. Switching does not help a form plugin that submits through the REST API itself (Contact Form 7, for example): it still needs the REST API for its own submissions.
Logins or forms fail on a site using LiteSpeed Cache. What can I do?
LiteSpeed Cache caches REST API responses by default and ignores the “do not cache” headers OpenPorte sends, so with OpenPorte 1.30.0 or older every visitor gets the same challenge: logins and protected forms fail after five uses (the Replay limit) and for everyone once that challenge expires.
Since 1.30.1, OpenPorte tells LiteSpeed Cache not to cache its challenges. Update, then run LiteSpeed Cache → Purge All once: a challenge cached before the update stays cached until it is purged. If you cannot update yet, use either workaround, then purge:
01Set Self-hosted transport to Ajax under Settings → OpenPorte, or
02in LiteSpeed Cache → Cache → Excludes → Do Not Cache URIs, add /wp-json/openporte/.
If you are already locked out, purge the cache from your hosting panel or with WP-CLI ( wp litespeed-purge all ) and log in.
Will deleting the plugin remove my settings?
By default, yes: deleting OpenPorte from the Plugins page permanently removes all of its settings, including the shared secret. Deactivating it removes nothing. To keep your configuration for a later reinstall, switch on Keep settings when the plugin is deleted under Settings → OpenPorte → Data and save before deleting the plugin. Temporary data such as replay counters is removed either way, and the settings of the original ALTCHA Spam Protection plugin are never touched. On multisite, this cleanup covers only the current site’s options table, not every site in the network. See Downgrading OpenPorte for the reset limitations, including re-import of legacy ALTCHA settings.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati