| 开发者 | gatecha |
|---|---|
| 更新时间 | 2026年10月25日 05:32 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[gatecha] shortcodegatecha-captcha folder to /wp-content/plugins/gk_)GateCHA is a self-hosted CAPTCHA management service that wraps the ALTCHA proof-of-work protocol. It provides API key management, multi-site support, and an analytics dashboard. See the GateCHA website for more information.
Instead of asking users to solve image puzzles, the browser solves a small computational challenge in the background. This is invisible to legitimate users but expensive for bots trying to submit forms at scale.
The API key is used in the browser to fetch challenges, similar to how reCAPTCHA and hCaptcha use site keys. You can restrict your API key to specific domains in your GateCHA dashboard for additional security.
Only to the GateCHA server you configure: your own instance, or GateCHA Cloud if you choose it. Nothing is sent to Google, Cloudflare or any other third party. See the External Services section below.
An optional paid service for businesses (companies, freelancers, agencies) that runs the GateCHA server for you, hosted in France, with a free 30-day trial and no card needed. The plugin offers it on Settings → GateCHA only while no server is configured, next to the free self-hosted option, and contacts it only when you click Use GateCHA Cloud. Nothing in the plugin is locked behind it: a self-hosted GateCHA gives you every feature.
Proof-of-work proves a browser did the work. It does not prove a human filled the form in, and a headless browser solving the challenge passes it exactly like a visitor does. Interaction signals describe how the form was filled: how long the page was open, whether the pointer moved and how far, how many scrolls, touches and keystrokes there were, and how irregular the typing rhythm was. Your GateCHA instance turns those eight numbers into a score between 0 and 1, where higher means more likely automated. Only aggregates leave the browser. Never what was typed, never where the pointer was, never an IP address. Turn it on under Settings → GateCHA → Interaction Signals.
Not by itself. Collection only records scores, which you can watch on your GateCHA dashboard under HIS Monitor. Rejecting flagged submissions is a second, separate setting.
Turn that second one on only once you have watched your own traffic, because a false positive is invisible: the visitor cannot submit and will not tell you. To see the scores in your own logs first, hook the gatecha_his_result action:
add_action( 'gatecha_his_result', function ( $score, $suspected ) { error_log( "GateCHA HIS $score" ); }, 10, 2 );
It depends on Settings → GateCHA → Failure Mode.
Yes, with GateCHA 0.12.0 or later. On your GateCHA dashboard, open the key this site uses and click Generate next to Stats token, then paste the token (it starts with gs_) in Settings → GateCHA → Stats Token. A GateCHA CAPTCHA widget then appears on the WordPress dashboard with today's verified and failed submissions, the last 30 days and the top countries, and the full view sits at the top of the settings page.
The token is read-only and only opens this key's statistics. It never leaves your WordPress server: the numbers are fetched server-side and kept for 10 minutes. Leave the field empty and no statistics request is made.
Yes, use the [gatecha] shortcode to place the widget anywhere. Then verify the altcha POST field server-side.
Define a bypass token in your wp-config.php:
define( 'GATECHA_BYPASS_TOKEN', 'your-secret-test-token' );
Then in your tests, set the altcha hidden input to this token before submitting the form:
document.querySelector('input[name="altcha"]').value = 'your-secret-test-token';
The plugin will accept the token as a valid verification without contacting the GateCHA server. Never define this constant in production.
gatecha_his_result action, fired with the score and the flag on every verification that carried signals, for logging your own traffic before deciding to block on it.[gatecha] shortcode for custom form placement.