EasyCloud Fleet Report

Description

Fleet Report is for agencies and hosts that look after many WordPress sites.
Each site does cheap, read-only checks once a day and posts a compact JSON
report to an endpoint you run. Anything expensive, such as matching plugin
versions against vulnerability feeds or noticing a new administrator, happens
at that endpoint, so the sites themselves stay fast.

Each daily report includes:

  • WordPress, PHP and database versions
  • Every installed plugin and theme, with its version and whether it is active
    (slugs match vulnerability feeds)
  • Every administrator account: username, email address and registration date
  • Hardening settings: XML-RPC, the file editors, debug display, PHP error
    display, HTTPS and automatic core updates
  • A bounded scan of the uploads folder for PHP files containing webshell
    tokens (logs guarded by a leading die() or exit are skipped). When the
    scan hits a limit, cannot read something, or meets a linked folder (it does
    not follow links), the report says truncated.

The settings screen (Tools > Fleet Report) has a button that builds a preview
of exactly what is sent, and a button to send a report now.

Fleet Report does not include a receiving service. You run the endpoint
yourself; the contract it must follow is below.

External services

This plugin sends data to one place only: the HTTPS endpoint URL that an
administrator saves on its settings screen. It has no default endpoint and
contacts no other service. Nothing is sent until both an endpoint and a token
are saved.

  • What is sent: the report described above, including the username, email
    address and registration date of every administrator account, the site
    address and a site ID (the site’s host name unless you set another). The token is sent in the Authorization
    header. No data about visitors is sent.
  • When: once a day by WP-Cron, and when an administrator clicks
    “Send report now”. Untick “Send daily reports” to stop the daily report.
  • Where: to the endpoint you configure, which you or your agency operate.
    Its terms and privacy policy are yours to set; the plugin author receives
    nothing.

The plugin also adds suggested text to Settings > Privacy for your privacy
policy.

Central endpoint contract

Fleet Report POSTs application/json with an Authorization: Bearer <token>
header. The endpoint should validate the token with a constant-time comparison
and return 2xx on success. The JSON body is the report shown in the plugin’s “Report preview”
box.

FAQ

Does it slow the site down?

No. Collection is read-only. It runs once a day in WP-Cron, and only when an
endpoint and a token are saved; otherwise only when you press “Send report
now” or “Build report preview” on the settings screen. The uploads scan stops at whichever comes
first: the number of PHP files it may read (5,000 by default), the number of
files and folders of any kind it may visit (200,000 by default), or about
10 seconds. A media library larger than that is not walked to the end, and the
report then says truncated. Opening the settings screen scans nothing; the
preview is built when you press its button.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“EasyCloud Fleet Report” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.2

  • Change: the uploads scan now has a limit on its whole walk. It stops after a set number of files and folders of any kind (200,000 by default, adjustable on the settings screen) or after about 10 seconds, and the report then says truncated. Before, only PHP files counted toward the limit, so a large media library was walked to the end.
  • Change: the daily report and “Send report now” collect nothing, and do not scan uploads, while no endpoint and token are saved.
  • Change: opening the settings screen no longer builds the report. The preview is built when you press “Build report preview”.

1.1.1

  • Fix: an uploads folder that can be listed but not opened is reported as truncated. Before, the scan read no file there and reported nothing found.
  • Fix: a linked folder inside uploads marks the scan truncated. The scan does not follow links, and before it skipped them without saying so.
  • Fix: on Windows servers a folder is no longer treated as unreadable, which marked the scan truncated whenever uploads had a folder in it.

1.1.0

  • Change: new name, EasyCloud Fleet Report, with the folder and text domain easycloud-fleet-report. Settings, the cron event and the report format are unchanged.
  • New: the readme and the settings screen say exactly what a report contains, including administrator email addresses, and where it goes.
  • New: suggested privacy-policy text under Settings > Privacy.
  • Change: the endpoint field shows a neutral example address.
  • Tested up to WordPress 7.2 (7.2-RC3, single site and multisite, PHP 7.4 and 8.5).

1.0.4

  • Security: the uploads scan skips a file as a harmless guarded log only when its first statement really halts and runs nothing (<?php die;, <?php exit(0); ?>, <?php die( 'Forbidden' );). Before, any file starting with <?php die or <?php exit was skipped, so <?php exit( eval( ... ) ); went unreported.
  • Fix: a folder inside uploads that PHP cannot read no longer stops the whole report. The folder is skipped, the rest is scanned, and the result says truncated.
  • Fix: scanned is exact when the file limit is reached; it was one too high.
  • Change: the uploads folder is located through WordPress only, with no wp-content/uploads fallback.
  • Change: the plugin passes Plugin Check, and its description lists only what the plugin itself reports.

1.0.3

  • Fix: the display_errors flag reads the PHP setting the way PHP does. Before, the value stderr counted as hidden, although a web server still prints errors into the page with it.

1.0.2

  • Fix: the ssl flag reads the stored site addresses, so it no longer depends on the request that builds the report. It is true when the front end is HTTPS and wp-admin is HTTPS or forced to it with FORCE_SSL_ADMIN.
  • New: a display_errors flag says whether PHP prints errors into pages, whichever of WordPress or php.ini set it. It is null when the report is built where that cannot be measured, such as WP-CLI.

1.0.1

  • Fix: the ssl flag now reports whether the site is configured for HTTPS. Before, it described the background request that built the report and was often false on HTTPS sites.
  • Fix: the debug_display flag is now true only when WP_DEBUG and WP_DEBUG_DISPLAY are both on. Before, it was true on any site that left WP_DEBUG_DISPLAY at its default.

1.0.0

  • Initial release: daily authenticated posture reports (versions, inventory,
    admins, hardening flags, bounded uploads webshell scan) with a send-now
    button and live report preview.