Security Auditor — runs the Google Lighthouse Best Practices category against the monitored page and reports its score: below 90 is a warning and below 50 is a failure, both thresholds set per monitored URL. Every audit Lighthouse lists under the score is a check of its own, with Lighthouse’s own description and the offending elements.
Same score as PageSpeed
The score is the one Lighthouse computes, so it matches Chrome DevTools and PageSpeed Insights.
Fast
No performance trace is recorded, so the run finishes seconds after the page loads.
How it works
- Thresholds — reads
formFactor,warningBelowScoreandfailBelowScore. WhenfailBelowScoreis not lower thanwarningBelowScorethe audit fails with a single check (401) and Lighthouse does not run. - Lighthouse run — runs the Lighthouse CLI (version pinned in the image, reported in the
100check) with thebest-practicescategory only, thedesktoppreset or themobileform factor, and the 37AuditsBot user agent. The run has a time budget derived from the audit’s remaining time; a page that does not finish loading inside it is anERROR(500). - Blocked or unloadable page — an HTTP 403, 429 or Cloudflare challenge on the document is the platform’s blocked response (
590). Any other Lighthouse runtime error (NO_FCP,PAGE_HUNG,DNS_FAILURE,ERRORED_DOCUMENT_REQUEST, …) is anERROR(500) that names the error. - Score — the Best Practices score (0–100) is compared with the thresholds: below
failBelowScoreisFAIL(400), fromfailBelowScoreup to but excludingwarningBelowScoreisWARNING(300). A category Lighthouse could not score is anERROR(501). At or abovewarningBelowScorethe audit succeeds (200). - Audits — every audit Lighthouse lists under the Best Practices score becomes a check: a scored audit below Lighthouse’s pass mark (0.9) is a
FAILwhose code is 400 plus the audit’s fixed number in this auditor’s catalog (16 audits,410–431); an audit Lighthouse reports without a score or leaves to a manual check is anINFORMATIONwith 100 plus that number. An audit a newer Lighthouse adds gets490or190until the catalog is updated. Hidden Lighthouse audits and audits that do not apply to the page are not reported. These checks keep their own status but never change the result: the score alone decides it. - Report pin — every result carries an
INFORMATIONcheck (100) with the Lighthouse and Chrome versions, the device profile, the run duration and Lighthouse’s benchmark index, because scores are only comparable between runs of the same Lighthouse version.
Authorization header is sent on every request the page makes, third-party origins included, so prefer allowlisting over credentials for a staging site that loads third-party scripts.
Preferences
An invalid value (missing, fractional, outside 0–100) makes the auditor fall back to that preference’s default and log a warning. A fail threshold equal to or above the warning threshold is not an invalid value: it makes the audit fail (
401) until the thresholds are fixed.
What it audits
Every row maps to onecheckRule* method and one CheckCode.
The score check carries in
data: category, score, formFactor, both thresholds, failingAudits (up to ten audits of the category below Lighthouse’s pass mark, lowest score first, each with id, title, score, displayValue), lighthouseVersion, chromeVersion, benchmarkIndex, elapsedSeconds and runWarnings. Each audit check (1NN, 4NN) adds auditId, auditTitle, auditScore (0–100 or null), scoreDisplayMode, displayValue, weight, group, numericValue, numericUnit, learnMore (Lighthouse’s documentation link), inCatalog, itemCount and items (up to ten rows of Lighthouse’s details table: DOM nodes reduced to selector, snippet, label and explanation; source locations to url:line:column).
Output documentation
Risks and considerations
A score is not a certification
Lighthouse automates the Best Practices checks a machine can run on one page load (HTTPS, front-end libraries with known vulnerabilities, browser console errors, deprecated APIs, third-party cookies, image aspect ratios and resolution, source maps and the document’s doctype and charset). A perfect score means no automated check failed, not that the page is flawless; manual review still finds problems automation cannot.Desktop and mobile differ
The two device profiles render the page at different sizes, so the audits that depend on layout can give different results. Pick the profile that matches the audience and keep it, because the scores of the two profiles are not strictly comparable.The run is unsigned
The Lighthouse navigation carries the 37AuditsBot user agent but no Web Bot Auth signature. A site that only admits signed bots answers with a challenge, which this audit reports as blocked (590).
The score alone decides the result
Lighthouse weighs its audits into the score, so a page can score 90 with one audit failing. The result follows the score, as Lighthouse’s gauge does: that page is aSUCCESS. The failing audit is still listed as a FAIL check, because the item is what the owner has to fix, but it never changes the status of the result. The check order follows Lighthouse’s report: heavier audits first, then the lowest scores.
Codes are fixed per audit
Each audit keeps its number across Lighthouse upgrades, so a deep link to a code stays valid. An audit a newer Lighthouse adds is reported with490 (failing) or 190 (informative or manual) and inCatalog: false in its data until the catalog in this auditor is extended; an audit Lighthouse removes keeps its number unused.