Sherlock Logo Sherlock

Security scanner and monitor to keep your site secure.

Checks for security vulnerabilities in your site and tells you how to fix them.

Receive an instant email notification if your site fails a security scan.

Easily schedule security scans to automatically run daily or weekly.

Sherlock is a security scanner and monitor to keep your Craft CMS site secure. An essential plugin for any site that stores sensitive or important data and that should be protected from cyber attacks.

Sherlock security scan results are determined by a set of criteria used by the plugin’s standard/​high security level setting. This is only a guideline and cannot ensure that your site and server are 100% secure. The security of every site is solely the responsibility of the site owner.

Sherlock scan result

Features #

Security Tests
Sherlock checks for security vulnerabilities on your site such as folder and file permissions, cross-origin resource sharing, cross-site request forgery, HTTP response headers, etc. and tells you how to fix them.

Encrypted Connections
Sherlock ensures that your site is forcing encrypted connections both on the front-end and back-end so as to secure user data and credentials.

CMS Configuration
Sherlock checks all of the Craft CMS configuration settings on your site to ensure that they are properly configured and safe to use in a production site.

Critical Updates
Sherlock runs a series of tests to ensure that your site is correctly updated and will warn you about critical security updates to the CMS, plugins and the PHP version running on your server.

Email Notifications
Receive an instant email notification if your site fails a security scan. A control panel alert in the CMS also notifies you of a failed security scan.

Scheduled Scans
Easily schedule security scans to automatically run daily or weekly on your site with cron jobs.

Scan Details & History
View the full details of your site’s last scan, including failed tests and warnings. For each test you can view more details and relevant documentation. You can also view a security scan history of your site over time.

Scan history

License #

This plugin requires a commercial license purchasable through the Craft Plugin Store. The license fee is $299 plus $99 per subsequent year for updates (optional).

Requirements #

This plugin requires Craft CMS 3.1.0 or later.

Usage #

Getting Started #

To install the plugin, search for Sherlock” in the Craft Plugin Store, or install manually using composer.

composer require putyourlightson/craft-sherlock

Once installed, visit the Sherlock page in the control panel to run your first security scan.

Settings #

Live Mode #

Whether the site is live. If enabled then control panel alerts will be shown to all users that have access to the Sherlock plugin and notification emails will be sent if the site scan status changes from pass to fail and if any critical updates are detected.

High Security Level #

Whether Sherlock should be extra critical of security issues and the resulting warnings.

Header Protection #

Protects your site by setting HTTP response headers that provide added security.

Notification Email Addresses #

Enter the email addresses (separated by commas) that should be notified of security issues.

API Key #

A random 32 character string that will allow calls to the plugin and must be set for calls to work. You can use this to create a cron job to run scans on a regular basis. 

Restrict Control Panel Access To IP Addresses #

Restrict access to the control panel to one or more IP addresses (one IP address per line, logged in admins always have access). The * and ? wildcards are supported.

Restrict Front-End Access To IP Addresses #

Restrict access to the front-end to one or more IP addresses (one IP address per line, logged in admins always have access). The * and ? wildcards are supported.

Config Settings #

Sherlock comes with a config file for a multi-environment way to set the plugin settings, as well as more advanced plugin configuration settings. To use it, copy the config.php to your project’s main config directory as sherlock.php and uncomment any settings you wish to change. All of the available settings are listed and documented in the config file.