=== Boorsuc Security Doctor ===
Contributors: soundrob, boorsuc
Donate link: https://boorsuc.com/
Tags: security, hardening, headers, ssl, wordpress security
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 0.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Passive security scanner for your WordPress site: A+–F grade, prioritized issues, paste-ready fixes, and optional AI diagnosis.

== Description ==

Boorsuc Security Doctor runs **passive** checks on your own site — no exploitation, no visitor tracking. It produces a grade (A+–F), a 0–100 score, and a prioritized issue list with practical fix hints.

**What is checked**

* Redirects and HTTPS downgrades
* Security headers and CSP
* Cookie flags (Secure / HttpOnly / SameSite) — values are never stored
* Mixed content, third-party scripts, sensitive path HEAD checks
* WordPress hardening signals
* TLS certificate and protocol checks
* Public DNS / email signals (SPF, DMARC, CAA)
* Heuristic privacy / compliance signals (not legal advice)

**What you get (free)**

* Full scan, grade, and all modules
* Optional AI diagnosis via the Boorsuc AI proxy or your own OpenRouter key
* Latest scan snapshot

**Boorsuc Security Doctor Pro** is a **separate paid add-on** sold on [boorsuc.com](https://boorsuc.com/) (not a locked license inside this free plugin). It unlocks scheduled monitoring with email alerts, full scan history, and CSV export. Install the Pro plugin from boorsuc.com/downloads/, then activate your Stripe license key under Settings.

This is **not** a penetration test, certification, or legal/compliance audit. Grades are heuristics and can change between scans. See [Disclaimer & limitations](https://boorsuc.com/disclaimer-limitations/).

== External services ==

This plugin can connect to third-party services when you use optional features. No AI data is sent until you enable AI (or, for the optional Pro add-on, activate a license).

**Self-scan (your own site)**

* When: You run Analyze security (or Pro scheduled monitoring).
* Data: The scanner fetches your configured site URL, performs safe HEAD requests to your host, a normal TLS handshake, and public DNS lookups. It does not exploit vulnerabilities or track visitors.

**OpenRouter** (optional BYOK AI)

* When: You enable AI and provide your own OpenRouter API key (or set one in wp-config).
* Data sent: Issue codes and short evidence snippets for diagnosis. Cookie values, passwords, payment data, and full page bodies are not sent by design.
* Terms: https://openrouter.ai/terms
* Privacy: https://openrouter.ai/privacy

**Boorsuc AI proxy** (optional included AI)

* When: AI is enabled and you are not using your own OpenRouter key. Requests go to `boorsuc-ai-proxy.boorsuc.com`.
* Data sent: Same as above — issue codes and short evidence for free-model suggestions.
* Disclaimer / limitations: https://boorsuc.com/disclaimer-limitations/
* Site: https://boorsuc.com/

**License server** (optional Pro add-on only)

* Used only by the separate **Boorsuc Security Doctor Pro** add-on when you activate or revalidate a license.
* Data sent: license key and site URL to `license-server.boorsuc.com`.
* The free plugin on WordPress.org does not contact the license server.

== Installation ==

1. Upload the `boorsuc-security-doctor` folder to `/wp-content/plugins/`, or install via **Plugins → Add New → Upload Plugin**.
2. Activate **Boorsuc Security Doctor**.
3. Open **Boorsuc Security** and click **Analyze security**.
4. Optional: for Pro features, buy on boorsuc.com, install **Boorsuc Security Doctor Pro**, then activate your license under **Settings**.

== Frequently Asked Questions ==

= Does this hack or exploit my site? =

No. Checks are passive: page fetch, safe HEAD requests, TLS handshake, and public DNS. No vulnerability exploitation.

= Are GDPR / PCI findings legal advice? =

No. They are heuristic signals only — not an audit and not legal advice. Consult qualified professionals for compliance.

= Will my grade always stay the same? =

No. Content, headers, certificates, DNS, and plugins change. Re-scan after meaningful updates.

= How do I get Pro? =

Buy the subscription on boorsuc.com (Stripe). Download and install the **Boorsuc Security Doctor Pro** add-on, then activate the license key emailed after checkout.

= Where is the disclaimer? =

https://boorsuc.com/disclaimer-limitations/

== Screenshots ==

1. Security grade dashboard
2. Issue list with severity and fix hints
3. Settings and Pro license panel

== Changelog ==

= 0.2.1 =
* Guideline 5 (Yoast-style): free plugin no longer gates Pro UI behind a license; Pro add-on owns full history, CSV, schedules, and alerts
* Free Scan history shows latest snapshot plus Pro teasers; custom OpenRouter / BYOK available in free
* Contributors: soundrob (primary); External services section with OpenRouter and Boorsuc AI proxy terms/privacy links

= 0.2.0 =
* Pro license moved to separate Boorsuc Security Doctor Pro add-on (filter boorsuc_sec_is_pro)
* Free plugin no longer contains license activation UI — install and activate the Pro add-on for Pro features
* Bump version to 0.2.0

= 0.1.0 =
* Initial public packaging release
* Passive security modules, scoring, AI diagnosis, Pro license, and disclaimer links

== Upgrade Notice ==

= 0.2.1 =
Pro add-on now owns full history, CSV export, and scheduled monitoring. Free keeps latest snapshot, BYOK AI, and Pro teasers.

= 0.2.0 =
License activation is now in the separate Boorsuc Security Doctor Pro add-on. Install the Pro zip from boorsuc.com and activate your license key there.
