https://github.com/gwen001/csp-analyzer
Analyze Content-Security-Policy header of a given URL.
https://github.com/gwen001/csp-analyzer
bugbounty content-security-policy csp pentesting python security-tools
Last synced: 6 months ago
JSON representation
Analyze Content-Security-Policy header of a given URL.
- Host: GitHub
- URL: https://github.com/gwen001/csp-analyzer
- Owner: gwen001
- License: mit
- Created: 2022-11-08T15:33:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T17:36:35.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T20:12:15.148Z (7 months ago)
- Topics: bugbounty, content-security-policy, csp, pentesting, python, security-tools
- Language: Python
- Homepage:
- Size: 548 KB
- Stars: 31
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
csp-analyzer
Analyze the Content-Security-Policy of a given URL.
---
## Description
This Python tool displays the Content-Security-Policy header of a given URL in a pretty way.
The colors show the "severity" of the potential issue.
## Install
```
git clone https://github.com/gwen001/csp-analyzer
cd csp-analyzer
pip3 install -r requirements.txt
```
## Usage
```
$ python3 csp-analyzer.py []
```
---

---
Feel free to [open an issue](/../../issues/) if you have any problem with the script.