Securing the Web with HSTS-Enforced
Pith reviewed 2026-05-08 17:33 UTC · model grok-4.3
The pith
HSTS-Enforced defaults all web connections to HTTPS and requires explicit indicators for any site that must use HTTP.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
HSTS-Enforced flips the security model from opt-in to opt-out: all connections default to HTTPS, and operators can explicitly opt out using HTTP-Required indicators if their websites require HTTP. This eliminates the remaining attack surface for TLS stripping while maintaining backward compatibility and avoiding the limitations and misconfiguration risks of existing mechanisms.
What carries the argument
The HSTS-Enforced mechanism using HTTP-Required indicators, specifically a new DNS record and an HTTP-Required Preload list, to specify exceptions to the default HTTPS policy.
If this is right
- All practical TLS stripping attempts are blocked.
- Compatibility is maintained for sites that require HTTP access.
- No overhead is introduced in the typical case of HTTPS-only sites.
- A practical transition path accelerates global adoption.
Where Pith is reading between the lines
- Browser and DNS resolver support for the new indicators would be necessary for full effectiveness.
- The approach might reduce reliance on individual HSTS header configurations by site operators.
- Potential interactions with existing preload lists and DNS security extensions could be explored in future deployments.
Load-bearing premise
Browsers, DNS resolvers, and site operators will correctly implement and use the proposed HTTP-Required indicators without widespread misconfiguration or adoption failures.
What would settle it
Demonstrating a successful TLS stripping attack on a properly configured HSTS-Enforced site without an HTTP-Required indicator would show the claim is incorrect.
Figures
read the original abstract
TLS stripping attacks expose sensitive web traffic by forcing secure HTTPS connections to fall back to unencrypted HTTP. At present, protection against these attacks relies on website operators explicitly opting into security by deploying mechanisms such as HTTP Strict Transport Security (HSTS) headers. These mechanisms have significant limitations: some are weak or difficult to configure, which raises the risk of misconfiguration and reduces practical adoption; others violate HTTP backward compatibility; at least one can even be abused to enable unintended user tracking. We introduce HSTS-Enforced, a mechanism that eliminates the remaining attack surface for TLS stripping while still allowing operators to securely specify that their websites need to be accessed over HTTP when necessary, thereby maintaining accessibility. To achieve this, we flip the current opt-in security model to an opt-out model: all connections default to HTTPS, and operators can explicitly opt out if their websites require HTTP using so-called HTTP-Required indicators. We propose two such HTTP-Required indicators: a new DNS record and an HTTP-Required Preload list. We evaluate HSTS-Enforced under multiple deployment scenarios, demonstrating that it blocks all practical TLS stripping attempts while maintaining compatibility for sites that require HTTP - without introducing overhead in the typical case. Finally, we outline a practical transition path to accelerate global adoption.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes HSTS-Enforced, which inverts the current opt-in model for HTTPS protection against TLS stripping: all connections default to HTTPS, and operators may explicitly opt out for HTTP-required sites via two proposed 'HTTP-Required' indicators (a new DNS record or a preload list). It claims this blocks all practical TLS stripping attacks while preserving backward compatibility for HTTP sites and introducing no overhead in the common case, supported by evaluations across deployment scenarios plus a transition plan.
Significance. If the security and compatibility claims hold, the work would meaningfully advance web transport security by reducing reliance on voluntary HSTS deployment and closing a long-standing attack surface for on-path stripping, with potential for high impact given the scale of web traffic.
major comments (2)
- [DNS record mechanism] The DNS-based HTTP-Required indicator (described in the mechanism proposal) can be spoofed by an on-path attacker via unauthenticated DNS responses, which is a standard vector in TLS-stripping scenarios. This directly contradicts the central claim that the scheme 'blocks all practical TLS stripping attempts,' as the attacker can force an HTTP fallback for sites that do not publish the record. The preload-list alternative avoids this, but the DNS path remains part of the design.
- [Evaluation and deployment scenarios] The evaluation (referenced in the abstract and transition discussion) asserts complete blocking of practical attacks, compatibility maintenance, and zero typical-case overhead, yet supplies no quantitative metrics, attack traces, implementation details, or comparative measurements against existing HSTS variants to support these assertions.
minor comments (1)
- [Abstract] The abstract and introduction use the phrase 'all practical TLS stripping attempts' without defining the threat model boundary (e.g., whether it includes DNS spoofing or only passive stripping).
Simulated Author's Rebuttal
We thank the referee for their thorough and constructive review of our manuscript. We address each major comment point by point below, providing clarifications and committing to revisions where appropriate to strengthen the paper.
read point-by-point responses
-
Referee: [DNS record mechanism] The DNS-based HTTP-Required indicator (described in the mechanism proposal) can be spoofed by an on-path attacker via unauthenticated DNS responses, which is a standard vector in TLS-stripping scenarios. This directly contradicts the central claim that the scheme 'blocks all practical TLS stripping attempts,' as the attacker can force an HTTP fallback for sites that do not publish the record. The preload-list alternative avoids this, but the DNS path remains part of the design.
Authors: We acknowledge the validity of this observation. The DNS-based HTTP-Required indicator does rely on unauthenticated DNS responses and is therefore vulnerable to spoofing by an on-path attacker, who could inject a false record to force an HTTP fallback even for sites that do not publish the indicator. This does limit the security of the DNS variant and requires adjustment to our broader claims. The preload-list alternative remains unaffected, as it draws from a trusted centralized source. In the revised manuscript, we will reposition the DNS record as a lightweight, decentralized option with explicit limitations (analogous to other unauthenticated DNS records), strongly recommend the preload list for security-critical use, and revise the abstract, introduction, and claims to state that the scheme blocks all practical TLS stripping attempts when the preload list is used (or when DNS records are protected by DNSSEC). We will also add an explicit discussion of this spoofing vector and the resulting trade-offs. revision: yes
-
Referee: [Evaluation and deployment scenarios] The evaluation (referenced in the abstract and transition discussion) asserts complete blocking of practical attacks, compatibility maintenance, and zero typical-case overhead, yet supplies no quantitative metrics, attack traces, implementation details, or comparative measurements against existing HSTS variants to support these assertions.
Authors: We agree that the evaluation would be strengthened by additional concrete evidence. The current manuscript presents a qualitative analysis of deployment scenarios to illustrate attack blocking, compatibility preservation, and typical-case overhead, but it does not include quantitative metrics, attack traces, prototype implementation details, or direct comparisons with HSTS variants. In the revised version, we will expand the evaluation section to incorporate: a description of a reference prototype implementation; sample attack traces demonstrating blocked stripping attempts across scenarios; performance measurements confirming negligible overhead in the common case; and comparative analysis against standard HSTS and related mechanisms. These additions will provide the empirical support for the stated properties. revision: yes
Circularity Check
No circularity: forward-looking design proposal with no self-referential derivations
full rationale
The manuscript introduces HSTS-Enforced as an opt-out security model that defaults to HTTPS and permits explicit HTTP-Required indicators (new DNS record or preload list). No equations, fitted parameters, or predictive derivations appear in the provided text. Claims about blocking TLS stripping and maintaining compatibility rest on deployment assumptions and standard security primitives rather than reducing to self-definitions, self-citations, or renamed inputs. The evaluation under scenarios is descriptive, not a closed loop of fitted predictions. This matches the expected non-circular outcome for a new mechanism proposal.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Browsers and DNS infrastructure will enforce the new default HTTPS behavior and correctly interpret HTTP-Required indicators.
- domain assumption Site operators will accurately identify and mark sites that genuinely require HTTP access.
invented entities (2)
-
HTTP-Required DNS record
no independent evidence
-
HTTP-Required Preload list
no independent evidence
Reference graph
Works this paper leans on
- [1]
-
[2]
HTTP Strict Transport Security (HSTS)
J. Hodges, C. Jackson, and A. Barth, “HTTP Strict Transport Security (HSTS).” RFC 6797, 2012
work page 2012
-
[3]
New Tricks for Defeating SSL in Practice
M. Marlinspike, “New Tricks for Defeating SSL in Practice.” Black Hat DC. https://www.blackhat.com/presentations/bh-dc-09/Marlinspike/ BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf, 2009
work page 2009
-
[4]
More Tricks for Defeating SSL in Practice
M. Marlinspike, “More Tricks for Defeating SSL in Practice.” Black Hat USA. https://www.blackhat.com/presentations/bh-dc-09/ Marlinspike/BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf, 2009
work page 2009
-
[5]
The Chromium Authors, “HSTS Preload List Submission.” HSTS Preload List Submission. https://hstspreload.org/, 2012
work page 2012
-
[6]
Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records
B. M. Schwartz, M. Bishop, and E. Nygren, “Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records.” RFC 9460, 2023
work page 2023
-
[7]
HTTPS-First Upgrades to Secure Connections
Mozilla Support Community, “HTTPS-First Upgrades to Secure Connections.” Mozilla Support. https://support.mozilla.org/en-US/kb/ https-first, 2025
work page 2025
-
[8]
Mozilla Support Community, “HTTPS-Only Mode in Firefox.” Mozilla Support. https://support.mozilla.org/en-US/kb/https-only-prefs, 2025
work page 2025
-
[9]
Mission Accomplished? HTTPS Security after DigiNotar,
J. Amann, O. Gasser, Q. Scheitle, L. Brent, G. Carle, and R. Holz, “Mission Accomplished? HTTPS Security after DigiNotar,” inACM IMC, 2017
work page 2017
-
[10]
Measuring the Rapid Growth of HSTS and HPKP Deployments,
I. S. Petrov, D. I. Peskov, G. Coard, T. Chung, D. R. Choffnes, D. Levin, B. M. Maggs, A. Mislove, and C. Wilson, “Measuring the Rapid Growth of HSTS and HPKP Deployments,” inIET CANS, 2017
work page 2017
-
[11]
The Security Lottery: Measuring Client-Side Web Security Inconsistencies,
S. Roth, S. Calzavara, M. Wilhelm, A. Rabitti, and B. Stock, “The Security Lottery: Measuring Client-Side Web Security Inconsistencies,” inUSENIX Security, 2022
work page 2022
-
[12]
On the Security of Parsing Security-Relevant HTTP Headers in Modern Browsers,
H. Siewert, M. Kretschmer, M. Niemietz, and J. Somorovsky, “On the Security of Parsing Security-Relevant HTTP Headers in Modern Browsers,” inIEEE S&P Workshops, 2022
work page 2022
-
[13]
Analysis of the Adoption of Security Headers in HTTP,
W. Buchanan, S. Helme, and A. Woodward, “Analysis of the Adoption of Security Headers in HTTP,”IET Information Security, vol. 12, no. 2, 2017
work page 2017
-
[14]
HTTP Security Headers Analysis of Top One Million Websites,
A. Lavrenovs and F. J. R. Mel ´on, “HTTP Security Headers Analysis of Top One Million Websites,” inInternational Conference on Cyber Conflict (CyCon), 2018
work page 2018
-
[15]
Uncovering HTTP Header Inconsistencies and the Impact on Desktop/Mobile Websites,
A. Mendoza, P. Chinprutthiwong, and G. Gu, “Uncovering HTTP Header Inconsistencies and the Impact on Desktop/Mobile Websites,” inACM WWW, 2018
work page 2018
-
[16]
Analysing HSTS and HPKP Implemen- tation in Both Browsers and Servers,
S. de los Santos and J. Torres, “Analysing HSTS and HPKP Implemen- tation in Both Browsers and Servers,”IET Information Security, vol. 12, no. 4, 2018
work page 2018
-
[17]
HSTS Supports Targeted Surveillance,
P. Syverson and M. Traudt, “HSTS Supports Targeted Surveillance,” in USENIX FOCI, 2018
work page 2018
- [18]
-
[19]
Mozilla, “Firefox Preload List.” https://searchfox.org/mozilla-central/ source/security/manager/ssl/nsSTSPreloadList.inc, 2024
work page 2024
-
[20]
A Longitudinal, End-to-End View of the DNSSEC Ecosystem,
T. Chung, R. van Rijswijk-Deij, B. Chandrasekaran, D. Choffnes, D. Levin, B. M. Maggs, A. Mislove, and C. Wilson, “A Longitudinal, End-to-End View of the DNSSEC Ecosystem,” inUSENIX Security, 2017
work page 2017
-
[21]
DNSSEC Misconfigurations in Popular Domains,
T. Dai, H. Shulman, and M. Waidner, “DNSSEC Misconfigurations in Popular Domains,” inCANS, 2016
work page 2016
-
[22]
One key to sign them all considered vulnerable: Evaluation of DNSSEC in the internet,
H. Shulman and M. Waidner, “One key to sign them all considered vulnerable: Evaluation of DNSSEC in the internet,” inUSENIX NSDI, 2017
work page 2017
-
[23]
Electronic Frontier Foundation (EFF), “HTTPS Everywhere.” Electronic Frontier Foundation. https://www.eff.org/https-everywhere, 2010
work page 2010
-
[24]
CoStricTor: Col- laborative HTTP Strict Transport Security in Tor Browser,
K. Davitt, D. Ristea, D. Russell, and S. Murdoch, “CoStricTor: Col- laborative HTTP Strict Transport Security in Tor Browser,” inPETS, 2024
work page 2024
-
[25]
Server Location Verification (SLV) and Server Location Pinning: Augmenting TLS Authentication,
A. Abdou and P. C. V . Oorschot, “Server Location Verification (SLV) and Server Location Pinning: Augmenting TLS Authentication,”ACM TOPS, vol. 21, no. 1, 2017
work page 2017
-
[26]
Auto- matic Certificate Management Environment (ACME)
R. Barnes, J. Hoffman-Andrews, D. McCarney, and J. Kasten, “Auto- matic Certificate Management Environment (ACME).” RFC 8555, 2019
work page 2019
-
[27]
ARPKI: Attack Resilient Public-Key Infrastructure,
D. Basin, C. Cremers, T. H.-J. Kim, A. Perrig, R. Sasse, and P. Szala- chowski, “ARPKI: Attack Resilient Public-Key Infrastructure,” inACM CCS, 2014
work page 2014
-
[28]
Public Key Pinning Extension for HTTP
C. Evans, C. Palmer, and R. Sleevi, “Public Key Pinning Extension for HTTP.” RFC 7469, 2015
work page 2015
-
[29]
DNS Certi- fication Authority Authorization (CAA) Resource Record
P. Hallam-Baker, R. Stradling, and J. Hoffman-Andrews, “DNS Certi- fication Authority Authorization (CAA) Resource Record.” RFC 8659, 2019
work page 2019
-
[30]
Accountable Key Infrastructure (AKI): A Proposal for a Public-Key Validation Infrastructure,
T. H.-J. Kim, L.-S. Huang, A. Perrig, C. Jackson, and V . Gligor, “Accountable Key Infrastructure (AKI): A Proposal for a Public-Key Validation Infrastructure,” inACM WWW, 2013
work page 2013
-
[31]
Cer- tificate Transparency Version 2.0
B. Laurie, A. Langley, E. Kasper, E. Messeri, and R. Stradling, “Cer- tificate Transparency Version 2.0.” RFC 9162, 2021
work page 2021
-
[32]
A Security Model for Web-Based Communication,
P. F. Tehrani, E. Osterweil, T. C. Schmidt, and M. W ¨ahlisch, “A Security Model for Web-Based Communication,”Communications of the ACM, vol. 67, no. 10, 2024
work page 2024
-
[33]
Saner: Composing Static and Dynamic Analysis to Validate Sanitization in Web Applications,
D. Balzarotti, M. Cova, V . Felmetsger, N. Jovanovic, E. Kirda, C. Kruegel, and G. Vigna, “Saner: Composing Static and Dynamic Analysis to Validate Sanitization in Web Applications,” inIEEE S&P, 2008
work page 2008
- [34]
-
[35]
Content Security Policy Level 3
M. West and A. Sartori, “Content Security Policy Level 3.” W3 Working Draft. https://www.w3.org/TR/CSP3/, 2024
work page 2024
-
[36]
M. V . Gundy and H. Chen, “Noncespaces: Using Randomization to Enforce Information Flow Tracking and Thwart Cross-Site Scripting Attacks,” inNDSS, 2009
work page 2009
-
[37]
Coverage and Secure Use Analysis of Content Security Policies via Clustering,
M. Ren and C. Yue, “Coverage and Secure Use Analysis of Content Security Policies via Clustering,” inIEEE EuroS&P, 2023
work page 2023
-
[38]
Tor: The Second- Generation Onion Router,
R. Dingledine, N. Mathewson, and P. Syverson, “Tor: The Second- Generation Onion Router,” inUSENIX Security, 2004
work page 2004
-
[39]
The I2P Project, “Garlic Routing.” I2P. https://geti2p.net/en/docs/how/ garlic-routing, 2024
work page 2024
-
[40]
Lightweb: Private Web Browsing Without All the Baggage,
E. Dauterman and H. Corrigan-Gibbs, “Lightweb: Private Web Browsing Without All the Baggage,” inACM HotNets, 2023
work page 2023
-
[41]
The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA
P. E. Hoffman and J. Schlyter, “The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA.” RFC 6698, 2012
work page 2012
-
[42]
SMTP MTA Strict Transport Security (MTA-STS)
D. Margolis, M. Risher, B. Ramakrishan, A. Brotman, and J. Jones, “SMTP MTA Strict Transport Security (MTA-STS).” RFC 8461, 2018
work page 2018
-
[43]
Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints
W. Griffin and J. Schlyter, “Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints.” RFC 4255, 2006
work page 2006
-
[44]
Multi-Perspective Validation Improves Domain Validation Security
J. Aas, D. McCarney, and R. Shoemaker, “Multi-Perspective Validation Improves Domain Validation Security.” Let’s Encrypt. https://letsencrypt. org/2020/02/19/multi-perspective-validation.html, 2020
work page 2020
- [45]
-
[46]
IANA-managed Re- served Domains
Internet Assigned Numbers Authority (IANA), “IANA-managed Re- served Domains.” Internet Assigned Numbers Authority. https://www. iana.org/domains/reserved, 2021
work page 2021
-
[47]
The State of HTTPS Adoption on the Web,
C. Kerschbaumer, F. Braun, S. Friedberger, and M. J ¨urgens, “The State of HTTPS Adoption on the Web,” inMADWeb, 2025
work page 2025
-
[48]
A. van Diepen, A. Zapletal, and F. Kuipers, “HSTS-Enforced Artifacts.” https://artifacts.aaronvdiepen.nl/HSTS-Enforced, 2026
work page 2026
-
[49]
A Method for the Construction of Minimum- Redundancy Codes,
D. A. Huffman, “A Method for the Construction of Minimum- Redundancy Codes,” inInstitute of Radio Engineers, 1952
work page 1952
-
[50]
E. Fredkin, “Trie Memory,”Communications of the ACM, vol. 3, no. 9, 1960
work page 1960
- [51]
-
[52]
https://www.isc.org/bind/, 2024
Internet Systems Consortium (ICS), “BIND.” Internet Systems Consor- tium. https://www.isc.org/bind/, 2024
work page 2024
- [53]
-
[54]
Network Time Protocol Version 4: Protocol and Algorithms Specification
J. Martin, J. Burbank, W. Kasch, and P. D. L. Mills, “Network Time Protocol Version 4: Protocol and Algorithms Specification.” RFC 5905, 2010
work page 2010
-
[55]
Internet Corporation for Assigned Names and Numbers (ICANN), “List of Accredited Registrars.” https://www.icann.org/en/ accredited-registrars?view-all=true, 2024
work page 2024
-
[56]
Internet Assigned Numbers Authority (IANA), “Root Zone File.” Inter- NIC. https://www.internic.net/domain/root.zone, 2024
work page 2024
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.