Ask HN: What's the worst thing that could happen if I click on an unknown link
13 canergl 8 3/26/2025, 11:43:32 PM
1- suppose any random link that you encounter in public internet
2- you click on the link
3- a new tab opens in your browser
4- you don't download anything but close the tab
now what is the worst thing that could happen after this moment?
Someone already mentioned zero days but let me elaborate a bit on what can happen when visiting a website:
- Without zero days involved, you are already disclosing digital information, ip address, browser fingerprint, precise location access could be granted with relaxed browser settings, etc.
- As a dev, you may have services running locally, let's say, postgres, web servers, etc. -sometimes we install stuff and forget about it- the malicious website could access these.
- It could try using your sessions for other websites.
- It can also interact with your browser extensions, many of these do not take precautions for this.
- It can also try using your hardware, camera, microphone, bluetooth, we now even have webusb.
- It can also try to use your CPU/network for cryptocurrency mining or attacking other servers, it could even use you as a proxy while you are on the website.
- With zerodays, it could do just anything.
[1] https://www.youtube.com/watch?v=3m5qxZm_JqM
Does your browser show anything in this thought experiment or are you so quick to close the tab the browser hasn't even connected to the server? If it shows anything you have downloaded something. That is how it is shown in the browser. With a malicious payload you cannot know what might happen as uejfiweun says.