What phpwarden does now: from dependency checker to full PHP security, ranked by what attackers use

phpwarden 2.5 scans your own PHP code, blocks exploits inside PHP, checks your live site (even behind a login), and still ranks everything by CISA KEV, then EPSS.

Published 2026-11-16

If you last looked at phpwarden a few months ago, you saw a dependency checker: it read your composer.lock, your WordPress plugins and your PHP version, and told you which known vulnerabilities attackers were actually using. It still does that, and that ranking is still the point. But it now covers a lot more of a PHP application, and some descriptions of it online are out of date. Here is what it does as of version 2.5.

Still the core: rank by exploitation, not severity

Every finding is ranked the same way: listed in CISA's Known Exploited Vulnerabilities catalog first, then by EPSS exploitation probability, then by CVSS. Of about 19,500 PHP vulnerabilities in the feed, 54 are known to be exploited (as of 14 November 2026). That short list is what phpwarden puts at the top, and --fail-on exploited lets a CI build fail only on those.

The scanner is open source (Apache-2.0), has no dependencies and runs offline.

What it covers now

Your installed software. The PHP engine version, Composer dependencies (with a reachability check against your own code), and WordPress core, plugins and themes: about 12,300 WordPress advisories, ranked by exploitation.

Your own code. phpwarden code follows untrusted data through your application, across files, classes, array keys and includes, and since 2.4 and 2.5 also through data saved to a database and read back, through run-time callbacks, and through table names built from constants or config. It has 89 rules and models for Laravel, Symfony and WordPress (missing authorisation on routes, mass assignment, raw Blade and Twig output, missing nonces). Every cross-file finding comes with a trace. In our published comparison it found 8, 8 and 7 of DVWA's 8 vulnerability types (low, medium, high) and all 11 of Mutillidae's documented vulnerabilities, and raised 7, 0 and 0 high or critical findings on clean WordPress, Laravel and Symfony code. Semgrep, Psalm and Snyk Code were run on the same code; the scripts and every verdict are published.

Your live site. phpwarden probe checks a site from the outside, read-only. Active checks run only after you prove you own the site. New in 2.5: it can also check behind a login, using a session cookie or a test account you provide. It sends one login request, then only reads pages on your own site, skips logout and delete links, and never sends your credentials anywhere else. On the dashboard they are stored encrypted and deleted with one click.

Blocking, inside PHP. phpwarden shield writes rules only for the exploited vulnerabilities installed on that site, loaded before your app. It logs only until you promote it, fails open, and adds rate limits for logins, password resets and xmlrpc. It is not an edge firewall: no DDoS or bot protection. In our tests it matched 0 of 14,291 normal requests and 39 of 39 exploit attempts, at about 0.1 ms per request.

The rest of your stack. phpwarden assess --trivy brings Trivy's npm, OS-package, infrastructure and secrets findings into the same exploitation-ranked report, so one list covers PHP and everything around it.

Your editor. A VS Code extension (on the Visual Studio Marketplace) shows vulnerable packages and code findings as you work. A PhpStorm plugin is built and can be installed from disk; it is not on the JetBrains Marketplace yet.

For agencies and hosts

The dashboard at app.phpwarden.io tracks many sites in one place, alerts you when a vulnerability you already have becomes exploited, re-checks after a fix and marks it "fixed and verified", and sends client reports with your logo.

Pricing

What it is not

phpwarden is not a malware scanner, not an edge firewall and not a managed virtual-patching service. It does not replace a type checker like PHPStan or Psalm. And it is one maintainer's project, built in the open.

Try it

pipx install phpwarden
phpwarden deps composer.lock
phpwarden code src/

Docs: https://phpwarden.io/docs · Comparisons: https://phpwarden.io/compare · Changelog: https://phpwarden.io/changelog