=== FFL Firewall ===
Contributors: coriolisagency
Tags: woocommerce, checkout, ffl
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.15
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

State Compliance checks cart UPCs against the buyer's zip, Fraud Detection notes and can hold risky orders, and Bot Defense blocks bots.

== Description ==

FFL Firewall is a WooCommerce plugin for independent FFL dealers. It has three features: State Compliance, Fraud Detection and Bot Defense. State Compliance checks the products in each cart against the buyer's zip at checkout, and Bot Defense keeps bots and scrapers off your store.

= State Compliance =

At checkout (classic and block checkout both), State Compliance sends the UPCs in the cart and the shipping zip, or the billing zip when there's no shipping zip, to the Coriolis proxy in one call. Local pickup orders are skipped. Depending on what comes back for each product, the plugin removes the item from the cart with a message to the shopper, shows a notice with a checkbox the shopper has to tick, or adds a note to the order; age notes go in the order note. Items the check marks as roster items follow the roster setting you choose, which starts as allow and flag.

If the check can't finish (for example, a timeout, a product with no UPC, or a license that has expired or isn't valid), the order goes through and the plugin flags it with an order note and a Flagged label in Orders, so nothing gets stuck at checkout. Without a license, State Compliance makes no changes to orders: nothing is removed from a cart, and no order gets a Flagged label or a note. The plugin doesn't email anyone when it flags an order. State Compliance is off when you install it, real carts are checked only with an active license, and licensed stores have no limit on checks. Before you add a license, the test panel lets you run 10 sample checks on a single UPC and zip.

FFL Firewall is a tool to help you catch restricted items at checkout; you're still responsible for what you sell and ship, and you should review every order before it goes out.

= Bot Defense =

Bot Defense is free. It starts working once two things are true: the master switch is on (you turn it on after you agree to the data notice on the Bot Defense tab), and the dealer embed script has been seen on your store in the last 24 hours. It then runs these checks on the store:

* A rate limit (120 page requests per 60 seconds by default), after which a visitor gets a 429 response. The same limit also covers read-only requests to the WooCommerce Store API product routes (/wp-json/wc/store/v1/products and the routes under it, such as a single product, categories, tags, brands, attributes and reviews), counted separately so they don't use up a visitor's page allowance, and auto-block and the shared reputation feed apply there too. A request refused there gets a 429 or 403 response. The Store API cart and checkout routes are not rate limited.
* User agent and header checks. Search engines (Google, Bing, Apple, DuckDuckGo, Yandex, Baidu, Yahoo and Petal) and the Ahrefs and Semrush SEO crawlers skip every Bot Defense check once FFL Firewall verifies them against their published IP ranges or by DNS; a request that only borrows a crawler's name gets no pass. Link previewers skip the header check only.
* An AI crawler check, on by default. Store page requests whose user agent names an AI crawler or AI assistant are blocked: GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Claude-User, Claude-SearchBot, Claude-Web, anthropic-ai, PerplexityBot, Perplexity-User, CCBot, Bytespider, Amazonbot, Google-CloudVertexBot, cohere-ai, cohere-training-data-crawler, MistralAI-User, DuckAssistBot, AI2Bot, Diffbot, YouBot, ImagesiftBot, Omgilibot, Timpibot and iAskSpider. The list includes AI search crawlers and the agents that fetch a page when someone asks an AI assistant about it, so while they're blocked your pages can't be read for ChatGPT, Claude or Perplexity answers. The check reads the user agent only, and a user agent can be faked or left out, so a crawler that doesn't name itself isn't caught by it. Google-Extended and Applebot-Extended are robots.txt names, not user agents, so this check doesn't cover them. The same pages are exempt as for the other checks (cart, checkout, My Account, wp-admin, wp-login.php and the WooCommerce AJAX and API endpoints), and AI crawlers it blocks are never sent to the shared reputation feed. To let them in, tick Allow AI crawlers on the Bot Defense tab; the other Bot Defense checks still apply to them.
* A hidden honeypot field on classic checkout, registration and comment forms.
* Checkout and card-testing limits: 8 checkout attempts in 10 minutes, 3 failed payments in an hour, or 3 small orders in 15 minutes. Verified search and SEO crawlers are exempt from these limits and from the checkout honeypot.
* A datacenter address check, on by default. Once a day, your store downloads the IPv4 lists that DigitalOcean, Linode and Vultr publish for their own networks, the EC2 server ranges that Amazon Web Services publishes, the customer ranges that Google Cloud publishes and the list of Tor exit nodes that the Tor Project publishes, and keeps the last good copy of each, so it makes outbound requests to those providers' public feeds. Requests from those IPv4 ranges, including visitors using Tor Browser, are blocked on store pages and when checkout is submitted, including through the Store API; page requests on cart, checkout, My Account, wp-admin (including admin-ajax), wp-login.php and the WooCommerce AJAX and API endpoints (wc-ajax, wc-api and /wp-json/wc/, which includes the Store API) are exempt, and checkout submit also keeps the card-testing, checkout velocity and honeypot checks above. If a download fails, the last good list keeps blocking for up to 3 days; nobody is blocked if a provider's list has never downloaded or is more than 3 days old.

Auto-block uses the behavior signals from the dealer embed script and steps up from a 429, to a browser check, to timed 403 responses.

The shared reputation feed lets FFL Firewall stores warn each other about bots. Your store reports the bots it catches (as hashes of their IP addresses, IPv6 networks and user agents, made with one salt shared by every FFL Firewall store, never raw IP addresses) and receives a signed list of bots other stores have reported; there's no receive-only mode, so sharing and receiving go together. On a new install, the feed is on by default once Bot Defense is on, and a store that already had FFL Firewall keeps the feed setting it had; if it never made a choice, the feed stays off until someone switches it on. Stores without a paid license can be in the feed too, with limits on what they send and receive, and a report from one store carries less weight until other stores report the same thing. You can switch it on or off in the Shared reputation feed section of the Bot Defense tab. The feed never touches checkout, login, the cart, My Account or wp-admin; on your other pages, a visitor on the list is slowed after 10 requests a minute. If the feed stops someone it shouldn't have, a store manager can click "Not a bot" to unblock them and send Coriolis a review request with a short note.

Signed-in store managers and private network addresses are never limited, and any error in Bot Defense lets the request through instead of blocking it.

= Price and license =

You can install the plugin and use the free features, Bot Defense and Threat Intelligence, or pay $79 a month for a license that unlocks State Compliance and Fraud Detection, billed monthly in advance by card through Stripe Checkout, with no trial period. You can cancel at any time, and State Compliance and Fraud Detection keep running until the end of the month you've paid for. The FFL Firewall terms page at coriolisagency.com has the full billing and cancelling terms.

= Downloads and updates =

FFL Firewall is a direct download from coriolisagency.com, and updates arrive through WordPress's normal plugin update screen from Coriolis's GitHub releases.

== External services ==

FFL Firewall connects to the outside services below. Each one is listed with what it's for, what is sent, and when.

= Coriolis proxy (Coriolis, LLC) =

The plugin's checks run through a proxy that Coriolis, LLC operates at ffl-firewall-proxy.vercel.app. A site owner can point the plugin at a different address with the FFLFW_PROXY_URL constant or the fflfw_proxy_url filter. The plugin calls it in these cases:

* License check (/api/license): when you click Check key, and on automatic rechecks while the license status is unknown (after 5 minutes, 15 minutes and 1 hour, then every 6 hours). Sends the license key; gets back the license status.
* Cart check (/api/check): at each checkout once the zip is known, while State Compliance is on and the license is active. Sends the license key, the zip and the UPCs in the cart; gets back a result for each UPC.
* Test panel (/api/demo): each time you run a test check before adding a license. Sends one UPC, one zip and the site address; gets back the result and the number of test runs left.
* Embed check (/api/embed-seen): every hour while the dealer embed script is added, when you save the setting, and when you click Check for script. Sends the dealer site key and the site origin, and the license key if you have one; gets back whether the script was seen, the script address, and the behavior signals that auto-block uses: hashes of visitors' IP addresses, networks and browser fingerprints made with a salt specific to your store, an unsalted hash of their user agent, and that salt.
* Reputation feed (/api/reputation/feed): every 30 minutes while Bot Defense and the shared reputation feed are on. Sends the sharing setting, and the license key if you have one; gets back a signed list of hashed entries and the salt used to make them. Stores without a paid license can be in the feed, with limits on what they send and receive, and a report from one store carries less weight until other stores report the same thing.
* Reputation reports (/api/reputation/report): every 15 minutes, from a buffer. Sends hashed subjects (a sha256 of the salt, the kind of subject and its value; never raw IP addresses), and any "Not a bot" review requests with the store manager's note, and the license key if you have one. Gets back an accept or a retry.
* Site key request (/api/embed-provision): when the dealer turns on Bot Defense and agrees, a free site key is created automatically with the dealer's email, with no payment, and that request sends the same data as a paid site key request. If you later add a paid license, the plugin can also request a site key when an automatic license recheck finds the license active, with retries after 5 minutes, 15 minutes, 1 hour and then every 6 hours, while Bot Defense is on. A site key you paste in yourself still works and takes priority. Gets back the dealer site key and the script address, so the dealer embed script can be added to your store.
* Failed payments (/api/fraud/failed-payment): each time an order's payment fails, while Fraud Detection is on and the license is active. Sends the license key, the order's email address, the shopper's IP address, the device ID, the shipping address (street lines, city, state and ZIP) and whether the order ships to an FFL; no name and no card data. The proxy hashes these with a Coriolis salt and drops the raw values, so Fraud Detection can recognize the same details in later failed payments. The plugin doesn't wait for an answer.
* Fraud screening (/api/fraud/screen): once after each order is paid (payment complete, or a gateway moves the order to Processing), from a background job, while Fraud Detection is on and the license is active; checkout never waits on it. Sends the license key, the order ID, total, currency and shipping speed, whether the order ships to an FFL, the items (SKU, title, category, price and quantity), the billing and shipping names and addresses, the billing phone number, the email address, the shopper's IP address, device ID and browser user agent, and yes or no answers for first paid order, new account, datacenter IP address and always-allowed customer; no card data. Gets back a decision (allow, hold, or hold with blocking recommended), the reasons and the scores. If the call fails, the plugin tries twice more, at least 1 and then 2 minutes later, and then stops. The proxy hashes the email address, IP address, device ID and shipping address to check them against fraud history from other FFL Firewall stores. It also hashes the billing address and phone number with a Coriolis salt, only to check them against the confirmed-fraud blocklist, and keeps no raw phone number or address; the phone number is never sent to MaxMind or FFL Cockpit. When MaxMind is configured on the proxy, the proxy sends MaxMind, for the orders its rules pick out, the IP address, user agent, a hash of the email address and its domain, the billing and shipping addresses (no names), the order ID, total, currency, shipping speed, items (SKU, category, price and quantity) and a coded ID for your store, to get a risk score (see MaxMind below). When Coriolis has set its FFL Cockpit key on the proxy, the proxy also checks each screened order, up to 1000 checks in any 24 hours across all FFL Firewall stores, against FFL Cockpit's dealer fraud network with the names, billing and shipping addresses (no shipping name or address for an FFL ship-to), email address, IP address and items, sent as plain values; a match makes the decision at least hold for review, so the order goes On hold when holds are on and the customer isn't on your always-allow list, and it never cancels the order (see FFL Cockpit fraud network below). With a test license only the proxy's rules run, and nothing goes to MaxMind or FFL Cockpit.
* Fraud labels (/api/fraud/label): when a store manager clicks Approve, Mark as fraud or Always allow this customer in the review queue, Blacklist on an order, or Confirm fraud on an order's chargeback prompt, while Fraud Detection is on and the license is active. If the proxy doesn't take it, the plugin sends it again when the order is later refunded or cancelled, or, for Approve and Always allow this customer, completed. Sends the license key, the order ID, the decision, the email address, the billing phone number, the shopper's IP address, device ID, the billing and shipping addresses (no names), whether the order ships to an FFL and the items (SKU, title, category, price and quantity). The proxy hashes the phone number and billing address with a Coriolis salt, like the other details, and keeps no raw phone number or address. A fraud label adds the email, phone number, device, billing address and shipping address hashes to the confirmed-fraud blocklist; an IP address or an FFL ship-to address never goes on it. When MaxMind is configured on the proxy, the proxy reports the order ID, IP address and decision to MaxMind (see MaxMind below); MaxMind never gets the phone number. Nothing is stored or reported for a test license. Undo (/api/fraud/label-undo): when a store manager clicks Undo on an order marked as fraud, while Fraud Detection is on and the license is active, the plugin sends only the license key and the order ID, and the proxy takes that order's label back out of the fraud history. A blocklist entry stays while another fraud label, from your store or another store, still names it. If the label never reached the proxy, Undo only clears it on your store. Undo doesn't reach MaxMind, so a report already sent there stays. Chargebacks: when a chargeback is reported for an order (the WooCommerce Stripe gateway does this; other gateways or a site's own code can use the fflfw_chargeback action) while Fraud Detection is on and the license is active, the order screen asks whether the order was fraud. Nothing is sent unless the store manager clicks Confirm fraud, which sends the same fraud label as Blacklist; Not fraud sends nothing.
* Fraud risk lists (/api/fraud/snapshot): about once a day, while Fraud Detection is on and the license is active, the plugin asks the Coriolis proxy for the current product and brand risk levels and the list of trending products, and keeps them on your store. That request sends only your license key, with no order, shopper or site data, and it isn't tied to checkout or to any order.
* FFL Cockpit reports (/api/fraud/network-report): when a store manager clicks Report to FFL Cockpit or Undo on an order, while Fraud Detection is on and the license is active. If FFL Cockpit can't take it right away, the request waits on the order and the plugin sends it again later, after the wait FFL Cockpit gives or after 1, 2, 4 minutes and so on up to 6 hours, until FFL Cockpit takes it or refuses it. Sends the action plus the same details as the fraud screening call: the license key, the order ID, total, currency and shipping speed, whether the order ships to an FFL, the items (SKU, title, category, price and quantity), the billing and shipping names and addresses, the billing phone number, the email address, the shopper's IP address, device ID and browser user agent, and the same yes or no answers. The proxy refuses the request for orders that ship to an FFL, and for any other order it forwards to FFL Cockpit only the billing and shipping names and addresses, the email address, the IP address and the items (SKU, title, price and quantity), as plain values (see FFL Cockpit fraud network below). With a test or inactive license nothing goes to FFL Cockpit.

Terms: https://www.fflfirewall.com/terms
Privacy: https://www.fflfirewall.com/privacy

= Dealer embed script (Coriolis, LLC) =

While Bot Defense is on and a site key is saved, the plugin adds the dealer embed script to every page of the store. The script loads from gunsearchengine.com (/embed.js, at an address the Coriolis proxy supplies), which is operated by Coriolis, LLC, and runs in shoppers' browsers. Each browser connects to gunsearchengine.com directly, so it receives the shopper's IP address, and the script sends the address, title and first referrer of each page viewed, campaign tags and the products viewed; gunsearchengine.com keeps a visitor record with those pages and products, an order number when one appears in a page address, any email address the shopper enters in the dealer search, such as to get results by email, set a watch or sign in, the browser, operating system, language, time zone, device type and touch screen, whether the visitor interacted with the page and how long they stayed, the approximate city and other technical signals about the visit, plus hashes of the IP address, network, browser fingerprint and user agent, but not the raw IP address or full user agent. Visitor records, including that email address, are kept with no set deletion period. A shopper's details go only to the store they contacted and are never sold or shared with third parties.

Terms: https://www.fflfirewall.com/terms
Privacy: https://gunsearchengine.com/privacy

= Your store's home page =

When you click Check for script, the plugin requests your own store's home page to see whether the script tag is there. Nothing is sent to anyone else.

= GitHub (GitHub, Inc.) =

Updates come from Coriolis's public release repository, CoriolisAgency/ffl-firewall-releases, on api.github.com and github.com. During WordPress's normal plugin update checks, the plugin asks GitHub for the latest release; the answer is cached for 12 hours (1 hour if the check fails). It sends only a User-Agent of ffl-firewall/ and the plugin version, with no token and no site data, and gets back the latest version number and the zip address.

Terms: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
Privacy: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement

= Datacenter and Tor exit address lists (DigitalOcean, Linode, Vultr, Amazon Web Services, Google Cloud, Tor Project) =

While Bot Defense and its datacenter address check are on (the check is on by default), your store downloads each provider's public list of its own IPv4 ranges once a day: DigitalOcean (digitalocean.com), Linode (geoip.linode.com), Vultr (geofeed.constant.com), Amazon Web Services (ip-ranges.amazonaws.com, EC2 server ranges only), Google Cloud (www.gstatic.com, customer ranges only) and the Tor Project (check.torproject.org, its list of Tor exit nodes). Each download sends a User-Agent of ffl-firewall/ and the plugin version and no site or shopper data; the provider sees only your server's IP address, as with any download. The lists are how Bot Defense recognizes requests from rented servers and Tor exit nodes. The downloads go straight from your store to each provider, and the Coriolis proxy never relays them.

DigitalOcean terms: https://www.digitalocean.com/legal/terms-of-service-agreement
DigitalOcean privacy: https://www.digitalocean.com/legal/privacy-policy
Linode terms: https://www.akamai.com/legal/msa
Linode privacy: https://www.akamai.com/legal/privacy-statement
Vultr terms: https://www.vultr.com/legal/tos/
Vultr privacy: https://www.vultr.com/legal/privacy/
Amazon Web Services terms: https://aws.amazon.com/terms/
Amazon Web Services privacy: https://aws.amazon.com/privacy/
Google Cloud terms: https://cloud.google.com/terms
Google Cloud privacy: https://cloud.google.com/terms/cloud-privacy-notice
Tor Project privacy: https://www.torproject.org/about/privacy_policy/

= FFL Cockpit fraud network (Garidium LLC) =

The plugin never contacts FFL Cockpit itself; the Coriolis proxy does, with one Coriolis key, and only when Coriolis has set that key on the proxy. For every paid order the proxy screens, it sends FFL Cockpit's fraud check (api.fflcockpit.com) the billing and shipping names and addresses, the email address, the shopper's IP address, up to 50 items (SKU, title, price and quantity) and whether the order ships to an FFL, as plain values, not hashes; it gets back whether the order matches a fraud report, which kinds of detail matched and how many reports there are. Past 1000 checks in any 24 hours across all FFL Firewall stores, or when FFL Cockpit can't be reached, the proxy screens the order without this check, and that never blocks the order. When an order ships to an FFL, its shipping name and address are not sent. When a store manager clicks Report to FFL Cockpit, the proxy sends the same details into Garidium's shared fraud database, which other dealers' checks match against and which FFL Cockpit may show to dealers whose orders match; Undo asks FFL Cockpit to remove that report. A Report or Undo that can't go through right away waits on the order in your store and is sent later. Report and Undo are not offered for orders that ship to an FFL, so an FFL's premises never enter the database. FFL Cockpit gets no license key, no phone number, no device ID, no user agent and no card data, and the proxy stores none of its answers. With a test license nothing is sent to FFL Cockpit.

FFL Cockpit terms: https://fflcockpit.com/terms_of_sale/
FFL Cockpit privacy: https://fflcockpit.com/privacy-policy/

= MaxMind (MaxMind, Inc.) =

The plugin never contacts MaxMind itself; the Coriolis proxy does, and only when Coriolis has configured its MaxMind account on the proxy. For fraud screening, for the paid orders the proxy's rules pick out, the proxy sends MaxMind's minFraud service the shopper's IP address and browser user agent, an MD5 hash of the email address and the email domain, the billing and shipping addresses without names, the order ID, total, currency, shipping speed and items (SKU, category, price and quantity), and a coded ID for your store; it gets back a risk score. When a store manager approves, marks as fraud, always allows or blacklists an order, the proxy reports the order ID, the IP address and a tag of suspected fraud or not fraud. MaxMind gets no license key, no names, no phone number, no device ID and no card data. With a test license nothing is sent to MaxMind.

MaxMind terms: https://www.maxmind.com/en/end-user-license-agreement
MaxMind privacy: https://www.maxmind.com/en/privacy-policy

Never sent anywhere: the product-check vendor key (it stays on the proxy) and card data. Fraud Detection sends raw shopper details to the Coriolis proxy in four cases, all while it's on and the license is active: when a payment fails (see Failed payments above), once after each paid order (see Fraud screening above), when a store manager labels an order (see Fraud labels above), and when a store manager reports an order to FFL Cockpit or undoes that report (see FFL Cockpit fraud network above). Beyond those, no order contents are sent except the cart UPCs and zip for State Compliance.

== Changelog ==

= 1.0.15 =
* Fixed: on stores hosted on WP Engine or behind Cloudflare, FFL Firewall now uses each visitor's real IP, so rate limits and IP checks apply to each visitor.
* Changed: visitor IPs, not the WP Engine or Cloudflare addresses, are reported to the shared reputation feed. The datacenter address check is log-only for IPs forwarded by WP Engine or Cloudflare, and verified Googlebot is still never slowed down.
* If you added your proxy IP to the allow list, remove it.

= 1.0.14 =
* Fixed: on stores hosted on WP Engine or behind Cloudflare, the shared reputation feed could slow down Googlebot, Bingbot, Applebot and the other search crawlers FFL Firewall verifies with "429 Too Many Requests" responses, including on product pages and sitemaps.
* Fixed: FFL Firewall now recognizes WP Engine and Cloudflare on its own, checks each search crawler against the search engine's published addresses or its DNS, and the shared feed no longer slows down verified crawlers, and they are no longer reported to it. A bot that only claims to be Googlebot is still treated like any other visitor, and there is no setting to change.

= 1.0.13 =
* Security: before FFL Firewall installs an update from its own release download, it now checks the zip's SHA-256 checksum against the checksum file published with that release.
* Security: if the checksum doesn't match, or the checksum file or the zip can't be downloaded, the update is not installed and the plugin stays on the version you have. Other plugins and themes update as before.

= 1.0.12 =
* Changed: Bot Defense turns on in one step. One dialog on the Bot Defense tab shows the data notice; tick the box and click Turn on. A store without a license gets its free site key right away, with no key to paste. A different site key can still be saved under the advanced option.
* Fixed: when a dealer embed is already on the store, FFL Firewall now uses its site key if that key works for the store, or its own key if not, so Bot Defense no longer stays off with a mismatch.
* Fixed: the Shared reputation feed no longer reads on while Bot Defense is not active.

= 1.0.11 =
* Fixed: Bot Defense is free and no longer asks for a license. A store without a license now sees the data notice, the agree box and the Bot Defense switch on the Bot Defense tab, and agreeing starts its free key. State Compliance and Fraud Detection still need the $79 license.
* Changed: every Get a license and Buy a license link now opens the Stripe checkout page in a new tab.

= 1.0.10 =
* Changed: Threat Intelligence is now free with Bot Defense and no longer needs the $79 license. Bot Defense still stays off until you agree to the data notice on the Bot Defense tab and switch it on. The Log screen and the traffic view are available with Bot Defense and no longer need a paid license. State Compliance and Fraud Detection still need an active license.

= 1.0.9 =
* New: The Bot Defense tab now shows daily traffic in four totals kept on your store: people, verified crawlers, other automation, and requests Bot Defense blocked, slowed or challenged. This view adds no per-visitor log. The existing Bot Defense log is unchanged. Verified search and SEO crawlers are never blocked or slowed down. Cart, checkout, account, login, admin, admin AJAX, WooCommerce AJAX and API, and the cart and checkout APIs stay exempt from page checks, auto-block and the shared reputation feed; checkout submit checks and the form honeypot still run.

= 1.0.8 =
* Recent activity now shows the 5 most recent times Bot Defense blocked, slowed or challenged a request, newest first, with a View full log button under the table (shown even before anything has been caught). Repeat hits from the same address and reason inside 5 minutes still stay on one row.
* Stores with an active license now get a Log button under the Bot Defense intro, which opens the full Bot Defense log: 25 events a page, newest first, with filters for response, date range and IP address. Click a row to see the countermeasure plus its Page, Host, Country, Requests and User agent details. Without an active license the log is locked.
* The log keeps events for 30 days and never holds more than 5,000; when it reaches 5,000, the oldest 100 are dropped together. It is stored on your store only, and nothing new is sent off the store.

= 1.0.7 =
* Changed: Bot Defense now stays off until you agree to the data notice on the Bot Defense tab and switch it on. This update turns it off on every store, including stores where it was already live, and a tick saved under the previous data notice does not count.
* New: On the Bot Defense tab you can save an IP allow list and trusted proxies. An allow-listed address skips page checks, catalog API checks, checkout submit checks and the form honeypot. Trusted proxies are how the plugin decides when to believe forwarding headers, and if the visitor's address cannot be read clearly, the plugin uses the direct connection address.
* New: You can add protected paths on the Bot Defense tab. A protected path skips page checks and catalog API checks. Checkout submit checks and the form honeypot still run. Cart, checkout, account, login, admin, AJAX and cart/checkout APIs are already covered and do not need to be added.
* Changed: Recent activity now shows the 100 most recent blocks and throttles, up from 5. Repeat hits from the same address and reason inside 5 minutes stay on one row.
* New: Monthly counts now have a 12-month picker. Counts are kept for 12 months.
* New: Shoppers who are throttled or blocked on a store page now get a plain 429 or 403 page, with no store theme and no script. The 429 page has a reload link, and the 403 page has no reload link.
* Changed: One license now covers the whole plugin. Overview has three cards, State Compliance, Fraud Detection and Bot Defense, and Fraud Detection has its own tab for settings and the review queue. Without an active license, all three cards and tabs show Locked, and the only tool that works is the State Compliance test panel. If the license status is unknown because the plugin could not reach the proxy, the store is treated as unlicensed.
* New: Bot Defense blocks store-page requests whose user agent names an AI crawler or AI assistant, and the shopper or crawler gets a 403. This check is on by default. Allow AI crawlers on the Bot Defense tab turns only this check off, and other Bot Defense checks still apply. Blocked AI crawlers are logged and counted, and are never sent to the shared feed. Cart, checkout, account, admin and the usual API endpoints are exempt, and this check is not applied to Store API product routes.
* New: Under each Recent activity row, the plugin now shows one plain-English sentence for the reason, then Page, Host, Country, Requests and User agent when the row has them. Nothing new is sent off the store.
* Changed: If the hourly check for the dealer embed script fails, the last good sighting time is kept. One failed check does not turn Bot Defense off, and Script last seen does not drop to Never. The 24-hour window still runs from the last good sighting.
* New: Once after an order is paid, while Fraud Detection is on and the license is active, the plugin screens the order from a background job, so checkout never waits. The order screen has a why panel for the score and a Blacklist control. Blacklist marks the order as fraud and sends its details to the Fraud Detection blacklist, so it can spot the same details in later orders. The order's status is left unchanged.
* New: Fraud Detection can check a screened order against the FFL Cockpit fraud network. A store manager can report an order to that network, or undo a report, from the order screen. If the network returns a 429, that call pauses and the plugin keeps the report or undo queued until the network takes it. The 1,000 checks per rolling 24 hours cap stays, and fails open. The readme now links fflcockpit.com terms and privacy.
* New: Labeling an order as fraud can send phone and billing hashes into the shared fraud-data pool, with no raw phone number or address kept in that pool. A store manager can undo a fraud label. When a chargeback is reported for an order, the order screen asks whether it was fraud, and nothing is marked as fraud or sent unless the store manager clicks Confirm fraud.

= 1.0.6 =
* New: Bot Defense now blocks requests from Tor exit nodes, using the Tor Project's exit list, which the plugin downloads once a day.
* Changed: the External services section of this readme now links the terms and privacy pages for each hosting provider list (DigitalOcean, Linode (Akamai), Vultr, Amazon Web Services and Google Cloud) and the Tor Project's privacy page.

= 1.0.5 =
* Changed: the $79 plan lines name State Compliance, Fraud Detection and Bot Defense.
* Changed: the Bot Defense consent text shows the feature name only.

= 1.0.4 =
* Changed: feature labels show the feature name only.

= 1.0.3 =
* Changed: the bot and scraper service is now named Bot Defense, and the cart check service is now named State Compliance.
* Removed: the site scan service, with its tab, Overview card, weekly scans and known plugin vulnerability check. The plugin no longer sends the names and versions of your installed plugins to the Coriolis server.
* New: Fraud Detection, on the Bot Defense tab for stores with an active license. It checks each new order against local fraud rules, adds an order note with the result and the reasons, and can put a risky order On hold after payment for you to review. A Balanced or Strict setting decides how easily an order is held, and Strict also tightens the checkout and card-testing limits.
* New: on a new install, Fraud Detection is on with order notes and holds. On a store that updates from an earlier version, it starts on with order notes only, and no order is put on hold until a store manager answers the screen at the top of the Fraud Detection card: turn on holds, or keep notes only. A holds checkbox on the card changes that answer at any time.
* New: Fraud Detection sets a random device ID in a cookie on your store's own domain at checkout. When a payment fails, the plugin sends the order's email address, IP address, device ID, shipping address and whether it ships to an FFL to the Coriolis proxy. It sends no name and no card data.
* Changed: the rate limit, auto-block and the shared reputation feed now also cover read-only requests to the WooCommerce Store API product routes (/wp-json/wc/store/v1/products and the routes under it, such as a single product, categories, tags, brands, attributes and reviews). These requests have their own count, so they don't use up a visitor's page allowance. A request refused there gets a 429 or 403 response. The Store API cart and checkout routes are not rate limited.
* New: the datacenter address check also downloads the EC2 server ranges that Amazon Web Services publishes and the customer ranges that Google Cloud publishes, once a day, and keeps the last good copy of each. These are outbound requests from your store to ip-ranges.amazonaws.com and www.gstatic.com. A visitor browsing from one of those addresses, such as a remote desktop or VPN hosted there, is blocked on store pages; add their address to the allow list to let them in.
* Changed: every outbound request the plugin makes now sends a User-Agent of ffl-firewall/ and the plugin version, and no longer sends your site's address in the User-Agent. The embed check and the automatic site key request still send your store's origin in the request body.

= 1.0.2 =
* Changed: FFL Firewall · DEFENDER now blocks only while the license is active and your dealer embed script has checked in with Coriolis in the last 24 hours.

= 1.0.1 =
* Changed: the FFL Firewall · ACTIVE DEFENSE notice is now a one-time screen that opens before the FFL Firewall page, with Keep ACTIVE DEFENSE on and Switch off ACTIVE DEFENSE buttons. It shows the same text about what the dealer embed script and the shared reputation feed send and keep.
* Changed: the Included bonus tag is gone from the FFL Firewall · RECON card on the Overview tab.
* New: FFL Firewall · RECON runs one scan after install with no license needed. That scan looks for waiting updates and setup gaps, and matches your installed plugins against known plugin vulnerabilities by sending the names and versions of those plugins to the Coriolis server; weekly scans, Run scan and later vulnerability checks still need an active license.

= 1.0.0 =
* New: FFL Firewall · ACTIVE DEFENSE is on by default, with a notice after install that explains what it sends and a Switch off ACTIVE DEFENSE link. The consent checkbox is gone.
* New: FFL Firewall · RECON, powered by Wordfence, lists known plugin vulnerabilities with affected versions, the fixed version and a View record link. It sends the names and versions of your installed plugins to the Coriolis server and needs an ACTIVE DEFENSE site key.
* New: the datacenter address check downloads the IPv4 lists that DigitalOcean, Linode and Vultr publish once a day and keeps the last good copy of each. These are outbound requests from your store to those providers' public feeds. The check runs on store pages and at checkout submit, but not on page requests to cart, checkout, My Account, wp-admin (including admin-ajax), wp-login.php and the WooCommerce AJAX and API endpoints (wc-ajax, wc-api and /wp-json/wc/, which includes the Store API). If a download fails, the last good list keeps blocking for up to 3 days; nobody is blocked if a provider's list has never downloaded or is more than 3 days old. Version 1.0.3 adds the EC2 server ranges from Amazon Web Services and the customer ranges from Google Cloud to this check.
* Changed: the user agent and header check, the rate limit and the datacenter list skip page requests to cart, checkout, My Account, wp-admin (including admin-ajax), wp-login.php and the WooCommerce AJAX and API endpoints (wc-ajax, wc-api and /wp-json/wc/, which includes the Store API). When checkout is submitted, including through the Store API, the datacenter check and the card-testing, checkout velocity and honeypot checks still run. Since 1.0.3, read-only Store API product requests get the rate limit, auto-block and the shared reputation feed; see the 1.0.3 entry.
* Changed: the ACTIVE DEFENSE site key is requested automatically, once after activation and again when an automatic license recheck finds the license active, with retries after 5 minutes, 15 minutes, 1 hour and then every 6 hours.
* Fixed: the consent, shared reputation feed and readme text now describe what the dealer embed script and the shared reputation feed send and keep, and how long feed records are kept.
* Changed: the FFL Firewall · RECON section of this readme now says RECON matches your installed plugins against known plugin vulnerabilities, and can only match issues that the feed has published. The earlier line that said the known-issue list was not part of 1.0.0 is gone.
* Changed: the ACTIVE DEFENSE tab and Overview now describe FFL Firewall · ACTIVE DEFENSE as on by default, with a switch you can turn off.

* New: three services in one plugin, FFL Firewall · OVERWATCH, FFL Firewall · ACTIVE DEFENSE and FFL Firewall · RECON, with a new admin layout and an Overview tab.
* New: FFL Firewall · ACTIVE DEFENSE bot and scraper control, with rate limits, user agent and header checks, a checkout honeypot, and checkout and card-testing limits. Verified search engines and the Ahrefs and Semrush SEO crawlers now skip every FFL Firewall · ACTIVE DEFENSE check, and a license whose monthly payment fails keeps working for 7 days.
* New: the dealer embed script and its seen-in-the-last-24-hours check, with guards against adding the script twice.
* New: auto-block from the dealer embed script's behavior signals, stepping up from a 429 to a browser check to timed 403s.
* New: the shared reputation feed, on by default for new installs, with a "Not a bot" button to unblock a visitor and send Coriolis a review request. The feed never touches checkout, login, the cart, My Account or wp-admin.
* New: FFL Firewall · RECON, a read-only scan for waiting updates and setup gaps.
* New: updates through WordPress's plugin update screen from GitHub releases, on by default.
* Changed: FFL Firewall · OVERWATCH is its own module, with no limit on checks for licensed stores.
* Fixed: the license is rechecked automatically when the proxy couldn't be reached.
* Fixed: a fingerprint value that was saved with extra slashes.
* Tested up to WordPress 7.1 and WooCommerce 11.3. Requires WordPress 6.5, PHP 7.4 and WooCommerce 9.2.

= 0.1.3 =
* Test panel wording updated: a result card for items that need a permit or age check, a card when this network has reached its daily test limit (with the runs your site has left), and a clearer card when a test can't reach the check service.
* A test that can't reach the check service doesn't count against your 10 test runs.
* The notice in the WordPress admin now says "Hide this notice".

= 0.1.2 =
* Test panel on the settings screen for sites with no active license: a UPC and a zip, suggested test pairs, 10 test runs per site.
* Notice in the WordPress admin while there is no active license.

= 0.1.1 =
* Default proxy URL set to production.

= 0.1.0 =
* Sprint 1 skeleton: settings screen, license key check and the proxy client. Not released.

== Upgrade Notice ==

= 1.0.15 =
On stores hosted on WP Engine or behind Cloudflare, FFL Firewall now uses each visitor's real IP for rate limits, IP checks and the shared reputation feed. If you added your proxy IP to the allow list, remove it.

= 1.0.14 =
Verified search crawlers such as Googlebot are no longer slowed down by the shared reputation feed on stores hosted on WP Engine or behind Cloudflare.

= 1.0.13 =
FFL Firewall now checks the SHA-256 checksum of each update from its own release download before installing it, and keeps the version you have if the check fails.

= 1.0.12 =
Bot Defense now turns on in one step from the Bot Defense tab, and a free store gets its site key automatically.

= 1.0.11 =
Bot Defense is free and no longer asks for a license: agree to the data notice on the Bot Defense tab and switch it on. Get a license links now open Stripe checkout in a new tab.

= 1.0.10 =
Threat Intelligence is now free with Bot Defense and no longer needs the $79 license. Bot Defense still stays off until you agree to the data notice on the Bot Defense tab and switch it on. The Log screen and the traffic view are available with Bot Defense and no longer need a paid license.

= 1.0.8 =
Recent activity on the Bot Defense tab now shows the 5 most recent events, and a new Log screen keeps the rest for 30 days, up to 5,000 events.

= 1.0.7 =
This update turns Bot Defense off on every store, including stores where it was already live. It stays off until you agree to the data notice on the Bot Defense tab and switch it on.

= 1.0.6 =
Bot Defense now blocks requests from Tor exit nodes, and the readme now links the hosting providers' terms and privacy policies along with the Tor Project's privacy page.

= 1.0.3 =
Adds FFL Firewall · Fraud Detection. On a store that updates, it starts with order notes only, and no order is put on hold until a store manager answers the screen at the top of the Fraud Detection card.

= 1.0.1 =
The ACTIVE DEFENSE notice is now a one-time screen on the FFL Firewall page, and RECON runs one scan after install with no license needed, including the known plugin vulnerability check.

= 1.0.0 =
FFL Firewall · ACTIVE DEFENSE is now on by default. A notice explains what it sends and has a one-click link to switch it off.
