How the Web Security Index is calculated
WSI is a transparent, rubric-based indicator of security controls observable from a public website homepage. It is designed for repeatable comparisons across large cohorts—not as a substitute for a penetration test, compliance audit, or statement that a site is secure.
Score at a glance
Total range: 0–150 points per origin.
Scoring principles
Observable evidence
Additive and reproducible
One origin, one score
Context stays separate
Current rubric
The active rubric is Web Security Index v2 (`wsi-2026-v2`). Every component has a maximum of 50 points.
Content Security
CS component
| Observed control | Points |
|---|---|
| Strict-Transport-Security | 10 |
| Cookies: Secure | 8 |
| Cookies: HttpOnly | 8 |
| Cookies: SameSite | 8 |
| Subresource Integrity | 6 |
| Referrer-Policy | 5 |
| X-Content-Type-Options | 5 |
Cross-Origin Security
COS component
| Observed control | Points |
|---|---|
| Content-Security-Policy | 20 |
| Access-Control-Allow-Origin | 10 |
| Access-Control-Allow-Methods | 5 |
| Cross-Origin-Opener-Policy | 5 |
| Cross-Origin-Embedder-Policy | 5 |
| Cross-Origin-Resource-Policy | 5 |
Network & Protocol Security
NPS component
| Observed control | Points |
|---|---|
| Modern HTTP (HTTP/2 or HTTP/3) | 20 |
| Valid TLS certificate | 15 |
| DNSSEC enabled | 15 |
Current semantic limit: response-header checks award points for observed presence. The rubric does not yet grade the full policy quality of CSP, CORS, or other header values. Boolean checks such as TLS validity, cookie flags, SRI, and DNSSEC require an affirmative observed fact.
From origins to public aggregates
- 1
Origin
The rubric produces CS, COS, NPS, and WSI for each usable homepage observation.
- 2
Country and rank cohort
Country values are arithmetic means across eligible origins in the same measurement and rank cohort.
- 3
Category
The same origin scores are grouped by the stored eight-category classification for explanatory breakdowns.
- 4
Regional summaries
When category summaries are combined, the portal uses origin-weighted means so a small category cannot count as much as a category with thousands of sites.
Versioning and publication integrity
Rubrics are versioned. A published measurement is pinned to the rubric used for its public aggregates, so later private re-scoring cannot silently rewrite historical results. A new rubric can be computed and reviewed separately before any future publication decision.
Interpretation and limitations
- Higher means more observed controls, not absence of vulnerabilities. WSI does not test application logic, authentication, authorization, patch level, malware, or internal infrastructure.
- A score is time- and vantage-point-specific. CDN behavior, geolocation, transient failures, redirects, and bot challenges can affect observable evidence.
- Missing evidence is distinguishable from cohort coverage. Public pages show sample counts and measurement periods so comparisons can be interpreted within the same population.