cspparse: evaluate Content Security Policies
cspparse
cspparse is a tool to evaluate Content Security Policies. It uses Google’s API to retrieve the CSP Headers and returns them in ReconJSON format. Not only does it check for headers with Google’s API, it also parses the target site’s HTML to look for any CSP rules that are specified in the <meta> tag.
Install
go get -u github.com/lc/cspparse
Use
cspparse <domain / url>
Source: https://github.com/lc/