TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SugarCoat: Private browsing without breaking the web

174 pointsby codesukiover 3 years ago

13 comments

gruezover 3 years ago
In section 3.2.2 they mention being able to handle obfuscated/minified scripts, but based on the description it doesn't look very robust. Any sort of anti-debug/tampering would break this, eg. storing the value of window.localstorage somewhere, then comparing it against the value of window.localstorage when you try to access it. If the values differ, there's probably some debugging/tampering going on, and the site can hold the content hostage and demand you turn off the protections. I'm not sure why they don't just patch the javascript runtime environment (ie. the implementation of window.localstorage itself). That would be much more robust and harder to detect. Plus, you don't have to mess around with rewriting scripts.
评论 #29316473 未加载
评论 #29315885 未加载
miohtamaover 3 years ago
Here is Brave’s announcement with technical details:<p><a href="https:&#x2F;&#x2F;brave.com&#x2F;privacy-updates&#x2F;12-sugarcoat&#x2F;" rel="nofollow">https:&#x2F;&#x2F;brave.com&#x2F;privacy-updates&#x2F;12-sugarcoat&#x2F;</a><p>The actual paper:<p><a href="https:&#x2F;&#x2F;brave.com&#x2F;wp-content&#x2F;uploads&#x2F;2021&#x2F;06&#x2F;sugarcoat-ccs-2021.pdf" rel="nofollow">https:&#x2F;&#x2F;brave.com&#x2F;wp-content&#x2F;uploads&#x2F;2021&#x2F;06&#x2F;sugarcoat-ccs-2...</a>
newscrackerover 3 years ago
I’d really love to see this in Firefox, even though I already use uBlock Origin, Privacy Badger and Container Tabs. Even if this is added, I’d still not give up on these extensions.<p>Though Brave has been involved in (controversial?) work that’s tangential or unrelated from the core web, such as a substitute for advertising based income for sites, a crypto wallet, etc., I do admire the relentless focus on creating features that help and protect users. It also seems to have a higher velocity of feature releases, perhaps because it can still rely a lot on the open source Chromium project (which it customizes) as opposed to the Firefox team that has to maintain and improve Gecko&#x2F;Servo as well as handle end user facing features.
评论 #29314612 未加载
评论 #29316507 未加载
评论 #29320765 未加载
marcodiegoover 3 years ago
I actually don&#x27;t care that much when sites break because of my ad blockers. If sites require my ad blockers disabled to work correctly, these sites are what is broken in the first place.
评论 #29314107 未加载
评论 #29313754 未加载
评论 #29314810 未加载
评论 #29314285 未加载
dirtyvover 3 years ago
I really like the sound of this but I don&#x27;t trust Brave. I used Brave on iPhone as soon as it came out, always in private mode so as to not save any history or open tabs. A while back, after an update, I opened the app and it immediately opened dozens and dozens of tabs, all of which I recognized as being tabs I had opened in the past. It almost seemed be opening pages back to when I first used the app. I obviously left a complaint in the reviews. The developers quickly pushed another update but never addressed how or why this was even possible.
评论 #29316077 未加载
评论 #29314639 未加载
a-dubover 3 years ago
hm. interesting. could be an interesting feature for the mozilla vpn. rather than just redirecting all traffic to a clean pipe, redirect it into a special networking environment where tracking endpoints are mocked up to be benign.<p>even better would be if users could also analyze their own traffic, block suspicious things and contribute to the mock environment for firewalling personal data.<p>maybe the future of firewalls will be more about keeping user data in, rather than keeping malicious actors out...
评论 #29314623 未加载
jakecoppover 3 years ago
Are there any plans for this to be implemented in Firefox? I don&#x27;t feel like jumping over to Brave.
评论 #29313446 未加载
评论 #29314132 未加载
评论 #29313654 未加载
评论 #29314534 未加载
r00fusover 3 years ago
Alright - so if the example they provide illustrates the jist of their approach, it&#x27;s essentially &quot;sandboxing&quot; the scripts so that calls to localstorage succeed but are then effectively non-persistent.<p>Can scripts be written to bypass such sandboxing?
评论 #29313835 未加载
Sephrover 3 years ago
&gt; SugarCoat replaces these scripts with scripts that have the same properties, minus the privacy-harming features<p>Depending on the scope of these replacement scripts, this may run into API patent &amp; copyright issues. Additionally, the trackers can simply start using different tracker script URLs to avoid this type of implementation.<p>A better solution is to allow these scripts to load (without cookies) and patch all of their actual network emissions and storage access to follow consent rules.
评论 #29314787 未加载
sneakover 3 years ago
I block a bunch of trackers both via uBlock, NoScript, and NextDNS. I don&#x27;t notice much breakage; I&#x27;m not sure what this tool is trying to solve.
评论 #29313912 未加载
jessaustinover 3 years ago
The actual title at this time is &quot;This Tool Protects Your Private Data While You Browse&quot;.
crhutchinsover 3 years ago
Brave browser combined with Sugarcoat, I wonder how this combination will turn out. Also, it would be great if Sugarcoat could be integrated with other browsers that don&#x27;t want to jump the Brave train.
m9731526over 3 years ago
There&#x27;s a browser plugin named Decentraleyes does this.