Linux 软件免费装
Banner图

TrueSift

开发者 webdigitech
更新时间 2026年9月12日 20:07
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

captcha woocommerce anti-spam bot protection human verification

下载

1.0.18

详情介绍:

TrueSift connects WordPress forms to the TrueSift verification service. It starts an automated browser challenge when a protected form is displayed, keeps the form submit action unavailable until an authoritative verification token is issued, and validates and atomically consumes that single-use token on the WordPress server before the protected action continues. The plugin does not implement a separate CAPTCHA protocol. Its browser runtime tracks the public @truesift/next 0.3.0 client contract, and its PHP bridge uses the official TrueSift challenge, verify, and business-proof API contracts. Included integrations The WooCommerce checkout integration supports both the classic shortcode checkout and the Checkout Block. Checkout Block proofs are carried through Store API extension data and validated before checkout processing. Security model The browser sends only an opaque verificationToken as security proof. Client-provided values such as allowed, decision, score, status, failOpen, challengeId, action, path, and origin are never trusted by the protected PHP action. The plugin sends the token together with a signed WordPress form context to the server. The PHP verifier calls TrueSift's proof endpoint with server-owned credentials and expected action, path, and origin. A normal success is accepted only when TrueSift confirms allowed: true, decision: allow, and atomic consumption through either consumed: true or a non-empty consumedAt timestamp. Replayed, expired, invalid, mismatched, reviewed, or blocked proofs are rejected. The bundled SDK 0.3.0 adapter may send only aggregate in-memory interaction counters for the current verification window, such as pointer, keyboard, focus, and blur counts. It does not send pointer coordinates, pressed keys, form contents, device fingerprints, or persistent visitor identifiers. Missing or insufficient behavioral telemetry remains neutral. Visual modes The admin page shows live, non-networked previews of all official layouts: Theme, language, size, and appearance can be configured globally. Manual integration Place the shortcode inside a form: [truesift] When used outside a form, the same shortcode renders a standalone visual verification status. Standalone mode does not protect a business action until it is associated with a form and server-side verification. For a form located elsewhere in the DOM: [truesift form_selector="#contact-form" button_selector="button[type=submit]"] A custom PHP handler must also validate the proof before performing its protected action: $proof = truesift_verify_request(); Continue only when the returned value is not a WP_Error and its allowed value is true.

安装:

  1. Upload the truesift folder to /wp-content/plugins/, or install the ZIP through Plugins > Add New > Upload Plugin.
  2. Activate TrueSift.
  3. Open Settings > TrueSift.
  4. Enter the site key and secret key issued for the site in TrueSift.
  5. Save the connection settings, then run the connection test.
  6. Choose the visual mode and enable the desired integrations.
Credentials may also be defined in wp-config.php: define( 'TRUESIFT_SITE_KEY', 'bg_site_...' ); define( 'TRUESIFT_SECRET_KEY', '...' ); Optional server constants: TRUESIFT_API_BASE_URL, TRUESIFT_DEFAULT_ACTION, TRUESIFT_FAIL_OPEN, and TRUESIFT_TIMEOUT_MS.

屏幕截图:

  • Choose between Checkbox, Banner, Inline, and Badge layouts and configure theme, language, size, and appearance.
  • Enable TrueSift protection for WordPress login, registration, password reset, comments, and WooCommerce forms.
  • Protect WooCommerce customer actions, classic and block checkout, product reviews, and supported form plugins.
  • Built-in diagnostics for the TrueSift plugin, SDK, security contract, and WordPress runtime environment.
  • Privacy-conscious debugging, settings import and export, and administrator maintenance tools.

常见问题:

Does the plugin trust the browser result?

No. The browser result controls only the user interface. The protected WordPress action validates and consumes the opaque verification token server-to-server.

Is disabling the submit button the complete protection?

No. The button lock improves the form flow and prevents ordinary unverified submissions. The PHP proof verifier is the security boundary.

Are tokens stored in WordPress?

No. Verification tokens are kept only for the current browser form request and are consumed by TrueSift during server-side proof validation.

What happens if a token is reused?

TrueSift rejects the replay and the protected action does not continue.

Does the plugin collect local analytics?

No. Version 1.0.18 does not create a local analytics database or visitor profile. Debug mode stores only administrator troubleshooting events and is disabled by default.

Can I use the shortcode with any form?

The shortcode can mount and control TrueSift on a custom HTML form. The form's PHP handler must still call truesift_verify_request() before performing the protected operation.

更新日志:

1.0.18