Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving the CSP module #404

Open
RMI78 opened this issue May 12, 2023 · 2 comments
Open

Improving the CSP module #404

RMI78 opened this issue May 12, 2023 · 2 comments

Comments

@RMI78
Copy link
Contributor

RMI78 commented May 12, 2023

This isn't an issue but more an idea. When testing the CSP module, I found it checks a few common CSP directives. Then I stumbled upon this website and thought it would be great to inspire ourselve from it in order to complete the module.

A good first issue would be to detect if the CSP directives exists or are correctly spelled, then see with this website if we can add some more risky directives to detect.

@devl00p
Copy link
Contributor

devl00p commented May 24, 2023

Indeed it is interesting :)

@marcoczen
Copy link

This isn't an issue but more an idea. When testing the CSP module, I found it checks a few common CSP directives. Then I stumbled upon this website and thought it would be great to inspire ourselve from it in order to complete the module.

A good first issue would be to detect if the CSP directives exists or are correctly spelled, then see with this website if we can add some more risky directives to detect.

The site you recommended - https://csp-evaluator.withgoogle.com/ - was a life saver for me. With wapiti v3.1.8 , I kept getting error

'CSP 'object-src' value is not safe'

This got me stumped as i had it as 'self'. I tried the host url too. Became nuts running wapiti over and over ... Thankfully the site above suggested 'none' as the correct value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants