r/WordpressPlugins • • Oct 16 '26

[FREE] I built a security plugin that attacks your own site to show what's actually protected

Post image

I got tired of security plugins asking me to trust them, so I built one that shows its work.

One thing that always bothered me about WordPress security plugins is that you can enable a dozen security features, see a bunch of green checkmarks, and still have no clear idea what’s actually protecting your site.

So I decided to build something different: SecureLite Security.

The main feature is Attack Simulation. It runs 13 harmless security tests against your own WordPress site and shows you what happened:

  • Was the attack blocked by the plugin?
  • Did your hosting provider's firewall stop it?
  • Or did nothing stop it?

It tests things like SQL injection, XSS, path traversal, brute-force logins, user enumeration, PHP execution in uploads, and XML-RPC abuse.

If a test fails, it tells you what to fix. You can then rerun that specific test instead of repeating the entire scan.

Something else influenced how I built it.

Before writing the code, we went through 1,080 negative reviews of major WordPress security plugins. Interestingly, only 3.4% of those reviews mentioned failure to stop an attack. More common complaints involved people getting locked out of their own sites (12.7%) or their sites going down (11.3%).

That made me think: security shouldn't come at the cost of losing access to your own website.

So I designed SecureLite's lockout system to avoid locking out the real admin, with a documented recovery process if something goes wrong.

It also includes a firewall, login protection, hidden login URL, 2FA with recovery codes, WordPress core integrity checks, and a malware scanner.

It's free, doesn't require an account, and doesn't nag you to upgrade.

I'm still improving it, and I'd genuinely like feedback from people who manage WordPress sites.

If you tried it on your own site, what would you want a security plugin like this to prove to you? And if you're running LiteSpeed or shared hosting, I'd especially appreciate hearing how it behaves in your environment.

Plugin: https://wordpress.org/plugins/securelite-security/

9 Upvotes

13 comments sorted by

2

u/certifiedtechfresh Oct 16 '26

This looks promising

1

u/Used-Painter4245 Oct 17 '26

Thanks! If you get a chance to run it on a site, I'd love to hear what the simulation shows. Even "this result looks wrong" is really useful at this stage.

1

u/ninjitsu101 Oct 16 '26

Hum.... Nice work around but...

1

u/Used-Painter4245 Oct 17 '26

Ha, I can feel a "but" coming 😄 Go on, I'd genuinely like to hear it. What's the catch you see? Criticism is more useful to me right now than compliments.

1

u/CarlosCash Oct 17 '26

I'm glad you made this plug-in free for everyone. I'll test it on a shared hosting that I have use for small clients

1

u/Used-Painter4245 Oct 18 '26

Thanks Carlos, that’s exactly the kind of setup I want it tested on. Shared hosting is where things get interesting, because a lot of the time the host’s own firewall answers before WordPress does, and the simulation tries to tell you when that happened instead of taking the credit.

A couple of things that might come up on shared hosts:

If the run says it “couldn’t reach the site over HTTP (loopback)”, that’s the host blocking the site from calling itself. It’s not a plugin failure, but I’d still like to know which host it was.

If a check shows “blocked by your hosting server”, that’s a pass, but it was the host’s protection, not SecureLite’s.

If anything looks off, a screenshot of the results (or just the host name and what it said) would help a lot. Thanks for giving it a go!

1

u/CarlosCash Oct 18 '26

I'll test this morning and get back to you today with notes/screen recordings

1

u/PeepSoWP Oct 17 '26

Before I would trust attack simulation on a production site, I would want a published safety model for every test: the endpoint and payload class, whether it writes files or database rows, the cleanup check, the timeout, and how an interrupted run resumes or stops. I would also make staging the default recommendation and keep rate or brute-force simulations explicitly opt-in.

The result should distinguish a probe blocked by the host or edge firewall from one blocked by the plugin, and show the evidence used for that attribution. The most useful regression test may be an interrupted run: no residue, no repeated cron retries, and no chance of locking out the real admin. That would make the simulations more credible than another set of green status checks.

1

u/Used-Painter4245 Oct 18 '26

Honestly this is the most useful comment I’ve had so far, thanks. Here’s where it stands, including the parts that aren’t good enough yet.

What the tests write:

  • The firewall, bot, XML-RPC, user enumeration, file exposure, upload and PHP-in-uploads tests write nothing to disk. The upload test file is never saved. Some blocks (XML-RPC, user enum) do get logged as events.
  • The malware scanner test runs on samples in memory, nothing on disk.
  • Brute force is the one with real side effects. It uses throwaway usernames, never a real account. The lockout it creates is cleaned up at the end. The failed-login events stay in the log and digest, and other plugins that watch failed logins will see them coming from your server’s IP.

Locking out the real admin: it can’t touch your account or your IP. The only exception is browsing from the same IP as the server, which basically means local dev. If the host blocks the test logins, the plugin falls back to a method that’s built specifically so it can’t lock you out.

Host vs plugin: every result says who stopped the attack. If your host or edge firewall blocked it before WordPress ran, it’s shown as “blocked by your hosting server”, not credited to SecureLite. Cache responses and timeouts are reported as “not tested”, never as a pass.

Interrupted runs are the weak spot. No cron, nothing retries in the background. But cleanup only runs at the end, so if you close the tab halfway, the lockout on the server’s IP stays until it expires (15 min by default, longer if it happens repeatedly), and the report isn’t updated. Real visitors aren’t affected, but it’s residue. I’m adding a stale-run cleanup plus the “kill it halfway” test you described.

“Agreed on the risk. Rather than send people to staging, I’m making it safe enough for production: the login test will no longer flood the login page, every step cleans up after itself even if you close the tab, and test events won’t touch your logs.”

Thanks again, this is the kind of feedback I was hoping for.

1

u/Used-Painter4245 Oct 18 '26

Update: 0.2.17 is out and goes further than I described. The attack tests no longer send anything over the network: no test logins, nothing your host’s firewall or other plugins can see, nothing in your logs, and nothing left behind even if you close the tab halfway. The “kill it halfway” case is now a regression test, as you suggested. One trade-off to be upfront about: because the tests stay inside WordPress, the default run no longer reports what your host blocks. That will be a separate opt-in test later. safety notes are in the FAQ: https://wordpress.org/plugins/securelite-security/#faq. Thanks again, this changed the design for the better.

1

u/PeepSoWP Oct 19 '26

That is a materially safer boundary, and separating internal simulation from an optional perimeter test is the honest trade-off. I would label the default result explicitly as “WordPress control-path test; host and edge protection not tested” instead of letting an all-green screen imply full-stack coverage.

For the future network test, use a one-time signed scope, strict rate and time limits, an abort and cleanup path that survives a closed tab, and an explicit source identity so host logs are understandable. Keep internal and perimeter results separate in the report. It is good to hear that the killed-run case is now a regression test.

1

u/Used-Painter4245 Oct 19 '26

Thanks, this is great engineering advice. You’re right about the label: a screen full of green ticks reads as full-stack coverage, and that’s more than the default run proves today. Rather than only adding a “not tested” note, I’m looking at closing the gap: checking that real requests actually reach the rules being tested, so the result means what it appears to say. Either way, I won’t let the screen claim more than it has shown.

I’ve also noted your requirements for the perimeter test: a signed one-time scope, rate and time limits, an abort that survives a closed tab, a clear source identity, and results kept separate from the in-WordPress ones.

Thanks for taking the time. This thread has made the plugin better.

1

u/Used-Painter4245 Oct 19 '26

Follow-up: 0.2.19 is out, and instead of only relabelling the result I closed the gap. The run now starts with one normal page request to the site (no attack, no login) and only passes if SecureLite’s firewall itself inspected it, so a pass now means the attacks would meet those rules on the real request path, not just in isolation. If a cache, the host or another plugin answers first, it says so instead of passing. If a CDN or proxy sits in front, the report names it and says its own firewall wasn’t tested, and every report ends with a plain line on what was and wasn’t covered. Your perimeter-test requirements are on the list for the external version. Thanks again.