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
1. Content-security-policy
2. X-xss-protection
3. Strict-transport-security
4. X-frame-options
5. Public-key-pins
6. X-content-type

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.
  1. Chrome Dev Tools
  2. Securityheaders.io (our fav website)
This section cover a list of tools to analyze, develop and administrate HTTP secure headers in order to help achieve more secure and trustworthy web systems.

Analysis ToolsReference
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.
Mozilla Observatory
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.

Development LibrariesLanguageReference
Security related headers all in one gem.
  • Ruby
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
Spring Security’s support for adding various security headers to the response.
  • Java
Security related HTTP headers for Rack applications.
  • Rack
helmet and hood
Node.js (express).
  • Node.js (express)
A CSP plugin for hapi.
  • Node.js (hapi)
NWebsec consists of several security libraries for ASP.NET applications.
django-csp + commonware; django-security
django-csp + commonware; django-security.
  • Python
Package secureheader adds some HTTP header fields widely considered to improve safety of HTTP requests.
  • Go
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.
  • Elixir
A bundle for applying default web security functionality to a dropwizard application.
  • Dropwizard
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.
  • Ember.js

Operation ToolsWeb Servers SupportedReference
Puppet module to enable, configure and manage secure http headers on web servers.
  • Apache HTTP Server
  • Lighttpd