Busted. My browser is configured to do just that.
The Deathray: A simple way for an untrusted site to freeze a Mac (auberon.xyz)
isolay an hour ago
concinds 14 minutes ago
amelius 8 minutes ago
washadjeffmad 7 hours ago
If it didn't crash your computer, it eventually displayed a single popup that said "Congrats on not using Internet Explorer!". I wish I still had the hate emails.
r3trohack3r 7 hours ago
If not, I have fond memories of using yours!
Matheus28 5 hours ago
parl_match 5 hours ago
davkan 5 hours ago
QuantumNomad_ 2 hours ago
With that one, Ctrl+Alt+Delete, Task Manager, kill iexplore.exe was usually all you needed to do thankfully. No hard power off necessary.
amatecha 2 hours ago
socalgal2 4 hours ago
No data is stolen, no privacy is lost. All that happens is the perp loses any audience.
Turning off WebGL = no more Figma, no more Canva, no more Google Maps. A few self correcting sites seem acceptable. Evidence, it's been 15 years since this was possible and the world didn't end and the whole internet isn't freezing your machine.
Also, this is arguably a MacOS bug. Window and Linux have had GPU monitors that power cycle the GPU if a command takes too long. Windows since before WebGL shipped. Linux a few years after. Macs still don't recover from excessive GPU use.
zelphirkalt 3 hours ago
I think this point of view is making it a bit too easy.
socalgal2 3 hours ago
> I think this point of view is making it a bit too easy.
It's been 15 years since this was possible. How many times have you heard of this being an issue? Again, it's self correcting. Site freezes machine, user stops going to site. There's zero incentive to do this and tons of incentive to not do it. Even an ad, your ads would get banned, not good for you, no incentive.
chrisjj 2 hours ago
Not true, given any unknown link or button press can redirect/go to such a site.
xingped 2 hours ago
DrewADesign 18 minutes ago
This is basically an old-man-and-the-starfish situation for me.
> You're making a big assumption that a user will even connect the dots
If they do, it’s because their wildly inaccurate mental model happened to guess the right answer. What most will think is “I was just browsing the internet and my computer froze.” Maybe they’ll connect it with that notification they just got about renewing their antivirus software subscription. Maybe it will confirm their (probably mistaken) impression that their computer has been “acting weird” since something arbitrary and unrelated happened. And similarly, some people with an accurate mental model will mistakenly assume that they deduced the cause because they’re smarter, rather than having a different focus with corresponding lacking mental models in other areas.
sersi an hour ago
StilesCrisis 9 hours ago
gucci-on-fleek 5 hours ago
alwaysmrno an hour ago
xoa 9 hours ago
StilesCrisis 9 hours ago
autoexec 9 hours ago
mh- 9 hours ago
autoexec 9 hours ago
seany 9 hours ago
autoexec 8 hours ago
xoa 8 hours ago
I think near any anti-fingerprinting efforts though presume some floor level of system security and stability. If some particular hardware exposure feature lets attackers run arbitrary low level timing and hardware testing code or crash the system or break the sandbox the game is likely over for most people.
An extra bit of entropy isn't meaningless sure, but at some point there should be some weighing of absolute attack surface against it right? Some features just seem inherently anti-privacy/anti-security and one might just have to try to deal with that via other approaches.
socalgal2 4 hours ago
Razengan 30 minutes ago
Maybe it did and you're just hooked up to the Matrix thinking it didn't
stackghost 9 hours ago
The only arguments I've ever heard in favor of wasm/webgpu were that using native graphics/GUI toolkit APIs are a pain. That's definitely true, because I've written stuff with gtk and it sucks, but that doesn't mean we should just shovel an entire tech stack into the browser.
Just because we can, doesn't mean we should. I'm tired of these BigCos shitting everything up.
lmz 8 hours ago
stackghost 8 hours ago
lmz 8 hours ago
mitxela 6 hours ago
Like, Tesco would prefer that my operating system was a roast chicken, Baowu Group would prefer it was made of steel, Berghain would prefer that it had to queue for hours to possibly get in, and Jagex would prefer it was an in-game GUI within RuneScape. None of those companies got their way, what makes Netscape special?
Melonai 4 hours ago
For WASM though, I do not agree at all! It's genuinely a great system for high performance browser code. So much stuff I use now had WASM as the backbone, and I even started applying it outside of the browser in some of my architecture. I wish we had way more enthusiasm behind things like WASM, and way less for something like WebUSB.
userbinator 7 hours ago
varenc 7 hours ago
I found this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1980392 and commit: https://phabricator.services.mozilla.com/D262053
It looks like per-domain WebGPU blocking was added exclusively just for easyeda.com !
Haven't read it all, but the story seems to be that EasyEDA's WebGPU usage was broken because it relies on some aspects which Firefox hasn't implemented yet. So they made this blocklist to get Firefox to behave as if it lacked WebGPU support completely on this domain, which makes EasyEDA fallback to some other non-broken version. Maybe they couldn't get in touch with EasyEDA directly, since it seems far easier to have them just disable WebGPU for some known versions of Firefox.
ruined 3 hours ago
which seems like an insane thing to need or support. literally just pick a different name, there are infinitely many!
i can understand just deciding to ignore the site
monster_truck 10 hours ago
LoganDark 10 hours ago
tetrahedon 4 hours ago
socalgal2 4 hours ago
ta8903 3 hours ago
john_owl an hour ago
slicendice 10 hours ago
LoganDark 10 hours ago
embedding-shape 9 hours ago
LoganDark 9 hours ago
bittercynic 9 hours ago
LoganDark 9 hours ago
willio58 9 hours ago
Locked up my entire M1 Macbook Pro, held power button and I was back into chrome in <20s but I did kinda go "why did I just do that?"
12_throw_away 9 hours ago
navtoj 8 hours ago
davsti4 7 hours ago
In Chrome on Linux:
WebGPU is experimental on this platform. See https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#... deathray/:9
Failed to create WebGPU Context Provider main @ deathray/:9 (anonymous) @ deathray/:113
Uncaught (in promise) TypeError: Failed to execute 'configure' on 'GPUCanvasContext': Failed to read the 'device' property from 'GPUCanvasConfiguration': Required member is undefined. at main (deathray/:17:17)
SugarReflex 9 hours ago
wzdd 4 hours ago
Worse and less defensible on the web of course.
krackers 9 hours ago
Why does this spill over? Unlike CPU which is multiplexed by the kernel's scheduler (so infinite loops can't lock out other programs), is the GPU not multiplexed in the same fashion?
kimixa 9 hours ago
Often there's shared resources that are statically allocated to shaders (register space, local memory etc.) that means you often can't "just" add a new task if those shared resources are already in use. But not using those resources to their full would cause performance issues.
And the internal state of a GPU is often very large, much larger than a CPU, so suspending the current tasks, saving out their state and replace it with a "higher priotity" one can be very expensive - so often an afterthought of support at best.
mitxela 6 hours ago
And what happens in WebGL?
kg 5 hours ago
mitxela 3 hours ago
auberonedu 5 hours ago
Interestingly though there was another way to make only the tab crash, even if I had all three shaders in the pipeline: If I placed the canvas far offscreen using position: absolute, only the tab would crash even if the render shaders were waiting! There's some weird interactions going on I don't yet fully understand.
nottorp 2 hours ago
The funny thing is the page describing the problem stutters like crazy in firefox/mac while the rotating nuclear hazard wheel is displayed.
eliwang 6 hours ago
germandiago 2 hours ago
sgentle 10 hours ago
Of course, plenty of other uses. Disable your adblocker or we crash your computer. Watch the whole ad or we crash your computer. Click the follow button or we crash your computer.
Maybe I'm crazy, but "crash your computer" as a building block seems powerful enough to be a security issue. Is denial of service not a security thing anymore?
mitxela 6 hours ago
It is, but only when a big corp isn't doing it. X is allowed to deny you service without an account and Reddit is allowed to deny you service without uploading your personal documents to Persona.
code_duck 4 hours ago
thin_carapace 4 hours ago
mitxela 4 hours ago
ilnmtlbnm 14 hours ago
I encountered the same type of death freeze when trying (and failing) to run models in browser tabs, but didn't spend much time trying to understand how severe it is.
Hope they don't disable WebGPU...
TedDoesntTalk 10 hours ago
splittydev 8 hours ago
xcc3641 6 hours ago
auberonedu 5 hours ago
itstrueitried 10 hours ago
while (true) console.log('this will freeze/crash dev tools')
For more of a "I've been hacked!" effect, load infinite 3D models in Three.js that have millions of vertices each. You get those black boxes where the system has so low RAM it can't even draw the browser window.anakaine 9 hours ago
LoganDark 9 hours ago
yesitdoes22 9 hours ago
LoganDark 8 hours ago
yesitdoes22 6 hours ago
If you printed to some div in the page, you will get the same effect.
Do you understand the topic? Doesn't seem like it
LoganDark 4 hours ago
Since you are so polite I tested all of it just now and it turns out you are correct that running it directly from the devtools console does not cause any worse behavior than running it from a normal script tag.
However indeed logging only a single message simply causes it to be combined and show a counter instead of crashing. Logging two different messages causes the log to explode pretty instantly and hang DevTools fairly quickly.
For context on how not-crashy a single message log was, I was able to navigate to the Sources tab and pause the webpage in the middle of its infinite loop, which is not something you should be able to do if the DevTools are truly overwhelmed. (When that happens, sometimes the Sources tab simply does not load, other times trying to pause execution simply does nothing.)
chrisjj 2 hours ago
How about the irrecoverable loss of data in RAM, though?