Deviser Shield – Instant Activity & File Change Alert

By Vishnu Malhotra

★ 5.0/5 (5 ratings)20+ active installationsVersion 1.0.6

Monitor WordPress plugin activity and receive instant email alerts for activations, deactivations, deletions, and file changes.

Description

Keep your WordPress site secure and under control by monitoring all plugin-related activities.

Deviser Shield tracks important WordPress plugin activities, including activations, deactivations, deletions, and file modifications. It helps site administrators detect unauthorized changes, troubleshoot issues, and maintain full visibility over plugin activity.

Email notifications for plugin activations, deactivations, and deletions are sent instantly to the site administrator or to custom email addresses configured in the plugin settings.

For file and folder modifications, the plugin performs an automated scan every 15 minutes using WordPress Cron. If any changes are detected, an email notification is sent with details of modified, added, or deleted files.

In addition to email alerts, Deviser Shield maintains a local activity log file (deviser-shield.log) within the plugin directory. Administrators can view these logs directly from the settings page via an interactive modal log viewer. The viewer categorizes log entries with colored badges and details, and features instant real-time search filtering, a copy-to-clipboard function, and log clearing capabilities.

The plugin provides an interactive “Email Alert Graph” on the settings page. This visual dashboard tracks the total lifetime count of email alerts sent for each specific plugin action, giving you a clear, at-a-glance overview of all recorded activity.

New Advanced Settings plugin table allowing administrators to selectively track activities (Activation, Deactivation, Deletion, Manual Edits) on a per-plugin basis.

WordPress core monitoring checks files and folders in the WordPress root, wp-admin, and wp-includes. It detects additions, changes, and deletions, and checks eligible core files against official WordPress checksums. The wp-content folder and all its subfolders are excluded from core scanning. Core scans are scheduled daily through WP-Cron. The first inventory scan establishes a baseline, and unchanged findings do not repeatedly trigger alerts.

MU-plugin monitoring separately checks wp-content/mu-plugins and its subfolders for added, modified, or deleted files every 15 minutes through WP-Cron. The first scan establishes a baseline.

Theme monitoring checks the themes directory and its subfolders for added, modified, or deleted files and folders every 15 minutes through WP-Cron. The first scan establishes a baseline.

New user registration monitoring sends email notifications when a WordPress user account is created. Core-file monitoring, MU-plugin monitoring, theme monitoring, and new-user email alerts can each be enabled or disabled in settings. Scheduled scans may run later than expected on low-traffic sites because they rely on WP-Cron.

Features

  • Monitor plugin activation and deactivation events

  • Detect plugin deletions instantly

  • Track file and folder modifications within plugins

  • Local activity logging in a dedicated file with enable/disable settings

  • Interactive log viewer modal to view, search, and copy logs directly from the dashboard

  • Skip log file email alerts option to filter out noise from automated log file changes

  • Selectively track or ignore specific plugin activities (activations, deactivations, deletions, modifications)

  • New Advanced Settings plugin table allowing administrators to selectively track activities (Activation, Deactivation, Deletion, Manual Edits) on a per-plugin basis.

  • WordPress core monitoring checks files and folders in the WordPress root, wp-admin, and wp-includes. It detects additions, changes, and deletions, and checks eligible core files against official WordPress checksums. The wp-content folder and all its subfolders are excluded from core scanning. Core scans are scheduled daily through WP-Cron. The first inventory scan establishes a baseline, and unchanged findings do not repeatedly trigger alerts.

  • MU-plugin monitoring separately checks wp-content/mu-plugins and its subfolders for added, modified, or deleted files every 15 minutes through WP-Cron. The first scan establishes a baseline.

  • Theme monitoring checks themes and subfolders for added, modified, or deleted files and folders every 15 minutes through WP-Cron. The first scan establishes a baseline.

  • New user registration monitoring sends email notifications when a WordPress user account is created. Core-file monitoring, MU-plugin monitoring, theme monitoring, and new-user email alerts can each be enabled or disabled in settings. Scheduled scans may run later than expected on low-traffic sites because they rely on WP-Cron.

  • Download raw log files directly to your device

  • Clear activity logs instantly inside the viewer modal

  • Receive real-time email notifications

  • Lightweight and performance-optimized

  • Easy to configure and use

Third-Party Libraries

Deviser Shield bundles the following open-source libraries:

  • Chart.js (version 4.5.1) – JavaScript charting library used for the Email Alert Graph. License: MIT. Project: https://www.chartjs.org/ . License: https://github.com/chartjs/Chart.js/blob/master/LICENSE.md . Bundled file: assets/js/chart.min.js .

  • Select2 (version 4.1.0-rc.0) – Enhanced selection controls in plugin settings. License: MIT. Project: https://select2.org/ . License: https://github.com/select2/select2/blob/4.1.0-rc.0/LICENSE.md . Bundled files: assets/js/select2.min.js and assets/css/select2.min.css .

Both libraries are distributed under their respective MIT licenses. WordPress-provided jQuery is used as a dependency and is not bundled with this plugin.

How It Works

After activation, the plugin automatically starts monitoring plugin activity. Whenever a change is detected, an email notification is sent with detailed information so administrators can take immediate action if required.

Use Cases

  • Improve WordPress site security

  • Detect unauthorized plugin changes

  • Monitor administrator or developer actions

  • Maintain an audit trail of plugin activity

Installation

  1. Upload the plugin folder to /wp-content/plugins/

  2. Activate the plugin through the Plugins menu in WordPress

  3. Go to Deviser Shield → Settings

  4. Add email addresses to receive alerts

FAQ

Does this plugin require configuration?

No. The plugin works automatically after activation. However, you can add custom email addresses from the settings page.

Who receives the alerts?

By default, alerts are sent to the site administrator email address. You can also add additional email recipients.

Does this plugin affect website performance?

No. The plugin is lightweight and optimized for minimal performance impact.

How often are file changes checked?

The plugin scans plugin files every 15 minutes using WordPress Cron.

Screenshots

Changelog

1.0.0

  • Initial release

1.0.1

  • Maintenance updates

  • Improved coding standards and function prefixes

  • Updated text domain

  • Updated contributor information

1.0.2

  • Include plugin name in email subject line and format notification subjects.

  • Add option to enable/disable activity log (default: Enable).

  • Add option to skip sending email alerts for .log files (enabled by default).

1.0.3

  • Added the website name to the alert email and reordered message content for improved clarity.

  • Improved log file exclusion to also skip files containing .log, _log, -log, or log in their filename.

  • Added an interactive “Email Alert Graph” to the settings page to visually track the total number of alerts sent for each plugin action.

  • Added settings checkboxes to selectively track or ignore specific plugin activities (activations, deactivations, deletions, modifications).

1.0.4

  • Added a new tabbed interface (General and Advanced) to the settings page for better organization.

  • Introduced a new Advanced Settings plugin table allowing administrators to selectively track activities (Activation, Deactivation, Deletion, Manual Edits) on a per-plugin basis.

  • Improved email alert formatting by removing extra spacing between modified file entries.

1.0.5

  • Added a function to identify if a plugin path belongs to this plugin, preventing the plugin from triggering alerts for its own activity.

  • Excluded Deviser Shield from the Advanced Settings plugin list.

1.0.6

  • Added daily WordPress core-file and folder change monitoring, with official checksum checks and full wp-content exclusion.

  • Added MU-plugin file monitoring with 15-minute scheduled scans.

  • Added email alerts for new WordPress user registrations.

  • Theme file and folder change monitoring with 15-minute scheduled

  • Added independent settings to enable or disable the three security monitoring features.

  • Moved dashboard chart JavaScript to the external script file.

  • Documented bundled Chart.js and Select2 third-party libraries.