
內容簡介
Baskerville AI Security 是一款全面的 WordPress 安全外掛,透過多種檢測方法保護網站免受惡意機器人、AI 爬蟲及不必要流量的侵擾,確保網站安全。
【主要功能】
• AI 機器人檢測:為每位訪客分配風險分數
• AI 偽裝檢測:識別偽裝成合法爬蟲的機器人
• GeoIP 訪問控制:依國家阻擋或允許流量
• CAPTCHA 挑戰:內建 Altcha 或選擇 Cloudflare Turnstile
• 高風險頁面保護:自動加固登錄、註冊及評論頁面
• 實時流量反饋:即時顯示請求、分數及分類
外掛標籤
開發者團隊
原文外掛簡介
Baskerville is a comprehensive WordPress security plugin that protects your site from malicious bots, AI crawlers, and unwanted traffic using multiple detection methods.
Key Features:
AI Bot Detection – Browser fingerprint scoring (Canvas, WebGL, Audio) assigns every visitor a risk score 0–100
AI Spoofer Detection – Catches bots faking legitimate AI crawler identities (GPTBot, ClaudeBot, etc.) by verifying IP ranges against published ASN data
GeoIP Access Control – Block or allow traffic by country, built-in GeoIP with no external API required
CAPTCHA Challenge – Altcha (built-in, no account needed) or Cloudflare Turnstile (optional)
Per-Provider AI Bot Rules – Allow, challenge, or block by AI company (OpenAI, Meta, Google, and others)
Honeypot Detection – Hidden links to catch automated crawlers
Live Traffic Feed – Every request, score, classification, and decision in real time
High-Risk Page Protection – Login, registration, and comment pages hardened automatically
Under Attack Mode – Emergency mode to challenge all visitors
IP Whitelist – Trusted IPs always bypass all enforcement
Near-Zero Latency – Firewall runs from local cache (~1ms with page cache active), no outbound calls on request path
AI Cloud Analysis (optional, paid) – Nightly watchdog report and natural language query interface powered by LLM
Bot Score System:
0-39: Likely human (allowed)
40-70: Borderline (optional Turnstile challenge)
71-100: Likely bot (blocked)
Performance:
Minimal overhead (~1ms with page cache, ~30-50ms without)
APCu + file-based caching for GeoIP lookups
Compatible with all major caching plugins
External Services
This plugin connects to the following third-party services:
Cloudflare Turnstile
When Turnstile is enabled, the plugin loads JavaScript from Cloudflare’s servers to display CAPTCHA challenges:
Service URL: https://challenges.cloudflare.com/turnstile/v0/api.js
Verification API: https://challenges.cloudflare.com/turnstile/v0/siteverify
Data sent: Turnstile token, visitor IP address
Purpose: Human verification to prevent bot access
Privacy Policy: https://www.cloudflare.com/privacypolicy/
Terms of Service: https://www.cloudflare.com/website-terms/
Turnstile is only loaded when you enable it in plugin settings and provide your Cloudflare API keys.
MaxMind GeoIP Database
When you use the one-click GeoIP database installer, the plugin downloads the GeoLite2-Country database from MaxMind:
Database download URL: https://download.maxmind.com/
Data sent: Your MaxMind license key (required for database download)
Purpose: Determine visitor country for geo-blocking features
Privacy Policy: https://www.maxmind.com/en/privacy-policy
Terms of Service: https://www.maxmind.com/en/geolite2/eula
The installer also downloads the MaxMind PHP libraries from GitHub:
GeoIP2 PHP API: https://github.com/maxmind/GeoIP2-php/archive/refs/tags/v2.13.0.zip
MaxMind DB Reader: https://github.com/maxmind/MaxMind-DB-Reader-php/archive/refs/tags/v1.11.1.zip
These are open-source libraries used to read the local GeoIP database. No visitor data is sent to GitHub.
GitHub Terms of Service: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
GitHub Privacy Statement: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement
The database is stored locally on your server. No visitor data is sent to MaxMind during lookups.
Privacy
Data Collected
This plugin collects and stores the following visitor data locally in your WordPress database:
IP addresses
Browser fingerprints (Canvas, WebGL, Audio hashes)
User agent strings
Country codes (derived from IP)
Bot scores and classifications
Timestamps of visits
Data Retention
Statistics are automatically deleted after the retention period you configure (default: 14 days). You can adjust this in Settings > Baskerville > Settings.
GDPR Compliance
All data is stored locally on your server
No visitor data is shared with third parties (except Cloudflare when Turnstile verification occurs)
Data retention is configurable
Consider adding disclosure to your site’s privacy policy
