Skip to contentLockpick
How it worksPricingDocs

Read

  • BlogPlain answers to common security questions
  • GuidesStep by step fixes for common setups
  • Security checksEvery check we run, explained

Learn

  • Learn with PickTwo-minute lessons on how sites get attacked
  • Lockpick for ClaudeCheck sites from Claude and other assistants
  • GlossaryThe words we use, in plain words

Company

  • ChangelogWhat changed, newest first
  • StatusWhether scans are running right now
  • Security and trustHow we check and what we never do
Sign inCheck it
Checks

Does your HSTS rule cover your other subdomains too?

By Mark KashefPublished October 8, 2026

The HSTS reach check looks at whether a long-lived Strict-Transport-Security rule also covers the other addresses on your domain, through the includeSubDomains setting. Without it, those addresses can still be reached over plain HTTP on a first visit.

What does this check look at?

It looks at whether a long-lived HSTS policy also covers the other addresses on your domain. MDN says the includeSubDomains directive instructs the browser to apply a domain's HSTS policy to its subdomains as well.

Your other addresses come from public certificate logs, which list every name a certificate was issued for. When the scan reads a www address, the rule that reaches your other subdomains is the one your main domain sends.

Pulse and Deep scans both run it.

Curious what your site shows from outside? The quick check is free and needs no account.

Check it

What does a result mean?

What the report showsWhat it meansWhat to do
PassThe long-lived rule includes subdomains.Nothing.
AttentionThe rule lasts a year or more but leaves subdomains out.Check each subdomain works over HTTPS, then add includeSubDomains.
Not testedNo long-lived rule was seen, so reach was not judged.Fix the HSTS check first.

The other addresses are never contacted, so it cannot say whether each one serves HTTPS today. A clean result means nothing was found in what the scan read. It does not prove the problem is absent from parts the scan never sees.

How serious is a finding?

Treat this as a hardening gap. It makes an attacker’s job easier but gives them no path of its own, so fix it after anything more direct. Confidence starts low, because it is inferred from headers or declarations rather than shown directly. The report lists what to fix by how directly someone could use it, not by the severity label.

What does a confirmed finding have to show?

PartFor this check
Where it startsSomeone on the visitor's network
The protection that should stop itA transport setting on the sampled responses
What is reachedTraffic between visitors and the site
What followsA hardening gap; no interception was attempted

Which standards does it relate to?

StandardReference
OWASP Top TenA04:2025 Cryptographic Failures
CWECWE-319
ASVSv5.0.0-3.4.1

Each one is a related control, not a verification. A scan sees what anyone online can see, so it never proves a whole requirement is met.

Fix it with your AI

Extending the rule is safe only once every subdomain serves HTTPS, so the prompt starts with that inventory.

Fix prompt for any coding agent
List every subdomain of my domain that is still in use (check my DNS records and hosting projects). For each one, confirm it loads over HTTPS with a valid certificate. If all of them do, add includeSubDomains to the Strict-Transport-Security header on my main domain, keeping the current max-age. If any subdomain cannot serve HTTPS, stop and tell me which one instead of changing the header.

How to check

Say Atlas, our example app at atlas.example, sends a one year HSTS rule without includeSubDomains, and certificate logs list a help address. The check names that address as left out, and nothing is ever sent to it.

Run a Pulse scan from your Lockpick account to see it for your site. Pulse or Deep explains what each scan reads, and the full list of checks shows the rest.

Questions people ask

Can adding includeSubDomains break anything?

Yes. Any subdomain without working HTTPS becomes unreachable in browsers that saw the rule, so check them all first.

Why did the scan not contact my other subdomains?

It only reads the site you approved. Your other addresses come from public certificate logs, and checking them is your call.

See what your site shows from outside

A quick check reads your homepage the way a visitor would and gives you a score. No account needed.

Check your site

Related pages

  • Does your site tell browsers to always use HTTPS?
  • Which of your addresses does your site certificate cover?
  • Which addresses on your domain are controlled by other companies?

Sources

  1. How we rate findings Lockpick docs, read on October 7, 2026
  2. Strict-Transport-Security header MDN Web Docs, read on October 7, 2026

About the author

Mark Kashef, Founder of Lockpick

I'm Mark, and I build Lockpick. I write these pages, and each one is checked against its sources before it goes live. The Updated date changes only when the page itself does.

Lockpick
PricingMethodologyDocsBlogGuidesSecurity checksLearn with PickSecurity and trustLockpick for ClaudeChangelogStatusFacts for AI assistants

Lockpick is a security scanner for vibe-coded apps. It checks what your live site exposes and what a GitHub repo or AI skill would do before you install it, then gives you a fix prompt for Lovable, Bolt, Replit, Cursor or Claude Code.

Lockpick assesses public pages you are authorized to test, and public GitHub code it never runs.

© 2026 LockpickTermsPrivacyContactSign in