---
title: 'Security Scan'
url: 'https://info.srv.kowal.co/docs/magento/modules/module-securityscan'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/module-securityscan.md'
lang: en
date: '2026-11-25'
description: 'Monitor changes to Magento files and inspect selected store data for suspicious content. Administrators can review the findings in saved reports.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - security
    - monitoring
---

# Security Scan

**Composer** `kowal/module-securityscan` · **Version** 1.0.31

## Product page

[Security Scan — kowal.co](https://kowal.co/magento-2-security-module-kowal-security-scan)

## Description

Monitor changes to Magento files and inspect selected store data for suspicious content. Administrators can review the findings in saved reports.

## For whom

For store administrators who compare changes with deployment history and investigate findings that need further review.

## Features

- Compare files with a saved baseline.
- Separate checks for files and selected database tables.
- Admin reports, email notifications and configurable report retention.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-securityscan
bin/magento module:enable Kowal_SecurityScan
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Under **Stores → Configuration → Kowal → Security Scan → General Settings**, enable the module and set report retention.
2. Set the report recipient and sender. Establish the first file baseline from a reviewed store release so its provenance is known.
3. Check that the **securityscan** cron group runs. Review **Security Scan → Reports** and compare findings with the timing and contents of store deployments.

## Requirements / notes

The package requires Kowal Base. OpenAI analysis and Google Safe Browsing URL checks have separate settings. Neither is required for the initial file change monitoring test.

## FAQ

**Why did the first filecheck run show no differences?**

The first run creates the reference snapshot. Subsequent checks compare files with that snapshot, so the initial report confirms that the baseline was created.

## Verify the installation

```sh
bin/magento module:status Kowal_SecurityScan
```

On staging, run `bin/magento kowal_securityscan:filecheck` and inspect the baseline creation report. After a known deployment changes a monitored file, run the check again and compare the report with that release’s change list.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Product Attribute Copy](https://info.srv.kowal.co/docs/magento/modules/product-attr-copy.md)
- Next: [Kowal Subscription Suite](https://info.srv.kowal.co/docs/magento/modules/subscription-suite.md)
