The Deathray: A simple way for an untrusted site to freeze a Mac
auberonedu
134 points
88 comments
September 10, 2026
Related Discussions
Found 5 related stories in 66.3ms across 6,164 title embeddings via pgvector HNSW
- fork() Considered Harmful in macOS drewgregory · 29 pts · August 26, 2026 · 48% similar
- Silent Replacement of Trusted macOS App Executables jurip · 37 pts · July 23, 2026 · 48% similar
- The End of MacSurf mplsllc · 11 pts · August 11, 2026 · 47% similar
- About the security content of macOS Tahoe 26.6 andor · 202 pts · July 28, 2026 · 47% similar
- Researchers replace downloaded macOS apps with evil twins, Apple shrugs sbulaev · 17 pts · July 25, 2026 · 47% similar
Discussion Highlights (20 comments)
ilnmtlbnm
Amazing! 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...
fuzzfactor
Maybe that would be better than a meltdown . . .
selectodude
Zero impact on iOS 27.
hyperhello
The code is just an infinite loop counter. You can cause all kinds of Safari issues with an infinite loop in JavaScript too, which is sure annoying when trying to figure out large codebases. There was a student in Japan who showed that you could do this trivially and they were arrested.
monster_truck
Remember when that unicode string nuked iOS 7 and you could set it as your SSID to get them stuck in a loop? good times.
TedDoesntTalk
Is this why Oregon Trail Deluxe freezes on Mac? https://oregontrail.ws/games/the-oregon-trail-deluxe/play/
sgentle
Could be a useful way to force user-interaction-gated flows. A "your computer is infected, click this button in 10 seconds or it will crash" type button which, at this point, most modestly-knowledgeable users would know not to click. However, after seeing their computer actually crash when the countdown hits 0, perhaps they would be more inclined to click "allow" on whatever prompt follows when they see it again. 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?
slicendice
I want to click it so bad, but I can't bring myself to do it.
LoganDark
Apple Silicon Macs have a lot of GPU problems. I find that after running any significant GPU workload, the entire operating system starts getting super slow until a reboot. Even if the entire process tree that ever touched the GPU has been completely terminated for days.
itstrueitried
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.
xoa
While I'm sure it has its uses, particularly if someone really does want to game or do complex computational stuff purely within a web browser, I'll admit I've grown pretty cautious/tired around the ever increasing amount of hardware attack surface area the browser vendors seem to be rushing to expose as Google in particular appears determined to try to be the "operating system on the operating system" as much as it can. In this particular case it made me realize I'd awhile ago set dom.webgpu.enabled and pdfjs.enableWebGPU to false in Firefox, same as I disabled WebGL. Kinda figured if I ever saw something ultra cool I could enable it just that one time but so far I haven't. Semi-related, reviewing the available settings now for the first time in a bit I notice they have a dom.webgpu.blocked-domains with the sole entries being "easyeda.com,*.easyeda.com", I wonder what that's about?
krackers
>This spills over into other processes wanting to use the GPU, namely the WindowServer. 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?
StilesCrisis
Metal is based on C++14, which means you can write Duff's Device in a shader. I've tried it on various Macs and it causes all sorts of critical failures in the compiler, but never an actual kernel panic. (It's pretty trivial to reproduce in KodeLife)
achierius
Not 100% surprised that this wasn't picked up as a security issue; denial-of-service is bad, but ultimately doesn't give you a direct path to stealing secrets / hijacking identity / etc. It is pretty egregious though, I hope they fix this. I expect there'll be a Radar tracking this now that it's made it to the HN front page.
SugarReflex
On a Windows 11 work machine - this is causing my Teams to blink black and come back randomly. Yes I used my work machine.
stevomacdaddy
This froze my S26 Ultra on chrome
splittydev
It kind of froze my Mac Studio M2 Ultra, but I was able to still move the mouse and force-quit Safari using Command+Q. Once I did, everything immediately went back to normal.
davsti4
I supposed you could just turn it off? 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)
washadjeffmad
Back in the 90s when the web was non-commercial and fun, I added a "Don't Click Me" link that loaded a 'browser test' page (after a series of "are you really really sure?" dialogs) that exploited every historical browser bug I could find. Infinite popups, inescapable dialogs, ActiveX quirks, various hangs and crashes, the works. 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.
eliwang
Jesus Christ! My mac reopen the windows when it restarts. And it opens the Deathray again! I had to quit safari immediately I saw the dot below its icon. And it took me yet another restart to fix the weird problems in other apps.