CSP Reports and noscript-csp.invalid.
Posted: Wed Feb 14, 2018 6:23 pm
Hello.
I would like to ask a question, mainly to Mr Maone, about "noscript-csp.invalid" website. It's a little bit confusing, because CSP is maklng a network requests as a result of browser reporting Content Security Policy violations to a remote server (do we trust remote servers?). On the other hand, CSP was added as a layer of security to detect and mitigate a various types of attacks, for example: Cross Site Scripting (XSS) and so on. These attacks, "exploit the browser's trust of the content received from the server" and "Malicious scripts are executed by the victim's browser (...)" etc. And here NoScript can helps, right? I apologize for such an introduction, but I really don't know what to do with "CSP" option in uBO.
Generally, I just want to know what should I do: allow or deny? According to a pretty long Mr Maone statement, there is no privacy issues (for more informations, please see 1.) Thank You, Mr Maone! Last year, there was a few discussions about that (please see 2., 3.) However, there is a possibility that blocking CSP via uBlock Origin can be incompatible with NoScript's way of using CSP reports.
I'm asking, because CSP ("Content Security Policy") aims to do to a few security related things such as: "mitigating the risk of content injection vulnerabilities such as cross-site scripting, and reducing the privilege with which applications execute." It's a tool which developers can use to lock down their applications in various ways etc.
Here are some excerpts/examples to show uBO logs about "noscript-csp.invalid" website etc. That is what happens in the case of:
✗ blocking
✓ allowing
As we can see, there is a lack of the first two column (see 2. log entry; first contain w3c.github.io...). So, what should I do - or what are you doing - with "noscript-csp.invalid" in uBlock Origin: block, allow? Websites seems to work correctly and okay when it's blocked (red color) and allowed (gray/green colors). But what about an impact on security?
Mr Maone, can You provide your opinion on this one? Since You are an owner of the "noscript.net" and it is under your control, I think your opinion will be the most valuable. What users of uBlock Origin and NoScript should do: Block CSP reports or not checking this option at all? And if users will decide to block these reports via uBO, how could it affect NoScript main feature: securing our computers etc.?
Yes, I know that it's a NoScript forum, but I think, that many users are using NoScript along with uBO. And since both addons, at least in the case of CSP have an impact on themselves, I think there should be something like "an official" answer, advice on what users should do and so on.
Thanks, regards.
______________
1. https://hackademix.net/2017/11/21/noscr ... ment-38450
2. https://github.com/gorhill/uBlock/issues/3260
3. https://github.com/gorhill/uBlock/issues/3140
I would like to ask a question, mainly to Mr Maone, about "noscript-csp.invalid" website. It's a little bit confusing, because CSP is maklng a network requests as a result of browser reporting Content Security Policy violations to a remote server (do we trust remote servers?). On the other hand, CSP was added as a layer of security to detect and mitigate a various types of attacks, for example: Cross Site Scripting (XSS) and so on. These attacks, "exploit the browser's trust of the content received from the server" and "Malicious scripts are executed by the victim's browser (...)" etc. And here NoScript can helps, right? I apologize for such an introduction, but I really don't know what to do with "CSP" option in uBO.
Generally, I just want to know what should I do: allow or deny? According to a pretty long Mr Maone statement, there is no privacy issues (for more informations, please see 1.) Thank You, Mr Maone! Last year, there was a few discussions about that (please see 2., 3.) However, there is a possibility that blocking CSP via uBlock Origin can be incompatible with NoScript's way of using CSP reports.
I'm asking, because CSP ("Content Security Policy") aims to do to a few security related things such as: "mitigating the risk of content injection vulnerabilities such as cross-site scripting, and reducing the privilege with which applications execute." It's a tool which developers can use to lock down their applications in various ways etc.
Here are some excerpts/examples to show uBO logs about "noscript-csp.invalid" website etc. That is what happens in the case of:
✗ blocking
✓ allowing
Code: Select all
✗ w3c.github.io noscript-csp.invalid * block -- csp_report https://noscript-csp.invalid/__NoScript_Probe__/
✓ csp_report https://noscript-csp.invalid/__NoScript_Probe__/Mr Maone, can You provide your opinion on this one? Since You are an owner of the "noscript.net" and it is under your control, I think your opinion will be the most valuable. What users of uBlock Origin and NoScript should do: Block CSP reports or not checking this option at all? And if users will decide to block these reports via uBO, how could it affect NoScript main feature: securing our computers etc.?
Yes, I know that it's a NoScript forum, but I think, that many users are using NoScript along with uBO. And since both addons, at least in the case of CSP have an impact on themselves, I think there should be something like "an official" answer, advice on what users should do and so on.
Thanks, regards.
______________
1. https://hackademix.net/2017/11/21/noscr ... ment-38450
2. https://github.com/gorhill/uBlock/issues/3260
3. https://github.com/gorhill/uBlock/issues/3140