=== Sakthi Guard ===
Contributors: techagrisakthi
Tags: dokan, woocommerce, registration, spam, marketplace
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.2.3
License: GPLv2 or later

Sakthi Guard protects marketplace registrations from automated spam with layered validation and risk scoring.

== Description ==

Developed by Agrisakthi Marketplace Private Limited.

Website: https://agrisakthi.com

Support email: tech@agrisakthi.com

Sakthi Guard is an independent third-party integration. It is not affiliated with, endorsed by, or officially connected to the owners of Dokan, WooCommerce, or WordPress.

This companion plugin adds a guarded validation layer before WooCommerce and Dokan create customer or seller accounts. It does not modify Dokan core files.

Initial protections include:

* Honeypot field
* Minimum form completion time
* Browser JavaScript token
* IP-based rate limits
* Disposable or blocked email domains
* Suspicious username scoring
* Dokan seller-specific store, shop URL, keyword, and phone checks
* Monitor mode
* Lightweight admin logs
* Existing spam user scan
* Safe quarantine and delete actions for high-confidence spam accounts

== Installation ==

1. Upload the `sakthi-registration-guard` folder to `wp-content/plugins/`.
2. Activate Sakthi Guard.
3. Open WooCommerce > Sakthi Guard.
4. Start with Monitor mode, review logs, then disable Monitor mode to block high-risk registrations.

== Changelog ==

= 0.2.3 =
* Added trace IDs to blocked registration messages and admin decision logs.
* Added email, IP hash, user agent, and request URI trace data to registration logs.
* Added email and domain allowlist controls for resolving false-positive registration blocks.

= 0.2.2 =
* Made stale guard nonce, cached form token, fast submit, and missing browser token checks soft risk signals instead of hard registration blocks.
* Improved frontend browser-token script compatibility for older mobile webviews.

= 0.2.1 =
* Limited guard scoring to real registration submissions so login and existing-account flows are left untouched.
* Added one-click safe bulk deletion for existing spam users with score 170 or higher.

= 0.2.0 =
* Added existing user spam scan with quarantine/delete actions.
* Added mixed-case generated identity detection for names such as FqHyxOXgaCuVx.
* Added high-confidence detection for random two-part display names in existing user lists.

= 0.1.0 =
* Initial standalone companion plugin.
* Added generated-looking seller name, store name, and shop URL detection.
