About this plugin
Author: Fahad Mahmood
com/extends/wordpress/plugins/injection-guard
License: GPL v2 or later
Injection Guard is a WordPress plugin designed to block malicious query string attacks and suspicious URL parameters. It logs all incoming attempts, blocks harmful parameters, and adds extra security intelligence to your WordPress admin—like user session tracking and capability audit.
The plugin uses the ig_ prefix for database keys and functions, follows WordPress coding standards, and supports multiple languages. It’s compatible with pretty permalinks and helps in securing your site from automated bots and manual attacks.
How it works: Injection Guard learns which query-string parameters your visitors use (only the names, never the values). You mark each one as good or bad from the Log tab; bad parameters are blocked on that URL from then on. 4: an optional attack-signature scan, a global blacklist, safe-parameter patterns, a blocked-requests list with CSV export, and a dashboard that shows what is happening at a glance.
Pro version
Automatic IP ban for repeat offenders, email alerts, a new-administrator watch (also catches accounts created straight in the database), an extended signature set with scanner user-agent blocking, an IP allowlist and a capability-audit CSV export.
Method A (Admin Panel)
- Login to WordPress Admin > Plugins > Add New > Upload Plugin
- Upload the ZIP file and activate the plugin
- Go to Settings > Injection Guard, review the Settings tab and click “Save Settings”
Method B (Manual Upload)
- Download and unzip the plugin package
- Upload the folder to /wp-content/plugins/injection-guard/
- Activate the plugin from the WordPress Dashboard
- Visit Settings > Injection Guard to configure
Features
- Logs all unique query strings attempting to penetrate your website
- Blocks malicious or unknown query parameters (per URL or on every URL)
- Safe-parameter list with prefix patterns such as utm_*
- Optional attack-signature scan (SQL injection, script injection, path traversal, PHP execution) in “record” or “block” mode
- Blocked-requests list with anonymised IPs, plus CSV export of the log and the blocked list
- Search and filter the log, clear it, or let it forget old entries automatically
- Dashboard with 24-hour counters and the latest blocked requests
- Tracks login, logout, session start and duration per user
- Capability audit report for all WordPress users, with search and a flagged-only filter
- Multi-language support (FR, DE, ES)
- Bootstrap-based admin UI and dashboard
License
This plugin is free software licensed under the GNU GPL v2 or later.
You should have received a copy of the GNU General Public License along with this plugin. html.