
ScrapeLock – Content & AI Bot Protection
v3.12.13CodeBunny · 2026年11月1日 上架
Block AI scrapers like GPTBot, catch fake Googlebot, rate-limit content scraping per IP and guard WooCommerce. Runs on your server, no account.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 924
- 最近更新
- 2026年11月24日
贡献者
截图








Most content protection plugins only disable right click. Scrapers and AI crawlers never click: they download the HTML, read the REST API and the feeds, or drive a headless browser. ScrapeLock stops them on your server, where the copying happens, and leaves real visitors, shoppers and search engines alone.
- Runs on your own server. No account, no API key, and no visitor data sent anywhere by default.
- Starts in Monitor only. For its first 7 days it only logs what it would block, so you can tune it first.
Key features
- AI crawlers and fake bots: blocks AI training crawlers (GPTBot, ClaudeBot, CCBot, Bytespider…) and fake Googlebot or Bingbot, checked against the official IP lists and DNS. AI search assistants can stay allowed.
- Limits and blocks: per-IP limits for pages, search, REST / GraphQL, 404s and WooCommerce cart and coupon attempts, temporary blocks (also at Cloudflare or Bunny CDN), Emergency Mode and a human check without a captcha.
- Your text stays yours: post text hidden from the REST API, WPGraphQL and full-text RSS, private XML feeds with a token, a TDM opt-out, watermarks, and traceable copies and screenshots for members.
- Attacks and Vulnerable points: see where bots attack (failed sign-ins, XML-RPC, scanner probes) and lock those points with one click.
- Page cache and servers: a pre-cache check, and ready-made Nginx, Apache and Cloudflare rules.
- Stealth (optional): hides that the site runs on WordPress from BuiltWith, Wappalyzer and scanners.
- Lockdown: freezes plugins, themes, users and settings until you unlock it with your authenticator app.
- Traffic: every request from your CDN, your access log or WordPress, with User-Agents, failing pages and email alerts, kept in your own database.
- Check a request, Site Health and WP-CLI: see why a request would be allowed or blocked, without side effects.
What it cannot do
Whatever a visitor sees has already reached their device, so nothing stops a person copying by hand or taking screenshots. ScrapeLock closes the automated routes and leaves traces: watermarks, a source link on copied text and a TDM declaration.
The full feature list and more answers are in the user guide.
External services
ScrapeLock downloads public lists of IP addresses, only for the features that use them. Each download is a plain GET request for a public file, made from your server by WordPress (User-Agent “ScrapeLock/version”). No data about your site, your content or your visitors is sent, and the request does not include your site address; as with any download, the provider sees your server’s IP address. The lists are stored in your database (or, for the country database, in uploads/scrapelock-geo) and checked on your server. They are data, not code or assets: no script, style, font or image is ever loaded from these addresses.
- Google crawler IP ranges, to tell real Googlebot from fakes. Downloaded once a day while protection is enabled, from https://developers.google.com/static/search/apis/ipranges/googlebot.json, https://developers.google.com/static/search/apis/ipranges/special-crawlers.json and https://developers.google.com/static/search/apis/ipranges/user-triggered-fetchers-google.json. Provided by Google LLC: Terms of service, Privacy policy.
- Bing crawler IP ranges, to tell real Bingbot from fakes. Downloaded once a day while protection is enabled, from https://www.bing.com/toolbox/bingbot.json. Provided by Microsoft Corporation: Terms of service, Privacy policy.
- Apple crawler IP ranges (3.10), to tell real Applebot from fakes without a DNS lookup. Downloaded once a day while protection is enabled, from https://search.developer.apple.com/applebot.json. Provided by Apple Inc.: Terms of use, Privacy policy.
- DuckDuckGo crawler IP addresses (3.10), to recognize the real DuckDuckBot. Downloaded once a day while protection is enabled, from https://duckduckgo.com/duckduckbot.json. Provided by Duck Duck Go, Inc.: Terms of service, Privacy policy.
- Cloudflare IP ranges, to read the real visitor IP only from Cloudflare. Downloaded once a day only when “Real visitor IP” reads the CF-Connecting-IP or X-Forwarded-For header and “Trust Cloudflare addresses” is on, from https://api.cloudflare.com/client/v4/ips. Provided by Cloudflare, Inc.: Terms of service, Privacy policy.
- Bunny CDN edge server addresses, to read the real visitor IP and country only from Bunny CDN. Downloaded once a day only when “Trust Bunny CDN addresses” is on and “Real visitor IP” reads the X-Real-IP or X-Forwarded-For header, or country rules are set, from https://bunnycdn.com/api/system/edgeserverlist and https://bunnycdn.com/api/system/edgeserverlist/IPv6. Provided by BunnyWay d.o.o. (bunny.net): Terms of service, Privacy policy.
- OpenAI bot IP ranges (OAI-SearchBot, ChatGPT-User), to tell the real bots from fakes. Downloaded once a day only when “Allow AI search engines and assistants” and “Verify AI search bots” are on, from https://openai.com/searchbot.json and https://openai.com/chatgpt-user.json. Provided by OpenAI: Terms of use, Privacy policy.
- Perplexity bot IP ranges (PerplexityBot, Perplexity-User), to tell the real bots from fakes. Downloaded once a day only when “Allow AI search engines and assistants” and “Verify AI search bots” are on, from https://www.perplexity.com/perplexitybot.json and https://www.perplexity.com/perplexity-user.json. Provided by Perplexity AI, Inc.: Terms of service, Privacy policy.
- Anthropic bot IP ranges (Claude-SearchBot, Claude-User), to tell the real bots from fakes. Downloaded once a day only when “Allow AI search engines and assistants” and “Verify AI search bots” are on, from https://claude.com/crawling/bots.json (3.10: plus Anthropic’s published outbound range 160.79.104.0/21, built in, nothing downloaded). Provided by Anthropic PBC: Terms of service, Privacy policy.
- DB-IP Lite country database, to apply the country rules. Downloaded once a month only when “Download the free country database” is on, from https://download.db-ip.com/free/dbip-country-lite-YYYY-MM.csv.gz (the current or the previous month). Lookups happen on your server. Licensed under CC BY 4.0 (“IP Geolocation by DB-IP”). Provided by db-ip.com: Terms of service, Privacy policy, License.
The five data center lists below are used only for the “Data center limit” (Bots and limits), a stricter page limit for visitors that come from cloud servers rather than from home or mobile connections. Each one is downloaded once a day only while protection is enabled and “Data center limit” is above 0 (set it to 0 to turn the lists off). They are JSON or CSV data files fetched by your server with wp_remote_get(); nothing from these hosts is ever loaded in your visitors’ browsers.
- Amazon Web Services IP ranges (only the EC2 servers are used), from https://ip-ranges.amazonaws.com/ip-ranges.json. Provided by Amazon Web Services, Inc.: Terms, Privacy policy.
- Google Cloud IP ranges, from https://www.gstatic.com/ipranges/cloud.json, the address where Google publishes the list. Provided by Google LLC: Terms of service, Privacy policy.
- Oracle Cloud IP ranges, from https://docs.oracle.com/en-us/iaas/tools/public_ip_ranges.json. Provided by Oracle Corporation: Terms of use, Privacy policy.
- DigitalOcean IP ranges, from https://digitalocean.com/geo/google.csv. Provided by DigitalOcean, LLC: Terms of service, Privacy policy.
- Akamai Cloud (Linode) IP ranges, from https://geoip.linode.com/. Provided by Akamai Technologies, Inc.: Terms of service, Privacy policy.
Lockdown’s file check also compares WordPress and the plugins hosted on WordPress.org with their official checksums. This happens when you lock the site or press “Check now” on the Lockdown tab, and then at most once a day while the site stays locked, through the same WordPress.org services WordPress itself uses for updates. The requests contain the WordPress version and language (https://api.wordpress.org/core/checksums/1.0/) and, for each installed plugin, its slug and version (https://downloads.wordpress.org/plugin-checksums/SLUG/VERSION.json); no other data about your site, your content or your visitors is sent. Provided by WordPress.org: Privacy policy.
CrowdSec blocklist (3.7, off by default). Only when you turn it on, ScrapeLock downloads a list of IP addresses from the address you enter, with the key you enter, and checks visitors against it on your server. No data about your site’s visitors is sent; the request carries only your key (in the X-Api-Key header, or as HTTP Basic authentication) and the User-Agent “ScrapeLock/version”.
- Your own CrowdSec agent (LAPI), usually on the same server (for example http://127.0.0.1:8080): every 15 minutes, GET /v1/decisions/stream. The agent itself is CrowdSec software you install and run; whether it exchanges data with CrowdSec’s central service is set in the agent. CrowdSec is provided by CrowdSec SAS: Terms of use, Privacy policy.
- A blocklist address you choose, for example a CrowdSec Console blocklist integration (https://admin.api.crowdsec.net/…) or another provider’s plain-text list: downloaded once an hour. The provider is the one you choose; their terms and privacy policy apply.
Optional blocking at the CDN (off by default) uses the API of the CDN you choose, with your token. It sends only the IPs ScrapeLock blocks temporarily (IPv4, IPv6 or an IPv6 /64), each with the reason and end time, and removes them when the block ends. Saving the setting, or “Test connection”, checks the token and the zone; with Cloudflare it also adds a test block for a documentation address (203.0.113.x) and removes it again.
- Cloudflare API (IP Access rules of your zone), only when the CDN is set to Cloudflare: https://api.cloudflare.com/client/v4/zones/ZONE_ID/firewall/access_rules/rules, and for the check https://api.cloudflare.com/client/v4/user/tokens/verify (or /accounts/ACCOUNT_ID/tokens/verify) and /zones/ZONE_ID. Provided by Cloudflare, Inc.: Terms of service, Privacy policy.
- Bunny CDN API (blocked IPs of your Pull Zone), only when the CDN is set to Bunny CDN and, for the temporary blocks, “Send temporary blocks to the CDN” is on (3.9): https://api.bunny.net/pullzone/PULL_ZONE_ID (addBlockedIp, removeBlockedIp, and reading the zone’s list of blocked IPs). Provided by BunnyWay d.o.o. (bunny.net): Terms of service, Privacy policy.
Bunny CDN, deeper (3.8, off until you use it). With the Bunny CDN connection of “Blocking at the CDN” (or a pull zone ID and API key entered in the Bunny card), and your API key:
- Bunny CDN logging API (logging.bunnycdn.com) – only when “Import attacks from Bunny CDN’s logs” is on: every 15 minutes the site downloads the new lines of its own pull zone’s log, from https://logging.bunnycdn.com/DATE/PULL_ZONE_ID.log. Nothing about your visitors is sent; the log Bunny returns contains your visitors’ IPs, addresses asked for, referrers, User-Agents and countries. Only attack-looking lines are kept, unless Traffic collects (3.12): then every line is kept in your own database for the days you choose. Provided by BunnyWay d.o.o. (bunny.net): Terms of service, Privacy policy.
- Bunny CDN API (api.bunny.net) – when Bunny CDN is connected: reads the pull zone (https://api.bunny.net/pullzone/PULL_ZONE_ID: logging status, Edge Rules); when you click “Lock at Bunny” or “Turn on logging at Bunny” it creates, updates or deletes Edge Rules made by ScrapeLock (URL patterns, a description starting with “ScrapeLock:”, and for the login page the IPs administrators used in the last 30 days) or turns logging on. Same provider and terms as above.
Vulnerable points and Stealth (3.8) only request the site’s own pages and files, from the site itself (loopback), to check what a visitor gets. The weekly attack report and the sign-in protection’s emails go through the site’s own wp_mail().
If a list has not been downloaded, ScrapeLock verifies search engine bots with reverse DNS, and uses a built-in copy of the Cloudflare ranges. AI search bots are not verified until their list has been downloaded. Reverse DNS lookups are made only for requests that claim to be a search engine, through your server’s own DNS resolver.
If the official Cloudflare plugin is active, ScrapeLock asks it to purge its cache when you save the ScrapeLock settings. The request is made by the Cloudflare plugin, with the account you connected there; ScrapeLock itself does not contact Cloudflare for this and stores no Cloudflare credentials.