Does not storing passwords in browser really matter given cookie hijacking exists?

I see lots of articles suggesting not storing passwords in the browser, and it made perfect sense to me, if I can access this data easily, an attacker probably can too.
But then I found out about cookie hijacking, and it seems to me that i… Continue reading Does not storing passwords in browser really matter given cookie hijacking exists?

In the modern context, what max harm can a webpage do, if the creator is malignant? [duplicate]

Note: this does not answer my question as it mentions Java/Flash(not in the modern context. The question is from like 10 years ago so probably outdated), and mentions weakness introduced by the user(whereas I’m asking exploits that can be … Continue reading In the modern context, what max harm can a webpage do, if the creator is malignant? [duplicate]

Methods to look for when checking if a javascript program is making network requests

I’m trying to quickly audit a js browser extension to see if it doesn’t talk to the outside. Am I right in thinking that I can just grep the code for the following:

XMLHttpRequest
fetch
$.ajax
axios.get
WebSocket

I’m assuming un-obfuscat… Continue reading Methods to look for when checking if a javascript program is making network requests

How safe it is to view PDF file in browser without downloading the file into PC?

When I view the PDF file in a browser such as FireFox without downloading the file into my PC, does FireFox temporarily store the PDF file in my PC?
I heard that FireFox has been sandbox heavily and there is no need to worry about maliciou… Continue reading How safe it is to view PDF file in browser without downloading the file into PC?

How to properly migrate authentication cookies to using a new encryption scheme on a website while being backwards compatible?

When a user logs in with their email/password combo and gets authenticated to our website, the backend sends the web browser an encrypted cookie based off of their memberId with us. While this encrypted cookie has not expired, the web bro… Continue reading How to properly migrate authentication cookies to using a new encryption scheme on a website while being backwards compatible?