-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
NoScript WebExtension and its CSP reports #3260
Comments
How did you come to this conclusion? Why not a more simple explanation which matches what logger is reporting you? The report to |
This (which the logger only shows when a site is allowed by NoScript -> 2nd screenshot) I understand since I actually took the time to read the Wiki entry about CSP reports.
Ehm, looking at what the logger reports when a site is blocked by NoScript (1st screenshot)? I don't understand why |
By the way, when you use So mainly this means that uBO's feature of blocking CSP reports is incompatible with NoScript's uses of CSP reports. Not sure at this point how this could be made compatible, aside not using the feature to block CSP reports in uBO. |
Maybe I could change the semantic of |
Ah, that at least clears things a bit up, thanks.
Unless you don't want to introduce a source-destination-semantic like in dynamic filtering rule syntax this sounds reasonable. But what do I know 🙈 Thanks for looking into this in any case! |
I will change the semantic, it makes more sense after all, and this is a good time to do it while the CSP report-blocking feature is really one single checkbox. So this goes from "Block all CSP reports when visiting such site" to "Blocks all CSP reports to such server" |
Describe the issue
I've enabled Block CSP reports so I got an entry
no-csp-reports: * true
in my rules. Today the NoScript WebExtension for Firefox 57+ came out and I noticed several CSP reports from the domainfake-domain.noscript.net
appearing in uBO's logger, e.g.:Then I found this interview with NoScript's main developer Giorgio Maone in which he says he would be using CSP reports in a "creative" way to rebuild certain of the old extension's features in the WebExtension:
Therefore I tried to set the explicit allow rule
no-csp-reports: fake-domain.noscript.net false
analogous to what's described in uBO's Wiki to allow CSP's for the domainfake-domain.noscript.net
only. Now obviously this didn't work because the CSP reports still get blocked by theno-csp-reports: * true
rule (at least that's what uBO's logger shows, the same as in the screenshot above).I don't have enough understanding of the technical details involved to say what's going on/wrong here. As far as I can tell this hasn't caused any practical issue/limitation on my side. But on the other hand I'm still becoming accustomed to NoScript's new – let's say "in need of getting used to" – interface and can't really tell if it works completely as it should (i.e. provides all the protection it should).
Update:
When I allow steemit.com in NoScript, the NoScript CSP reports don't show up but ones from steemit.com instead:
So I guess uBO's logger "wrongly" allocates the Steemit's CSP reports to the NoScript domain/can't allocate them to the actual domain they're originating from?Besides that, I've noticed that when a site like Steemit is blocked in NoScript,
noscript.net
appears as a blocked third-party domain in uBO's panel (and allowing it doesn't do nothing, i.e. still red/blocked).Update 2:
NoScript's CSP reports only fire when the first party domain is not whitelisted in NoScript. This might result in
fake-domain.noscript.net
being able to reconstruct the browsing history as gorhill warns in this comment.Update 3:
According to a statement from Giorgio Maone there's no privacy issue (browser history leakage):
One or more specific URLs where the issue occurs
E.g. this site: https://steemit.com/spanish/@vieira/el-materialismo-el-mayor-problema-de-la-sociedad
Your settings
Your filter lists
Enabled all built-in filter lists, minus:
Your custom filters (if any)
Disabled them all, issue still occurs.
Besides I'm using "AAK-Cont Filter For uBlock Origin" with Greasemonkey (the new WebExtension).
The text was updated successfully, but these errors were encountered: