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

Make use of dynamic filters easier by adding website safety checker #3596

Closed
mikhaelkh opened this issue Mar 12, 2018 · 16 comments
Closed

Make use of dynamic filters easier by adding website safety checker #3596

mikhaelkh opened this issue Mar 12, 2018 · 16 comments

Comments

@mikhaelkh
Copy link
Contributor

mikhaelkh commented Mar 12, 2018

Describe the issue

One way to quickly determine the broken filter is to add dynamic allow rules until site is rendered properly. Unfortunately, uBO (and uMatrix) provide no means to check if an unknown domain is safe. It can be done for example by adding a link to a website safety checker in the overview panel next to each domain.

Steps for anyone to reproduce the issue

  1. Enable Advanced mode
  2. Go to website where exists broken filter
  3. Try to fix it with dynamic filters

Your settings

  • OS/version: Windows 10 v1607
  • Browser/version: Chrome Beta Official
  • uBlock Origin version: Dev in Store
@mikhaelkh mikhaelkh changed the title Make dynamic filters use easier by adding website safety checker Make use of dynamic filters easier by adding website safety checker Mar 12, 2018
@gorhill
Copy link
Owner

gorhill commented Mar 12, 2018

uBO won't vouch for any "website safety checker".

Best left to a dedicated extension.

@gorhill gorhill closed this as completed Mar 12, 2018
@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 12, 2018

You don't have to vouch for any particular tool if you give user a choice.
@jspenguin2017 ?

@jspenguin2017
Copy link
Contributor

if you give user a choice

Like direct them to WebStore to pick their own? What's on your mind?

@gorhill
Copy link
Owner

gorhill commented Mar 12, 2018

Duplicate of #65 by the way (and gorhill/uMatrix#185) (this was all before Web of Trust being found selling user data).

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 12, 2018

What's on your mind?

@jspenguin2017 more like use API to quickly see if the domain is safe, like red-yellow-green colors in the overview panel to see what requests from domain are currently blocked.

Maybe it makes sense to use separate color (say black) to indicate that there's an active filter which blocks whole domain? Currently green and red can turn yellow, but black will stay black.

@jspenguin2017
Copy link
Contributor

if you give user a choice

use API to quickly see if the domain is safe

You just contradicted yourself.

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 12, 2018

You just contradicted yourself.

Actually no, because there can be several APIs from several sources. Nevermind, it's like gorhill said, best leave it to a dedicated extension.

@jspenguin2017
Copy link
Contributor

from several sources

For example... ?

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 12, 2018

WOT, Google, Yandex, PhishTank

@jspenguin2017
Copy link
Contributor

jspenguin2017 commented Mar 13, 2018

WOT:

You need an API key to use the public API. In order to request a key, you need a WOT account.

Well, you can't really ship an API key with the extension, but the alternative is to host your own server, which isn't ideal. You can ask the user to supply his own key but... can't you just send the user to WebStore to get the WOT extension?


When Safe Browsing flags a site, it looks like this:
image


Yandex:

Get a unique key.

Might have the same problem as WOT, I'm not sure if the API key can be public though, for WOT their TOS clearly implies the key is private.

I think Yandex's Safe Browsing is similar to Google's: when it flags, it means the site is really dangerous; and chances are Google already flagged it.


PhishTank

please register for an application key
Without this key, you will be limited to a few downloads per day.

I haven't looked into it, but the key is probably private, and users who actually use the trust rating feature probably need more than "a few per day".

Also after a quick test, most of the sites they flag are already flagged by Google.


WOT has their own extension and the other three only flag really dangerous sites, and Chrome's big red block screen is probably enough of a warning already. Got better examples?

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 14, 2018

@jspenguin2017
I guess my issue is that one can't distinguish dangerous websites from others in the overview panel. Red color just indicate that there's no allowed requests from domain yet, which doesn't necessarily means the domain is unsafe. Another layer of protection like Google or Yandex Safe Browsing, or uMatrix is a smart choice in case you accidentally allow dangerous domain. Sometimes GSB blocks website because of crappy 3rd party ad provider, and use of uBO would eliminate the consequences.

Maybe it makes sense to use separate color (say black) to indicate that there's an active block filter for domain from filterlist that contains unsafe websites, e.g. "Malware domains"?

@jspenguin2017
Copy link
Contributor

@mikhaelkh
That makes no sense to me. If a big full screen warning is not enough, how will a color code in a small grid help?

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 14, 2018

It's not "not enough", it's "too much". It would help in the following way: it would clearly indicate that the domain is unsafe with high probability and save time to find which domain to allow: first consider yellow domains, then red, and only then, with extreme care, black. Preferably, black domains should be placed at the bottom, like in uMatrix.

@jspenguin2017
Copy link
Contributor

@mikhaelkh I don't think it's too much, there is no reason for you to visit phishing sites to begin with.

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Mar 14, 2018

Sometimes websites become victims of 3rd-party crap which gets blocked by GSB anyway.

@jspenguin2017
Copy link
Contributor

@mikhaelkh Well, that's why you don't put untrusted third party stuff on your website.

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

No branches or pull requests

3 participants