Centarro Toolbox is a collection of diagnostic and support tools for Drupal Commerce.

Its first tool is the order audit, which helps merchants find orders that may have been placed or changed by exploiting a vulnerability, such as the one fixed in SA-CONTRIB-2026-254. It checks placed orders for the signs described in that advisory, and lists the flagged orders for staff to review.

Features

  • Checks placed orders for:
    • Orders placed with a balance due and no payments
    • An amount paid that is more than the payments recorded against the order
    • Order items with an overridden unit price
    • Custom discounts on the order or its order items
  • An Order audit tab on the Orders page, with filters for status, check and order number
  • Staff can clear a flagged order with a required reason, and reopen it later. Who cleared it and when is recorded.
  • Scans run from the admin UI or with Drush (drush centarro-toolbox:scan-orders), and only check orders that are new or changed since the last scan
  • Optionally scans orders automatically whenever they're placed or changed, including when an order's state is set directly through an API
  • Other modules can add their own checks as plugins

Drupal 11 / Commerce 3.x (recommended)

Installation

Centarro Toolbox should only be installed via Composer. The zip files on this page are provided for informative purposes only.

Drupal 9.5 and 10, and Commerce 8.x-2.37 and later, are also supported, so that sites that haven't upgraded yet can use these tools. Drupal 9 is end of life and no longer receives security updates, so plan to upgrade.

Reviewing flagged orders

A flagged order isn't necessarily fraudulent. Every Drupal Commerce site is different, so judge the results against what your site legitimately does. For example, sites that offer free or pay-later orders, or whose staff override prices or add discounts by hand, will see some of those orders flagged. The module maintainers offer no warranties or guarantees that it will find every manipulated order.

Supporting organizations: 
Development and Support

Project information

Releases