Archived
✨ Feature Suggestion | dom.serviceWorkers.enabled should be set to false #860
Closed
opened 2019-04-13 11:34:33 +00:00 by orion40
·
2 comments
No Branch/Tag Specified
master
dependabot/bundler/nokogiri-1.13.6
dependabot/bundler/addressable-2.8.0
freddy-m-patch-3
pr-add_RemoveMyPhone_sponsor
pr-browser_cleanup_1257_1328_1430
freddy-m-patch-2
freddy-m-patch-1
pr-vpn_hated_one_video
cdn
update-nitrohorse-image
promote-metager-to-card
hardware
pr-add_azirevpn
pr-add_mailfence
shop
1673
pr/1658
i18n-simple
sponsorship-edits-nov2019
i18n
ipfs
blacklight447-ptio-patch-3
blog
remove-windows-icons
pr/1147
i18n-testing
add-beautify
No results found.
Labels
Clear labels
:mag:🤖 Search Engines
I2P
OS
Self-contained networks
Social media
Tor
WIP
XMPP
[m]
approved
dependencies
duplicate
feedback wanted
high priority
iOS
low priority
stale
streaming
todo
wontfix
₿ cryptocurrency
ℹ️ help wanted
↔️ file sharing
⚙️ web extensions
✨ enhancement
❌ software removal
🆕 software suggestion
🆘 critical
🇦🇶 translations
🌐 Social News Aggregators
🌐 hosting
🌐 website issue
🏠 housekeeping
🐛 bug
👁️ browsers
👥 team chat
💢 conflicting
💬 discussion
💻 hardware
📁 file storage
📝 correction
📧 email
🔎 research required
🔐 password managers
🔒 VPN
🔒 file encryption
🖊️ digital notebooks
🗄️ DNS
🗨️ instant messaging (im)
🚫 Windows
🤖 Android
🦊 Firefox
🧰 productivity tools
The Invisible Internet Project (I2P)
Operating Systems
Anything covering the Tor network
active work in progress, do not merge or PR (yet)!
Extensible Messaging and Presence Protocol
Matrix protocol
approved, waiting for a PR
Pull requests that update a dependency file
A label for stalebot if it gets added
Anything related to media streaming.
Issues or bugs that will not be fixed and/or do not have significant impact on the project.
Browser Extension related issues
Anything covering a translated version of the site
*Technical* issues with the website.
Anything primarily related to site cleanup.
Correction of content on the website
Virtual Private Network
Domain Name System
Firefox & forks, about:config etc.
Milestone
No items
No Milestone
No due date set.
Dependencies
No dependencies set.
Reference: privacyguides/privacytools.io#860
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description:
There was a time where as soon as you closed a tab, the website you were on couldn't run code in your browser anymore. Thanks to service workers, you can now have code being executed without you ever knowing about it, as they are not visible to the browser extensions, and usually do not ask for your permission (the notification message you sometimes get on websites).
They are a privacy and security threat, and should be mentioned in the website.
Here's a couple of links with more description about the issue:
https://sakurity.com/blog/2016/12/10/serviceworker_botnet.html
https://blog.acolyer.org/2019/04/12/master-of-web-puppets-abusing-web-browsers-for-persistent-and-stealthy-computation/
While I do see the reason behind this request, and agree with some portions of it, there are incredibly important and legitimate use cases for web workers especially in the field of privacy and security.
In short, all web-crypto libraries use or rely on service workers in one form or another to handle processing-heavy operations in the service-worker thread, rather than the main UI thread, so that your browser & UI won't be blocked/frozen while things are being encrypted / decrypted / hashed.
So for example:
OpenPGPjs uses service workers.
https://github.com/openpgpjs/openpgpjs/blob/master/dist/openpgp.worker.js
https://github.com/openpgpjs/openpgpjs#set-up
libsodium.js can use web workers:
https://github.com/jedisct1/libsodium.js/issues/8
TweetNaCl-js can use web workers:
https://github.com/dchest/tweetnacl-js/issues/65
The list goes on.
Blocking service workers would/could slow down (or completely break) privacy providing web services, like :
Protonmail
https://github.com/ProtonMail/WebClient/blob/ba1964ee7163702322ffa996f49decaebe946543/src/app/setupPmcrypto.js#L15
Tutanota
https://github.com/tutao/tutanota/tree/2ae78fc01dbc0c006ed79aaa42011ed3b567ba79/src/api/worker
Cryptee
https://github.com/cryptee/web-client/blob/fe0ffb242b39069df97415abff316f2ec5515680/source/js/main.js#L642
and many others that rely on similar cryptographic libraries. (these are merely 3 examples off the top of my head)
In my opinion, it's incredibly important to consider all angles while making a decision like this, so that a privacytoolsIO browser-feature-recommendation wouldn't break / slow down most of the privacy services recommended on privacytoolsIO.
Ive done some testing at it seems to break protonmail. I do not think we can recommend tweaks that will also break one of our recommendations. I am closing the issue, anyone is free to comment with new arguments to open it up again,