Store Canary

v1.1.0
io.github.erikras/store-canary Checked 1 day ago Published 1 month ago

Free read-only WooCommerce checks: store, SSL, exposure, SEO, speed, products, policies + 3 prompts

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_store Check a WooCommerce store

Check a public WooCommerce store from the outside: is it reachable, is HTTPS valid and are redirects sane, is WooCommerce detected, do /cart/ and /checkout/ load, and are payment markers visible on checkout. Read-only: GET requests only, never adds to cart, logs in or submits forms. Returns pass/warn/fail findings. Pass a bare hostname or URL; paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

check_ssl Check a store's HTTPS setup

Check that a store's HTTPS certificate is accepted, http:// permanently redirects to https://, the redirect chain is short and stays on HTTPS, and an HSTS header is set. The exact certificate expiry date isn't visible to an outside fetch. Read-only: one run of GET requests only; never logs in, adds to cart or submits forms. Nothing is monitored or saved. A bare hostname is fine; URL paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

check_exposure Check what a store exposes publicly

Flag WordPress, WooCommerce, plugin and PHP versions a store shows publicly (generator tags, asset ?ver= values, X-Powered-By), a public /readme.html and a readable /wp-content/debug.log. Log contents are never returned or kept. Read-only: one run of GET requests only; never logs in, adds to cart or submits forms. Nothing is monitored or saved. A bare hostname is fine; URL paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

check_seo_basics Check a store's SEO basics

Check a store's robots.txt (and whether it blocks the whole site), its XML sitemap, the homepage title and meta description, and noindex on the homepage. Read-only: one run of GET requests only; never logs in, adds to cart or submits forms. Nothing is monitored or saved. A bare hostname is fine; URL paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

check_speed Time a store's key pages

Time one download each of a store's homepage, one product page and the cart from Cloudflare's network. One sample per page, not a lab test or an average. Read-only: one run of GET requests only; never logs in, adds to cart or submits forms. Nothing is monitored or saved. A bare hostname is fine; URL paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

check_products Sample a store's products

Read up to 10 published products from the public WooCommerce Store API and flag missing prices, missing images and out-of-stock items. Read-only: one run of GET requests only; never logs in, adds to cart or submits forms. Nothing is monitored or saved. A bare hostname is fine; URL paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

check_policies Check a store's policy pages

Check that the homepage links to privacy, terms, shipping and returns/refunds pages, and that each linked page on the same site loads. Read-only: one run of GET requests only; never logs in, adds to cart or submits forms. Nothing is monitored or saved. A bare hostname is fine; URL paths are ignored and the host's homepage is checked.

ParameterTypeDescription
url *stringThe store's public address, for example https://example.com. A bare hostname (example.com) is fine. Any path, query or fragment is ignored: the homepage of the host is checked.

explain_finding Explain a Store Canary finding

Explain a finding code returned by any Store Canary tool (for example ssl_hsts or exposure_debug_log) in plain words, with a suggested fix. Makes no network requests.

ParameterTypeDescription
code *stringA finding id from a Store Canary result, for example checkout or seo_noindex.