HTTP security headers always provide an extra layer of security by helping to mitigate attacks and security vulnerabilities.
During the last few years, a number of new HTTP headers have been introduced whose purpose is to help enhancing the security of a website.
Command HTTP Security Headers
Installation of Shcheck
You can easily install shcheck script which is python based script from Github directly.
git clone https://github.com/m3liot/shcheck.git
Give the full permissions to shcheck.py script with the help of “chmod +x shcheck.py“.
To run this script, simply type “./shcheck.py <Your target>”
You can also analyze or scan all headers online from HTTP HEADER CHECK.
Here are the list of other sites/tools through which you can also scan the security headers of any website.
A security scanner for HTTP response headers.
Python script to get some response headers from Alexa top sites file and store in a MySQL database.
There are services out there that will analyse the HTTP response headers of other sites but I also wanted to add a rating system to the results. The HTTP response headers that this site analyses provide huge levels of protection and it’s important that sites deploy them. Hopefully, by providing an easy mechanism to assess them, and further information on how to deploy missing headers, we can drive up the usage of security based headers across the web.
A Mozilla project designed to help developers, system administrators, and security professionals configure their sites safely and securely.
|High-Tech Bridge Web Security Scanner|
An online service that will retrieve and analyse headers syntax and proper configuration in a comprehensive way. It will be able for instance to highlight Public-Key-Pins that matches one certificate of the chain or if Content-Security-Policy contains values that could be unsafe or too permissive.
|Check Your Headers|
Just another web scanner for HTTP response headers.
|Recx Security Analyser|
Chrome extension that allows the inspection of security aspects of a site’s HTTP headers, cookies and other key security settings.
While each project you launch may have a different feature set, they often share many of the same performance, SEO and security requirements. This tool aims to automate the process of checking your list of requirements shortly before launch or directly after a deployment.
Security related headers all in one gem.
|Security Header Injection Module (SHIM)|
SHIM is a HTTP module that provides protection for many vulnerabilities by injecting security-specific HTTP headers into ASP.NET web applications.
Spring Security’s support for adding various security headers to the response.
Security related HTTP headers for Rack applications.
|helmet and hood|
A CSP plugin for hapi.
NWebsec consists of several security libraries for ASP.NET applications.
|django-csp + commonware; django-security|
django-csp + commonware; django-security.
Package secureheader adds some HTTP header fields widely considered to improve safety of HTTP requests.
This Plug will automatically apply several security headers to the Plug.Conn response. By design SecureHeaders will attempt to apply the most strict security policy. Although, security headers are configurable and are validated to avoid misconfiguration.
A bundle for applying default web security functionality to a dropwizard application.
This addon makes it easy to use Content Security Policy (CSP) in your project. It can be deployed either via a Content-Security-Policy header sent from the Ember CLI Express server, or as a meta tag in the index.html file.