Security review example results page

The Security Review module automates testing for many of the easy-to-make mistakes that render your site insecure.

Get started easily

It's quick and easy to get started. Download and enable the module and just hit the "Run checklist" button to see results. This module is meant to run in your production environment. You might choose to run it in other environments (if you have them), but some checks need to run in production to be effective.

Features

Security Review runs the following checks:

  • Safe file system permissions (protecting against arbitrary code execution)
  • Text formats don't allow dangerous tags (protecting against XSS)
  • PHP or Javascript in content (nodes and comments and fields in Drupal 7)
  • Safe error reporting (avoiding information disclosure)
  • Secure private files
  • Only safe upload extensions
  • Large amount of database errors (could be sign of SQLi attempts)
  • Large amount of failed logins (could be sign of brute-force attempts)
  • Responsible Drupal admin permissions (protecting against access misconfiguration)
  • Username as password (protecting against brute-force)
  • Password included in user emails (avoiding information disclosure)
  • PHP execution (protecting against arbitrary code execution)
  • Base URL set / D8 Trusted hosts (protecting against some phishing attempts)
  • Views access controlled (protecting against information disclosure)

This module does not automatically make changes to your site. You should use the results of the checklist and its resources to manually secure your site. The results of some checks may be incorrect depending on unique factors of your site.

Note that the checks provided by this module do not make for a fully secure site. Security is a process, so you should work to pass all of the Security Review checks and also audit your site for risks this module cannot check for (see below for info on one provider of those services).

Branches

3.0.x - completed rewrite using plugins, D10 only. - supported

Upgrading to 3.0.x

  1. Uninstall security review module completely
  2. Upgrade modules
  3. Export new config files

2.0.x - Latest branch, D9 + D10 - supported
8.x - No longer supported
7.x - No longer supported, pending security issue

Consult the README.txt for 8.x or 7.x for more information on installation and usage.

More information about security in Drupal

You may also be interested in:

Supporting organizations: 
Development
Ongoing development
Drupal 8 upgrade
Sponsoring Co-maintainer + ongoing development + maintenance

Project information

Releases