View on GitHub

CSPTools

Content Security Policy Creation tools

Download this project as a .zip file Download this project as a tar.gz file

CSPTools ### - A set of python-based tools to assist in creating a content security policy for your website.

This project contains some tools to simplify CSP generation.

CSP-Browser - Given some input urls, will attempt to auto-browse through the URIs

CSP-Proxy - mitm proxy to transmit CSP Headers and catch browser-generated CSP reports

CSP-Parser - Parse out proxy logs into a cohesive CSP policy

Requirements

pip install the following requirements:

Run mitmproxy once, and follow the instructions to add the mitmproxy CA as a trusted authority: http://mitmproxy.org/doc/ssl.html