Lurker News

Comments (326) 59 threads

Show all comments

Showing thread 3 of 59

ThePadawan9 replies#
I do wish there was an option to safely disable all connectivity in a browser tab (forever) like with Javascript or camera access.

Yes, saving the page, disconnecting your network connection, then deleting the page would work, but it's a real bother.

mholt#
Yep, I kind of wish browser permissions let you gate access to the network just like they do the camera, mic, location, etc. (Though, network permission would probably need to be enabled by default to not break the Web.)
floatingatoll#
I do too. Even the web extension APIs don’t seem to comprehend this. It’s super disappointing and it’s holding back extension development and enabling a massive malware problem.
mrfusion1 reply#
Airplane mode?
fulafel1 reply#
The page might start a service worker and exfiltrate the data when connectivity returns even after the tab is closed.
kortilla3 replies#
Can any website start service workers that outlive their tabs? That seems like a huge change

Continue this thread — 3 replies

dheera2 replies#
Also another nitpick:

> View the source code
It would be really nice if the source code in the browser (no, not the Github repo; how do I know the web server served the same thing as the Github repo?) were displayed in a human-readable format with proper tabbing, comments if applicable, and not an obfuscated, minified form.
In fact if your goal isn't specifically obfuscation, it's not necessary to minify JS in general. Web servers do a good job gzipping stuff.

ThePadawan#
Hm, we could have the best of both worlds if source maps (can already be served to browsers and are supported fine) could be proven authentic.

I believe right now, I could use foo.min.js and serve you a cruddy foo.min.map.js to mislead you.
If I served you the original sources foo.concat.js and a build script to go from foo.concat.js => foo.min.js instead, we could have both the speed of the minified version and the (proven by the browser) accurate source code and maps!

ComputerGuru1 reply#
We’re moving far, far away from the observability and introspection that once made the web a transparent medium. First it was minified JS, then it was minified and obfuscated JS, then it was using a canvas instead of the DOM to prevent even HTML inspection, and now it’s binary executable payloads (WASM) rendering to a WebGL context with zero introspection possible.
kenneth1 reply#
Is there actually a popular site that uses WASM / WebGL the way you mention it?

Continue this thread — 1 reply

rhn_mk11 reply#
uMatrix kind of does this. Once you forbid everything, requests will get filtered out.

I'm not sure if this affects service workers though.

gpvos1 reply#
Can uMatrix do that only for the current tab?
rhn_mk1#
Yes, until reload. Permanent settings are always per domain.
avel3 replies#
DevTools -> network -> Change the throttling to "offline"
41b696ef11133 replies#
Offline is not an option in Firefox, just progressively worse connection options.
jacobmischka1 reply#
It's a bit less convenient, but I think you can accomplish the same using a `*` request blocking rule: https://i.imgur.com/SYgAxuW.png

Continue this thread — 1 reply

ajsnigrutin#
File -> work offline?
TameAntelope3 replies#
You could also just see that no network requests are sent when you type.

Continue this thread — 3 replies

dzhiurgis#
Does it stay offline if you have a service worker?
pimterry#
Note that today in Chromium-based browsers this does _not_ take a page completely offline - it only affects some specific internal HTTP request APIs, so it's still quite possible to exfiltrate data. For example, WebSockets & WebRTC aren't affected: https://bugs.chromium.org/p/chromium/issues/detail?id=423246 (although it looks like there's work to start to properly support this in progress).
dzhiurgis#
Same for apps.

And it's crazy you can't disable phone service on iPhone.
Also, if you worried about someone accessing your network then you probably need to isolate your devices from seeing each other.
TBH other than pwning my router or misusing my IP address in some way I don't see much problem having my devices on public net. All of them run firewall and are up to date. Most traffic is HTTPS and I'm not sure if you can MITM with just Wifi password lol.

pryce#
I think the risk model for this sort of thing is still... complicated, even though the site as it stands is safe and does not transmit credentials.

After first gaining popularity, the domain could later pass to someone with malicious intent quite easily, eg:
1. Tech people like HN verify the site as credible and approve of it
2. The site gains popularity and goes viral / receives significant use
3. The original author abandons the site because of costs, or simple boredom
4. A malicious actor acquires the domain and begins recording users credentials alongside IP addresses.
Conceivably, an enormous amount could be captured before the malicious recording became exposed, and (importantly) most of those whose credentials were compromised would have no straightforward path by which they could be alerted.
Other scenarios: site is malicious to begin with but set up to not transmit credentials during its first ~28 days.
Mirrors of this site with credential capture added, (hard to claim that's a flaw of this site itself, just a flaw with "this type of site being normalized").