We scanned the 1,000 most-starred PHP projects. The maintained ones were clean. 1 in 7 abandoned ones weren't.
232 popular PHP projects commit a composer.lock. Among the 172 updated this year, none ships a dependency attackers are exploiting, though 44% ship some known vulnerability. Among the 60 that stopped updating, 9 do, mostly Laravel starter templates people still clone.
Every PHP developer has wondered whether the popular project they just cloned is safe to deploy. So we checked. All nine affected projects were told privately 14 days before this was published. This post names none of them.
What we scanned
We took the 1,000 most-starred PHP repositories on GitHub, excluding archived ones, and downloaded each root
composer.lock. 232 commit one; most of the rest are libraries, which usually don't. We scanned each lockfile
with phpwarden on 12 November 2026 and again with phpwarden 2.5.2 on 23 November, split production dependencies from dev
ones using the lockfile itself, and dated each lockfile by its last commit. Every hit in an actively maintained project
was checked by hand.
The numbers
| Lockfile | Exploited* | Known vuln | Projects |
|---|---|---|---|
| Updated in last 12 months | 0 | 75 (44%) | 172 |
| Older than 12 months | 9 (1 in 7) | 39 (65%) | 60 |
* Exploited or likely: listed in CISA's Known Exploited Vulnerabilities catalog, or an EPSS exploitation probability of 50% or more, in a production dependency.
Nearly half of maintained projects have a known vulnerability, and that's mostly fine
The 172 maintained projects carry 1,364 known vulnerabilities in production dependencies, 305 of them rated critical or high. After checking by hand, none is one that attackers are known to be using. A team that patched by severity would have 305 upgrades to schedule. A team that patched by exploitation would have none this week.
One project looked like an exception: FreeScout pins Laravel 5.5, which has an exploited 2018 bug. But FreeScout
patches Laravel's own files in an overrides/ directory, including the exact fix. It is protected, and no
lockfile scanner, ours included, can see that. We counted it as clean.
The risk is in what stopped updating
The 60 projects that haven't touched their lockfile in a year have a median lockfile age of about four years. 9 of them ship a dependency attackers exploit, and together they have over 22,000 stars. The most common is Laravel's CVE-2018-15133, a cookie deserialization bug, in six projects. Five of the six are starter templates or tutorials: exactly the kind of repository people clone, deploy and forget.
That bug only works if the attacker knows the application's APP_KEY. Two of the starter templates commit a
real-looking key in .env.example. Anyone who deployed one without generating a new key is running an app with a
public key and a known remote-code-execution bug. We told both maintainers privately before publishing this, and we
are not naming them.
Responsible handling
We contacted all nine affected projects privately on 13 November 2026. Seven got the exact versions and fixes by email; two had no private contact, so we opened an issue asking for one, without details. We waited 14 days before publishing. This post names no affected project. The scan scripts are public; the per-project results are not.
What to do
- If you deploy a project you cloned: check when its
composer.locklast changed. If it's over a year, scan it before it goes live.pipx install phpwarden && phpwarden deps composer.locktakes a few seconds. - If you start from a Laravel starter: run
php artisan key:generateeven if.env.examplealready has a key. - If you maintain a popular project you no longer update: say so at the top of the README. It is the cheapest security fix there is.
Limits
- Only root lockfiles on default branches; monorepos and other lockfile locations were skipped.
- A committed lockfile is not necessarily what is deployed.
- Vendor patches like FreeScout's are invisible to lockfile scanning.
- A snapshot: numbers are from 23 November 2026 with that day's feed, and change as projects and feeds change.
Rerun it: bench/github-2026-11 in the phpwarden repository. Why exploitation beats severity, in 54 seconds: CVSS vs real exploitation.