Major Scanning / Scoring RewriteJuly 4th, 2019
The original version of this site focused heavily on getting the content from the site and outputting suggestions. Scoring information gamifys security and creates additional motivation to improve your scoring. The previous version of the site worked in such a way that any "good" status was 10 points, and "improve" was 5, and any "bad" was a 0. Since headers have varying importance levels, and configuration options of those headers can greatly improve or reduce the effectiveness of a header, it only made sense to allow more dynamic scoring.
Rewrite ScannerThe scanner was implemented in such a way that improving the codebase was a mess. It was a demonstration piece that became useful. The entire backend of this site was rewrote to use a series of modules that can control their own point systems and output data about a header. This modularity makes improving a single module much easier and will only allow better scanning in the future.
- Due to waning support of HPKP, this header has no impact on your site score
- Expect-CT, while technically in an expired draft, is geared to replace it. Some weight was given to this header.
- 🤷Expect-Staple seems like it might be something, but most anything about it seems to be from 2017. I won't build this one in here until I see something solid about how it should be implemented and then I can test for a way to implement it.
- We will disregard protocol provided and check HTTPS first, then HTTP. Your score will be hit pretty hard if you're only serving over HTTP
- We added require-sri to our CSP, and added Expect-CT header to our site. There's no point dispensing advice if we can't follow it!
- For those sites implementing
Content-Security-Policy-Report-Only, you will recieve a minor bump in scoring. Full scoring can be achieved by using
- Sites that set cookie(s) on pageload will now be checked for the
Secure(on HTTPS sites),
Future ChangesCurrently, we only check that you're using specfic headers, and a few parameters within them. The goal is to build out full parameter audit as well which will give you the best idea how you can improve your security.
Remember that your score probably will change when we make these changes. Some sites have improved in score, others have actually went down in score. We've also rebracketted the "score words" that quantify the number (Meh, Fail, etc). These have become more strict.