Security: Featured Image
Free WordPress security plugin

Protect Your WordPress Site With a Free Firewall, Login Defence and Scanner

WPCodeForge Security brings practical, everyday protection into one tidy dashboard. Filter suspicious requests, stop repeated login attempts, check for risky code and keep a clear record of what’s happening, all from inside WordPress and with no coding required.

Request firewallLogin lockoutsRead-only scannerIntegrity checksComment anti-spamActivity log
WPCodeForge Security WordPress plugin icon
WPCodeForge Security dashboard showing protection status, recent events and scan activity
FreeTo download and use
13Security screens
6.2+WordPress
7.4+PHP
What you get

Everyday WordPress security, made simple

Every tool is controlled from inside WordPress, with plain-English notes beside each option explaining what it does and what to test.

🛡️

Request firewall

Filters common SQL injection, XSS and path-traversal patterns, blocks sensitive file paths, and supports custom path fragments, IPv4/IPv6 and CIDR blocking, plus optional rate limiting.

🔐

Login protection

Choose how many failed sign-ins are allowed and how long a lockout lasts. Optional administrator alerts keep you informed.

🔍

Read-only scanner

Checks selected PHP indicators and a sample of published content for risky code. It never changes or deletes your files.

✅

Integrity checks

Compares WordPress core files with the official checksums and builds a SHA-256 baseline for plugin and theme PHP files.

🧱

Hardening options

Hide the generator tag, disable XML-RPC pingbacks, restrict public REST user lists, turn off the file editor and add browser security headers.

🚫

Comment anti-spam

A hidden honeypot field, a minimum submission time and a link limit help reduce automated comment spam.

📋

Activity & traffic

A tidy activity log with CSV export, plus optional privacy-conscious traffic summaries that leave out query strings and full IP addresses.

🧰

Health & backups

Run health checks, view update indicators, export your settings and download an on-demand SQL database export.

Take the tour

See every screen inside the plugin

Pick a tab to see what each area does. Click any screenshot to open it full size, then zoom and move around.

Security Dashboard

A clear overview of your protection status, recent events and the next useful checks.

  • See firewall and login protection status at a glance
  • Review recent events and your last scan
  • Follow simple recommended next steps
  • Switch on the firewall, login protection and comment honeypot in one place
WPCodeForge Security dashboard screen

Security Scanner

A bounded, read-only check for risky configuration and suspicious PHP indicators.

  • Set the maximum number of files inspected per scan
  • Include .phtml, .php5 and .inc files if you need to
  • Check up to 100 recent published posts for suspicious markup
  • Compare WordPress core files with the official checksums

Findings are for you to review. A clean result is encouraging but doesn’t prove a site is secure.

WPCodeForge Security scanner and core integrity check screen

Firewall

Baseline filtering for suspicious requests and sensitive paths.

  • Filter common SQL injection, XSS and traversal patterns
  • Block common repository, configuration and diagnostic paths
  • Add IP addresses, CIDR ranges and custom path fragments
  • Optionally rate-limit front-end requests (off by default)

After enabling filtering, give your forms, APIs and integrations a quick test.

WPCodeForge Security firewall settings screen

Login Security

Control repeated failed sign-ins and review authentication events.

  • Choose how many failed attempts trigger a lockout
  • Set a lockout length that expires automatically
  • Show generic login errors that reveal less to attackers
  • Turn on optional administrator alerts after a lockout
WPCodeForge Security login security screen

Bad Bots & Honeypot

Reduce automated comment spam with a simple hidden-field honeypot.

  • A hidden honeypot field on the standard comment form
  • A minimum number of seconds before a comment can be sent
  • A maximum number of links allowed per comment

Custom themes and third-party comment systems may not support these fields, so test your form first.

WPCodeForge Security bad bots and honeypot screen

Threat Intelligence & Updates

Review update indicators using the update information WordPress already holds (it isn’t a live vulnerability feed).

  • See your WordPress version and core update status
  • Spot plugins and themes with updates waiting
  • Enable official core integrity checks
  • Optionally run the core check daily
WPCodeForge Security update indicator options WPCodeForge Security update status and recommended response

Activity Log

A bounded record of selected security events.

  • Record logins, firewall blocks, scans and settings changes
  • Choose how many events to keep
  • Download the log as a safe CSV file
  • Clear the log whenever you like
WPCodeForge Security activity log screen

Live Traffic

A limited, rolling sample of recent front-end request summaries.

  • Stores the request path, method and broad context only
  • No full IP addresses, cookies, request bodies or query strings
  • Exclude logged-in users to cut internal noise
  • Disable it or clear the sample at any time
WPCodeForge Security live traffic screen

Tools & Diagnostics

Check essential security configuration at a glance.

  • See WordPress and PHP versions, HTTPS detection and debug status
  • Switch on baseline browser security headers
  • Create or compare a SHA-256 baseline of plugin and theme PHP files

The baseline stores file hashes, not file contents. Refresh it after legitimate updates.

WPCodeForge Security tools and diagnostics screen

Advanced Security

Selected hardening options, each with a compatibility note.

  • Hide the WordPress generator tag
  • Disable XML-RPC pingback methods only
  • Restrict public REST API user listings
  • Disable the built-in theme and plugin file editor
  • Add conservative browser security headers
WPCodeForge Security advanced hardening options screen

Backups & Maintenance

Export settings, restore defaults and download a database export when you need one.

  • Download your plugin settings as a JSON file
  • Stream an on-demand SQL export of your database
  • Restore default settings, with optional log clearing

A database export contains sensitive data, so store it securely. It’s an export, not a restore tool.

WPCodeForge Security backups and maintenance options WPCodeForge Security settings export, database export and reset

Settings

Data-retention preferences, traffic logging and administrator alerts.

  • Record a bounded sample of front-end traffic
  • Choose how many activity events to retain
  • Email the administrator after a login lockout

Only store what you need, and clear logs from inside the plugin at any time.

WPCodeForge Security settings screen
Quick start

Up and running in four steps

Install

Upload the wpcodeforge-security folder to /wp-content/plugins/, or install the ZIP from the Plugins screen.

Activate

Activate the plugin, then open WPCF Security in your WordPress admin menu.

Switch on protection

Enable the firewall, failed-login protection and comment honeypot from the dashboard.

Test & scan

Try your login, comments, forms and integrations, then run the scanner and review what it finds.

Good to know

Built to complement good security habits

No single plugin can guarantee a website is safe. WPCodeForge Security adds a sensible protective layer alongside updates, secure hosting and tested backups.

Great for

  • Adding baseline protection quickly
  • Slowing brute-force login attempts
  • Spotting changed core files and risky indicators
  • Keeping a small, privacy-conscious security log
  • Hardening common WordPress weak spots

Worth remembering

  • Keep WordPress, plugins, themes and PHP updated
  • Test important forms and integrations after enabling firewall rules
  • The scanner is read-only: it reports, you decide what to do
  • Keep regular, tested backups with your host
  • The free plugin doesn’t send site data to external threat services
Free vs Pro

Start free, upgrade when you need more

The free plugin works fully on its own. Security Pro is a separate paid plugin with deeper controls.

Area
Free plugin
Security Pro adds
Firewall
Common-pattern checks, sensitive paths, custom fragments, IP/CIDR blocking, optional rate limiting
Expanded policies, advanced IP and network rules, granular rate limits, trusted-proxy setup
Login security
Failed-login throttling, lockouts and generic errors
Authenticator-based two-factor, custom login URL, expanded lockout policies
Scanning & integrity
Bounded read-only scan, core checksum check, plugin and theme baseline
Plugin and theme integrity comparisons, expanded file analysis, scan-report exports
Threat intelligence
Local update indicators
Vulnerability intelligence, advisory context, threat-feed integrations
Bots & honeypot
Hidden-field honeypot, timing and link limits
Advanced bot rules, honeypot management, trapped-submission investigation
Activity & traffic
Bounded activity log, CSV export, traffic sample
Broader event coverage, richer investigation, additional reports
Backups & maintenance
Settings export and on-demand SQL export
Verified backup workflows, integrity checks, recovery controls
Health & diagnostics
Baseline checks and simple diagnostics
Deeper checks and prioritised remediation guidance
Security Pro

Want deeper protection? Meet Security Pro

A separate paid plugin for administrators who want more control, richer investigation tools and stronger login defences.

  • Authenticator-based two-factor authentication
  • Advanced firewall, IP and rate-limit policies
  • Plugin, theme and core integrity comparisons
  • Vulnerability advisory lookups and threat intelligence options
  • Database backup, integrity checks and recovery controls
Security Pro features preview inside WPCodeForge Security
FAQ

Your questions, answered

Is WPCodeForge Security really free?

Yes. You can download it and use every working control at no cost. Security Pro is an optional, separate plugin for people who want extra features.

What do I need to run it?

WordPress 6.2 or newer and PHP 7.4 or newer. Everything is configured from the WPCF Security menu in your admin area.

Does this plugin guarantee my site is secure?

No security tool can promise that. This plugin adds selected baseline protections and diagnostics. Keep your software updated, use secure hosting, keep tested backups and review your security regularly.

Can the firewall block legitimate visitors?

Pattern-based rules can occasionally flag genuine requests. Review any custom rules carefully and test your important forms, integrations and APIs after enabling filtering.

Does the scanner repair or delete files?

No. The scanner is read-only. It reports selected indicators for you to review and doesn’t claim to be a complete malware scanner.

Does traffic logging store full IP addresses or query strings?

No. Traffic summaries store the request path without its query string, the request method and a broad session context. The sample is bounded and can be switched off.

Will the comment anti-spam work with every comment system?

It’s designed for the standard WordPress comment form. Custom themes and third-party comment systems may not output the fields, so test your form after enabling it.

Does the free plugin send my data to an outside service?

No site data goes to an external threat-intelligence service. Core integrity checks request the official checksum list from WordPress.org.

Do I need Security Pro?

No. The free plugin stays fully usable without it. Pro suits people who want extras such as two-factor authentication, expanded firewall policies and vulnerability intelligence. See Security Pro.

Give your WordPress site a stronger foundation today

Download WPCodeForge Security for free, switch on the essentials in minutes and move up to Pro only if you need more.

James William Steven Parker, founder and director of WPCodeForge

Created by James William Steven Parker

WPCodeForge Security is created and maintained by James William Steven Parker, founder and director of WPCodeForge. Learn more about us, our plugin development standards and our security disclosure policy.

Scroll to Top