{"id":2299,"date":"2018-02-28T15:49:20","date_gmt":"2018-02-28T23:49:20","guid":{"rendered":"https:\/\/blog.mozilla.org\/security\/?p=2299"},"modified":"2018-02-28T15:49:20","modified_gmt":"2018-02-28T23:49:20","slug":"analysis-alexa-top-1m-sites-2","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/","title":{"rendered":"Analysis of the Alexa Top 1M Sites"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Prior to the release of the <\/span><a href=\"https:\/\/observatory.mozilla.org\/\"><span style=\"font-weight: 400;\">Mozilla Observatory<\/span><\/a><span style=\"font-weight: 400;\"> in June of 2016, I ran a scan of the Alexa Top 1M websites. Despite being available for years, <\/span><a href=\"https:\/\/pokeinthe.io\/2016\/04\/15\/state-of-security-alexa-one-top-million-2016-04\/\"><span style=\"font-weight: 400;\">the usage rates<\/span><\/a><span style=\"font-weight: 400;\"> of modern defensive security technologies was frustratingly low. A lack of tooling combined with poor and scattered documentation had led to minimal awareness around countermeasures such as <\/span><a href=\"https:\/\/wiki.mozilla.org\/Security\/Guidelines\/Web_Security#Content_Security_Policy\"><span style=\"font-weight: 400;\">Content Security Policy<\/span><\/a><span style=\"font-weight: 400;\"> (CSP), <\/span><a href=\"https:\/\/wiki.mozilla.org\/Security\/Guidelines\/Web_Security#HTTP_Strict_Transport_Security\"><span style=\"font-weight: 400;\">HTTP Strict Transport Security<\/span><\/a><span style=\"font-weight: 400;\"> (HSTS), and <\/span><a href=\"https:\/\/wiki.mozilla.org\/Security\/Guidelines\/Web_Security#Subresource_Integrity\"><span style=\"font-weight: 400;\">Subresource Integrity<\/span><\/a><span style=\"font-weight: 400;\"> (SRI).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Since then, a number of additional assessments have done, including in <\/span><a href=\"https:\/\/pokeinthe.io\/2016\/11\/14\/state-of-security-alexa-one-top-million-2016-11\/\"><span style=\"font-weight: 400;\">October 2016<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/blog.mozilla.org\/security\/2017\/06\/28\/analysis-alexa-top-1m-sites\/\"><span style=\"font-weight: 400;\">June 2017<\/span><\/a><span style=\"font-weight: 400;\">. Both of those surveys demonstrated clear and continual improvement in the state of internet security. But now that tools like the <\/span><a href=\"https:\/\/observatory.mozilla.org\/\"><span style=\"font-weight: 400;\">Mozilla Observatory<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/securityheaders.io\/\"><span style=\"font-weight: 400;\">securityheaders.io<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/www.hardenize.com\/\"><span style=\"font-weight: 400;\">Hardenize<\/span><\/a><span style=\"font-weight: 400;\"> have become more commonplace, has the excitement for improvement been tempered?<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">February 2018 Scan<\/span><\/h3>\n<table style=\"height: 546px;\" width=\"646\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><b>Technology<\/b><\/td>\n<td style=\"text-align: center;\"><b>June 2017<\/b><\/td>\n<td style=\"text-align: center;\"><b>February 2018<\/b><\/td>\n<td style=\"text-align: center;\"><b>% Change<br \/>\n(June 2017)<\/b><\/td>\n<td style=\"text-align: center;\"><b>% Change<br \/>\n(All\u2011Time<a href=\"#alexa-02-2018-footnotes\"><b><sup>1<\/sup><\/b><\/a><b>)<\/b><\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><span style=\"font-weight: 400;\">Content Security Policy (CSP)<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.018%<a href=\"#alexa-02-2018-footnotes\"><sup>2<\/sup><\/a><br \/>\n.043%<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>3<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.022%<a href=\"#alexa-02-2018-footnotes\"><sup>2<\/sup><\/a><br \/>\n.112%<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>3<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+22%<br \/>\n+161%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+340%<br \/>\n+833%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><span style=\"font-weight: 400;\">Cookies (Secure\/HttpOnly)<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>4<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">6.50%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">8.97%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+38%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+139%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Cross-origin Resource Sharing (CORS)<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>5<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">96.55%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">96.89%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+.35%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+3.3%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">HTTPS<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">45.80%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">54.31%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+19%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+83%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">HTTP \u2192 HTTPS Redirection<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">14.38%<a href=\"#alexa-02-2018-footnotes\"><sup>6<\/sup><\/a><br \/>\n22.88%<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>7<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">21.46%<a href=\"#alexa-02-2018-footnotes\"><sup>6<\/sup><\/a><br \/>\n32.82%<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>7<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+49%<br \/>\n+43%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+324%<br \/>\n+268%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Public Key Pinning (HPKP)<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">0.71%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">1.07%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+51%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+148%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u2014 HPKP Preloaded<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>8<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">0.43%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">0.70%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+63%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+71%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Strict Transport Security (HSTS)<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>9<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">4.37%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">6.03%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+38%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+245%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u2014 HSTS Preloaded<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>8<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.337%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.631%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+87%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+299%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Subresource Integrity (SRI)<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">0.113%<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>10<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">0.182%<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>11<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+61%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+1113%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">X-Content-Type-Options (XCTO)<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">9.41%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">11.72%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+21%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+89%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">X-Frame-Options (XFO)<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>12<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">10.98%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">12.55%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+14%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+84%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><span style=\"font-weight: 400;\">X-XSS-Protection (XXSSP)<\/span><a href=\"#alexa-02-2018-footnotes\"><sup>13<\/sup><\/a><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">8.12%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">10.36%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+28%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">+106%<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">Improvement across the web appears to be continuing at a steady rate. Although a 19% increase in the number of sites that support HTTPS might seem small, the absolute numbers are quite large \u2014 it represents over <\/span><b>83,000<\/b><span style=\"font-weight: 400;\"> websites, a slight slowdown from the previous survey&#8217;s <\/span><b>119,000<\/b><span style=\"font-weight: 400;\"> jump, but still a great sign of progress in encrypting the web&#8217;s long tail.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Not only that, but an additional <\/span><b>97,000<\/b><span style=\"font-weight: 400;\"> of the top websites have chosen to be HTTPS by default, with another <\/span><b>16,000<\/b><span style=\"font-weight: 400;\"> of them forbidding any HTTP access at all through the use of HTTP Strict Transport Security (HSTS). Also notable is the jump in websites that have chosen to opt into being preloaded in major web browsers, via a process known as <\/span><a href=\"https:\/\/hstspreload.org\/\"><span style=\"font-weight: 400;\">HSTS preloading<\/span><\/a><span style=\"font-weight: 400;\">. Until browsers switch to HTTPS by default, HSTS preloading is the best method for solving the trust-on-first-use problem in HSTS.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Content Security Policy (CSP) \u2014 one of the most important recent advances due to its ability to prevent <\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/Cross-site_scripting\"><span style=\"font-weight: 400;\">cross-site scripting (XSS) attacks<\/span><\/a><span style=\"font-weight: 400;\"> \u2014 continues to see strong growth. Growth is faster in policies that ignore inline stylesheets (CSS), perhaps reflecting the difficulties that many sites have with separating their presentation from their content. Nevertheless, improvements brought about by specification additions such as <\/span><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Security-Policy\/script-src#strict-dynamic\"><span style=\"font-weight: 400;\"><tt>'strict-dynamic'<\/tt><\/span><\/a><span style=\"font-weight: 400;\"> and policy generators such as the <\/span><a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/laboratory-by-mozilla\/\"><span style=\"font-weight: 400;\">Mozilla Laboratory<\/span><\/a><span style=\"font-weight: 400;\"> continue to push forward CSP adoption.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Mozilla Observatory Grading<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Despite this progress, the vast majority of top websites around the web continue not to use Content Security Policy, Strict Transport Security, or Subresource Integrity. As these technologies \u2014 when properly used \u2014 can nearly eliminate huge classes of attacks against sites and their users, they are given a significant amount of weight in Observatory scans.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As a result of their low usage rates amongst top websites, they typically receive failing grades from the Observatory:<\/span><\/p>\n<table style=\"height: 156px;\" width=\"604\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><b>Grade<\/b><\/td>\n<td style=\"text-align: center;\"><b>April 2016<\/b><\/td>\n<td style=\"text-align: center;\"><b>October 2016<\/b><\/td>\n<td style=\"text-align: center;\"><b>June 2017<\/b><\/td>\n<td style=\"text-align: center;\"><b>February 2018<\/b><\/td>\n<td style=\"text-align: center;\"><b>% Change<\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">\u00a0 A+<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.003%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.008%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.013%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.018%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400; color: #40702b;\">+38%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">A<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.006%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.012%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.029%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.011%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400; color: #6c2b2b;\">-62%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">B<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.202%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.347%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.622%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">1.08%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400; color: #40702b;\">+74%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">C<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.321%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">.727%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">1.38%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">2.04%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400; color: #40702b;\">+48%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">D<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">1.87%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">2.82%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">4.51%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">6.12%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400; color: #40702b;\">+36%<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">F<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">97.60%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">96.09%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">93.45%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400;\">90.73%<\/span><\/td>\n<td style=\"text-align: center;\"><span style=\"font-weight: 400; color: #40702b;\">-2.9%<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">We do see some significant improvements. As <\/span><b>976,930<\/b><span style=\"font-weight: 400;\"> scans were successfully completed in the last survey, a decrease in failing grades by 2.9% implies that over <\/span><b>27,000<\/b><span style=\"font-weight: 400;\"> of the top sites in the world have improved from a failing grade in the last eight months alone. Note that the drop in <\/span><b>A<\/b><span style=\"font-weight: 400;\"> grades is due to a recent change where extra credit points can no longer be used to move up to an <\/span><b>A<\/b><span style=\"font-weight: 400;\"> grade..<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Thus far, over <\/span><b>140,000<\/b><span style=\"font-weight: 400;\"> websites around the web have directly used the Mozilla Observatory to improve their grades, indicated by making an improvement to their website after an initial scan. Of these <\/span><b>140,000<\/b><span style=\"font-weight: 400;\"> websites, over <\/span><b>2,800<\/b><span style=\"font-weight: 400;\"> have improved all the way from a failing grade to an A or A+ grade.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When I first built the Observatory at <\/span><a href=\"https:\/\/www.mozilla.org\/\"><span style=\"font-weight: 400;\">Mozilla<\/span><\/a><span style=\"font-weight: 400;\">, I had never imagined that it would see such widespread use. <strong>6.6M<\/strong> scans across <strong>2.3M<\/strong> unique domains later, it seems to have made a significant difference across the internet. I couldn&#8217;t have done it without the support of Mozilla and the security researchers who have helped to improve it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Please share the <\/span><a href=\"https:\/\/observatory.mozilla.org\/\"><span style=\"font-weight: 400;\">Mozilla Observatory<\/span><\/a><span style=\"font-weight: 400;\"> so that the web can continue to see improvements over the years to come!<\/span><\/p>\n<p><b><br \/>\n<a name=\"alexa-02-2018-footnotes\"><\/a>Footnotes:<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Since <\/span><a href=\"https:\/\/pokeinthe.io\/2016\/04\/15\/state-of-security-alexa-one-top-million-2016-04\/\"><span style=\"font-weight: 400;\">April 2016<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Allows <\/span><span style=\"font-weight: 400;\"><tt>'unsafe-inline'<\/tt><\/span><span style=\"font-weight: 400;\"> in neither <\/span><span style=\"font-weight: 400;\"><tt>script-src<\/tt><\/span><span style=\"font-weight: 400;\"> nor <\/span><span style=\"font-weight: 400;\"><tt>style-src<\/tt><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Allows <\/span><span style=\"font-weight: 400;\"><tt>'unsafe-inline'<\/tt><\/span><span style=\"font-weight: 400;\"> in <\/span><span style=\"font-weight: 400;\"><tt>style-src<\/tt><\/span><span style=\"font-weight: 400;\"> only<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Amongst sites that set cookies<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Disallows foreign origins from reading the domain&#8217;s contents within user&#8217;s context<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Redirects from HTTP to HTTPS on the same domain, which allows HSTS to be set<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Redirects from HTTP to HTTPS, regardless of the final domain<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">As listed in the <\/span><a href=\"https:\/\/code.google.com\/p\/chromium\/codesearch#chromium\/src\/net\/http\/transport_security_state_static.json\"><span style=\"font-weight: 400;\">Chromium preload list<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><tt>max-age<\/tt><\/span><span style=\"font-weight: 400;\"> set to at least six months<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Percentage is of sites that load scripts from a foreign origin<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Percentage is of sites that load scripts<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">CSP <\/span><span style=\"font-weight: 400;\"><tt>frame-ancestors<\/tt><\/span><span style=\"font-weight: 400;\"> directive is allowed in lieu of an XFO header<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Strong CSP policy forbidding <\/span><span style=\"font-weight: 400;\"><tt>'unsafe-inline'<\/tt><\/span><span style=\"font-weight: 400;\"> is allowed in lieu of an XXSSP header<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Prior to the release of the Mozilla Observatory in June of 2016, I ran a scan of the Alexa Top 1M websites. Despite being available for years, the usage rates &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/\">Read more<\/a><\/p>\n","protected":false},"author":1227,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"coauthors":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Analysis of the Alexa Top 1M Sites - Mozilla Security Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"April King\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/\",\"url\":\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/\",\"name\":\"Analysis of the Alexa Top 1M Sites - Mozilla Security Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/#website\"},\"datePublished\":\"2018-02-28T23:49:20+00:00\",\"dateModified\":\"2018-02-28T23:49:20+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/cab208d1e0249bd2da73bc39c3d542b7\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/security\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Analysis of the Alexa Top 1M Sites\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/security\/\",\"name\":\"Mozilla Security Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/security\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/cab208d1e0249bd2da73bc39c3d542b7\",\"name\":\"April King\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/image\/dd59dfe8e9604d209d11d9a03e8ab3a6\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b874e43ec7b59fdca0b4f9b8c3b7cc1b?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b874e43ec7b59fdca0b4f9b8c3b7cc1b?s=96&d=identicon&r=g\",\"caption\":\"April King\"},\"description\":\"IRC: April\",\"sameAs\":[\"https:\/\/pokeinthe.io\/\",\"https:\/\/x.com\/aprilmpls\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Analysis of the Alexa Top 1M Sites - Mozilla Security Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/","twitter_misc":{"Written by":"April King","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/","url":"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/","name":"Analysis of the Alexa Top 1M Sites - Mozilla Security Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/security\/#website"},"datePublished":"2018-02-28T23:49:20+00:00","dateModified":"2018-02-28T23:49:20+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/cab208d1e0249bd2da73bc39c3d542b7"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/security\/2018\/02\/28\/analysis-alexa-top-1m-sites-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/security\/"},{"@type":"ListItem","position":2,"name":"Analysis of the Alexa Top 1M Sites"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/security\/#website","url":"https:\/\/blog.mozilla.org\/security\/","name":"Mozilla Security Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/security\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/cab208d1e0249bd2da73bc39c3d542b7","name":"April King","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/security\/#\/schema\/person\/image\/dd59dfe8e9604d209d11d9a03e8ab3a6","url":"https:\/\/secure.gravatar.com\/avatar\/b874e43ec7b59fdca0b4f9b8c3b7cc1b?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b874e43ec7b59fdca0b4f9b8c3b7cc1b?s=96&d=identicon&r=g","caption":"April King"},"description":"IRC: April","sameAs":["https:\/\/pokeinthe.io\/","https:\/\/x.com\/aprilmpls"]}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/posts\/2299"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/users\/1227"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/comments?post=2299"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/posts\/2299\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/media?parent=2299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/categories?post=2299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/tags?post=2299"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/security\/wp-json\/wp\/v2\/coauthors?post=2299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}