Security Scan
Composer kowal/module-securityscan · Version 1.0.31
Product page
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
composer require kowal/module-securityscan
bin/magento module:enable Kowal_SecurityScan
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
- Under Stores → Configuration → Kowal → Security Scan → General Settings, enable the module and set report retention.
- Set the report recipient and sender. Establish the first file baseline from a reviewed store release so its provenance is known.
- 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
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.