Methodology v0.2
This page is the complete rulebook. It lists every rated check, the exact condition for each result, the points, the caps and the grade bands. If the published rules and our code ever disagree, that is a bug and the record is corrected.
1. Scope
We rate what any browser can see before someone signs in, on the sign-in page and the host that serves it. We do not rate anything after the password: app approvals, SMS or token codes, card readers, risk engines, session handling, account recovery or back-end storage. Those may be excellent or absent; from outside nobody can tell, so we do not guess.
2. How the score is calculated
Each check has a weight in points. The five areas add up to 100 points.
| Area | Points | Checks |
|---|---|---|
| Connection | 18 | HTTPS only 10 · HSTS 8 |
| Page protections | 28 | Framing 8 · Script policy (CSP) 8 · Cookie flags 6 · Outside scripts 6 |
| Sign-in protocol | 22 | Code flow 12 · PKCE 6 · State 4 |
| Password form | 16 | Form posts to HTTPS 6 · Autofill 6 · Paste allowed 4 |
| Security contact | 16 | security.txt 8 · Change-password address 8 |
A check earns all its points on pass, half on partial and none on fail. A check that doesn't apply (no password field on a QR-code sign-in, no OAuth on a first-party form) or that we couldn't see (blocked, timed out) is removed from both sides of the fraction. A site is never marked down for something it doesn't use or something we failed to read.
Scores are rounded to one decimal. When no OAuth or OpenID Connect request is seen, the Sign-in protocol area leaves the confidence total too, so a well-built first-party login is not counted as "unseen".
3. The 14 rated checks
Connection
Sign-in page on HTTPS only tls.https_only10 pts
- Pass
- The sign-in page loads over HTTPS, and plain HTTP on that host redirects to HTTPS or is not served at all.
- Partial
- The page is on HTTPS, but the same host still serves content over plain HTTP without redirecting.
- Fail
- The sign-in page itself is on plain HTTP. Triggers the F cap.
Why: anything sent over plain HTTP can be read or changed on the network, and an HTTP entry point allows SSL-stripping. Reference: RFC 9110 §4.2.2, RFC 6797 §2.
HSTS tls.hsts8 pts
- Pass
Strict-Transport-Securityon the sign-in origin withmax-ageof at least 15,552,000 seconds (180 days).- Partial
- Header present with a shorter
max-age. - Fail
- No header, or no readable
max-age.
Why: HSTS tells browsers never to try HTTP again for this host, closing the first-visit downgrade window after one visit. Reference: RFC 6797.
Page protections
Framing protection headers.framing8 pts
- Pass
- CSP
frame-ancestorswithout*, orX-Frame-Options: DENYorSAMEORIGIN. - Fail
- Neither is present, so any site can put the sign-in page in a frame.
Why: a framed sign-in page can be overlaid to trick people into clicking or typing (clickjacking). Reference: CSP Level 3 frame-ancestors, RFC 7034.
Content Security Policy headers.csp8 pts
- Pass
- An enforced CSP (header, or
<meta>on the first screen) whosescript-src(ordefault-src) has no'unsafe-inline'unless nonces or hashes are used, and no wildcard (*,https:) unless'strict-dynamic'is set. - Partial
- A CSP exists but does not restrict scripts, or allows inline scripts or wildcards as above.
- Fail
- No CSP at all. Report-only policies do not count.
Why: the sign-in page handles passwords; a script-restricting CSP is the main limit on what injected script can do there. Reference: CSP Level 3.
Cookie flags cookies.flags6 pts
- Pass
- Every cookie the sign-in site sets during the visit has
SecureandSameSite, and session-like cookies are alsoHttpOnly. - Partial
- Some cookie lacks
SecureorSameSite. A documented legacy twin of aSameSite=Nonecookie is accepted. - Fail
- A session-like cookie (name contains sess, sid, auth, token, login, jwt, remember or identity, or starts with
__Host-or__Secure-) lacksSecureorHttpOnly. - Doesn't apply
- No cookies set by the sign-in site.
Why: these flags keep cookies off plain HTTP, away from scripts and out of cross-site requests. Reference: RFC 6265bis.
Third-party scripts page.third_party_scripts6 pts
- Pass
- At most 3 distinct script origins from other sites.
- Partial
- 4 to 8.
- Fail
- More than 8.
Why: every script on the page can read what people type, so each outside origin is part of the sign-in's attack surface (supply-chain and skimming attacks). The site's own domain and its identity provider's asset hosts are not counted.
Sign-in protocol (only when an OAuth or OpenID Connect request is seen)
Authorization code flow oidc.code_flow12 pts
- Pass
response_type=code.- Partial
- Hybrid flow (
codeplusid_token). - Fail
- Implicit flow (
tokeninresponse_type) or no code at all. Implicit triggers the C cap. - Doesn't apply
- No OAuth request seen (first-party form, SAML), or parameters sent by pushed authorization request (PAR), which hides them by design and is never penalised.
Why: the implicit flow returns tokens in the URL, where they leak through history, logs and referrers. Reference: RFC 9700 §2.1.2.
PKCE with S256 oidc.pkce6 pts
- Pass
code_challengewithcode_challenge_method=S256.- Partial
- A challenge with the
plainmethod. - Fail
- No code challenge.
- Doesn't apply
- The response type has no code, so there is nothing for PKCE to protect. The flow is counted once, in the code-flow check.
Why: PKCE stops a stolen authorization code being exchanged by someone else. Reference: RFC 7636, RFC 9700 §2.1.1.
state and nonce oidc.state_nonce4 pts
- Pass
- A
statevalue, plus anoncewhenever an ID token comes back from the authorization endpoint. - Fail
- Either is missing where required.
Why: state protects against cross-site request forgery on the redirect; nonce against ID-token replay. Reference: RFC 6749 §10.12, OpenID Connect Core §3.1.2.1.
Password form (doesn't apply to passwordless sign-ins)
Posts securely form.secure_action6 pts
- Pass
- Every password form posts to
https://on the same site or a recognised identity provider. - Partial
- It posts over HTTPS to an unrelated site.
- Fail
- It posts to plain HTTP. Triggers the F cap.
Why: the form action decides where the password actually goes.
Works with password managers form.password_manager_friendly6 pts
- Pass
autocomplete="username"(oremail) on the user field andcurrent-password(ornew-password) on the password field.- Partial
- One of the two.
- Fail
- Neither.
Why: password managers fill only on the real domain, which makes them a strong defence against look-alike phishing pages. Reference: WHATWG HTML autofill.
Paste allowed form.paste_allowed4 pts
- Pass
- An empty test paste into the password field is not cancelled.
- Fail
- The page cancels pasting.
Why: blocking paste pushes people to short, typed passwords. Reference: NIST SP 800-63B §3.1.1.2.
Security contact
security.txt wellknown.security_txt8 pts
- Pass
/.well-known/security.txton the site or the sign-in host, as text, with aContactline and anExpiresdate in the future.- Partial
- A contact but no valid future
Expires. - Fail
- Missing, or an HTML page instead of the file.
- Couldn't see
- A firewall answers every request with an error, which proves nothing either way.
Why: researchers who find a flaw need to know where to report it. Reference: RFC 9116.
Change-password URL wellknown.change_password8 pts
- Pass
/.well-known/change-passwordredirects to a real page (not the home page) that answers 2xx.- Fail
- Missing or not redirected.
- Couldn't see
- A firewall answers every request with an error.
Why: password managers use it to send people straight to the change form after a breach. Reference: W3C, A Well-Known URL for Changing Passwords.
4. Caps, the A+ rule and "Not graded"
| Rule | Condition | Effect |
|---|---|---|
| Insecure transport | Sign-in page on HTTP, or the password form posts to HTTP | Grade can be no better than [F] |
| Implicit flow | token in response_type | No better than [C] |
| A+ rule | Score of 95 or more, passkeys offered on the sign-in page, and no rated check failed | Otherwise a score of 95 or more is shown as [A] |
| Confidence gate | Less than 60% of the applicable points could be assessed | Not graded. No letter is published. |
5. Grade bands
| Grade | Score | Meaning |
|---|---|---|
| [A+] | 95 and over, passkeys offered, no failed check | Everything we can see is in place, and people can sign in with a passkey. |
| [A] | 85 to 94 | Strong front door. Small gaps at most. |
| [B] | 75 to 84 | Good front door with a few clear gaps. |
| [C] | 65 to 74 | Several gaps, or tokens sent in the URL (the implicit flow caps a site at C). |
| [D] | 50 to 64 | Important protections are missing. |
| [E] | 35 to 49 | Most protections we look for are missing. |
| [F] | under 35 | The sign-in isn't fully protected by HTTPS, or almost nothing is in place. |
6. Shown but not rated
The record also shows how people sign in, whether passkeys are offered, which bot protection we saw and any sign of two-step verification. None of these earn points. The sign-in style is a design choice with no right answer, bot protection can't be proven to work without attacking the site, and two-step verification happens after the password, where we don't look. Passkeys count only through the A+ rule.
7. Worked example: veridyne.eu
We rate our own domain with the same rules. The first column is its published record, AR-2026-0001. The second column is not a real scan: it shows what the same results would score if security.txt and the change-password link were missing. Both columns are calculated from the weights and bands above.
| Area | Real record | Illustration | Note |
|---|---|---|---|
| Connection | 18 / 18 | 18 / 18 | |
| Page protections | 24 / 28 | 24 / 28 | Real: CSP has no script-src or default-src, so Partial |
| Sign-in protocol | 22 / 22 | 22 / 22 | |
| Password form | 16 / 16 | 16 / 16 | |
| Security contact | 16 / 16 | 0 / 16 | Illustration: security.txt and change-password both missing |
| Score | 96.0 A+ | 80.0 B | Real: passkeys offered and no check failed, so 95 or more is A+ |
8. Versions and changes
- Methodology v0.2 is frozen: published 23 November 2026. A published version is never edited. A change makes a new version with a public changelog.
- Every record names the methodology version it was graded under. Records keep the grade from their version. When a new version is published, existing records stay valid until they expire, and the next re-check uses the new version.
Re-checks and corrections
A person at Veridyne reviews every result before it is published. We may send the site's security contact the record first, but we don't wait for their agreement. A site owner can ask for a re-check or a correction at any time through the request form, after proving they own the domain with a DNS record. We answer correction requests within 10 working days. Corrections are listed on the record's history. More for site owners on the AuthRatedBot page.