Skip to content

Configuration

Settings: Add-ons > Manage add-ons > Checkout Script Guard > General. On CS-Cart Ultimate and Multi-Vendor Ultimate the scope and the policy settings can differ per storefront.

Setting Default What it does
Enable On Switches everything on or off. Off = payment pages are served unchanged.
Payment pages to watch checkout.checkout, orders.details One page per line as controller.mode. checkout.checkout is the one-page checkout, orders.details the order page with the repay form. Add the page of a pay-by-link add-on if you use one. Only these pages get the monitor and the policy headers.
Browser monitor On Loads the add-on’s monitor script first on the payment pages. It reports the scripts the browser runs: the address without the query string, or a fingerprint of the code of inline scripts. It never reads form fields, cookies or what the shopper types.
Send a report-only Content Security Policy On Adds Content-Security-Policy-Report-Only with your authorised scripts. Browsers report scripts from other hosts and do not block them.
Allow eval in the policy On Keeps 'unsafe-eval' in the policy so that older scripts that use eval or new Function keep working. Recommended: switch it off during the dry run. Report-only mode blocks nothing, and any script that needs eval is counted on the Pages and headers tab and in the evidence report; if none shows up, leave it off when you enforce.
Scheduled check Every week Interval of the change and tamper check (every hour, day or week). PCI DSS 11.6.1 names at least once every seven days, or the interval of your targeted risk analysis.
Product for the check cart (ID) empty The check puts one product into a temporary cart so that checkout opens, and deletes the cart right after reading the page. Empty = the cheapest active product in stock.
E-mail new alerts to the store administrator Off Sends new alerts through the store’s own mailer to the site administrator address as ONE digest e-mail per storefront at most every 15 minutes, from the cron job.
Webhook URL for alerts empty HTTPS address that receives ONE signed JSON POST with the new alerts per storefront at most every 15 minutes, from the cron job (see Developer notes).
Permanently delete the script inventory, alerts and change log on uninstall Off See Installation.

The Client IP tab tells the add-on how to find the visitor’s address behind Cloudflare or your own proxy. It is only used to rate-limit the report endpoint and is never stored.

The Pages and headers tab shows the command, for example:

php /path/to/store/admin.php --dispatch=kv_checkout_script_guard.cron

Run it every hour; the check itself runs at the interval you chose. Hosts without command-line cron can call admin.php?dispatch=kv_checkout_script_guard.cron&cron_password=<your cron password> (Settings > Security > Cron password). Add &force=1 to check at once.

Store administrators with the Manage settings privilege. Multi-Vendor vendors have no access: the inventory, the alerts and the policy are marketplace-wide, and vendor storefront pages (their products in the common checkout) are covered by the same scope.

Checkout and the order page are never cached by the full page cache. If you add a cacheable page to the scope, the page token in its policy is not tied to a visitor and stays valid for six hours, so cached copies keep reporting.