Skip to content

Checkout Script Guard: Payment Page Script Inventory and Tamper Alerts changelog

All notable changes to Checkout Script Guard (kv_checkout_script_guard) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Script inventory of the payment pages in scope (default: checkout and the order page with the repay form): external files, same-site files and inline code, with pages, first and last sighting and counts per day.
  • Authorise with a required written justification, block or send back to review; who decided and when is kept in a change log. Suggested justifications for well-known payment SDKs, captchas and tags, only for an exact host and path match (look-alike hosts are never recognised); reCAPTCHA is allowed by path, public CDNs only as exact files.
  • Integrity: SHA-384 values for fixed files from the scheduled check; files that providers change behind one address are marked with the reason. The add-on’s own monitor is loaded with its integrity value.
  • Browser monitor (first script on the page, MutationObserver) and a report-only Content Security Policy built from the authorised scripts, with a signed, rate-limited report endpoint that stores no visitor data.
  • Scheduled change and tamper check (weekly by default, daily or hourly) of security headers and script content, opened as a visitor with a temporary cart that is deleted right after.
  • Alerts: new script, blocked script loads, content changed, script gone, headers changed, check failed, blocked by the enforced policy; admin notice, optional e-mail and signed webhook, sent from cron as one digest per storefront at most every 15 minutes.
  • 7-day dry run, then an enforced policy per page, one click back to report only.
  • Evidence report (print or save as PDF) and CSV export with a SHA-256 fingerprint.
  • CS-Cart, CS-Cart Ultimate (scope and inventory per storefront), Multi-Vendor and Multi-Vendor Ultimate (administrators only, vendors denied).
  • Flood protection: separate quotas for browser and CSP reports, no quota for the scheduled check (a script found on the real page always raises an alert), eviction of old once-seen report entries, alert log rotated at 1 MB.
  • Eval in the policy: eval violations are counted and shown (Pages tab, evidence report) so that “Allow eval” can be switched off with evidence.
  • Uninstall keeps the inventory, alerts, change log and settings unless “Permanently delete the script inventory, alerts and change log on uninstall” is ticked.