News for hackers. Stuff that matters.
Re:Microsoft Edge stores all passwords in memory in clear te... by gruez on Monday May 04, 2026 @02:43PM (#48013060)
This feels like a case of "It rather involved being on the other side of this airtight hatchway"[1]. If you can read arbitrary process memory, you're probably also in a position to just dump out the passwords by pretending to be the user in question.

> If an attacker gains administrative access on a terminal server, they can access the memory of all logged‑on user processes.

If an attacker has administrative access, they can also attach a debugger to every chrome process and force it to decrypt all the passwords. The only difference this really makes is in coldboot attacks, but even then it's still not clear whether it makes the attacker's job slightly easier, or allows an attack that's otherwise not possible.

[1] https://devblogs.microsoft.com/oldnewthing/20060508-22/?p=31...

Re:Microsoft Edge stores all passwords in memory in clear te... by turtlebits on Monday May 04, 2026 @02:55PM (#48013242)
Security isn't black and white. If i leave a post-it note of my logins on my monitor, that's definitely less safe than in a unlocked drawer, and so on.
Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Monday May 04, 2026 @03:03PM (#48013374)
If I leave a post-it note of passwords on my monitor inside a vault to which only I have access, it’s not a big deal. That’s the point of the “airtight hatch” metaphor.
Re:Microsoft Edge stores all passwords in memory in clear te... by Someone1234 on Monday May 04, 2026 @03:09PM (#48013475)
Right; but in the scenario of this Tweek, you've invited someone untrustworthy into the vault and are then freaking out because they can see the post-it note of passwords. It is inherently irrational.

This issue is inherently unfixable by ANY password manager, because the process model of the underlying OS isn't itself secure. No obfuscation will work, because the password manager itself needs to de-obfuscation it before use (and that memory too is dump-able).

All adding in-memory obfuscation does it make ignorant people feel better, while not moving the security needle even an inch.

Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Monday May 04, 2026 @03:42PM (#48013909)
I think we’re largely in agreement. I do think there’s some benefit in reducing the amount of time that a password is in cleartext in memory. But it’s pretty far down the list.
Re:Microsoft Edge stores all passwords in memory in clear te... by ignoramous on Monday May 04, 2026 @03:36PM (#48013850)
> This issue is inherently unfixable by ANY password manager, because the process model of the underlying OS isn't itself secure

Usually the confidential bits are hardware isolated away from the supervisor (host kernel/OS) in Enclaves, Realms, TEEs, Secure Elements, Security chips, etc.

Re:Microsoft Edge stores all passwords in memory in clear te... by jazzyjackson on Monday May 04, 2026 @03:42PM (#48013913)
One more reason to use hardware-bound passkeys and not passwords.
Re:Microsoft Edge stores all passwords in memory in clear te... by Someone1234 on Monday May 04, 2026 @03:47PM (#48013991)
True. But then your hardware dies, and you're locked out of every account you own. It is objectively good security, but has a ton of usability headaches yet to be really solved.

I've seen orgs move to passkeys only, then offer reset-questions (e.g. city of first job, etc); because the Customer Service volume/workflow wasn't figured out.

Re:Microsoft Edge stores all passwords in memory in clear te... by jazzyjackson on Monday May 04, 2026 @03:50PM (#48014033)
oh lawd, yes it does come down to 'who has the power to reset your account', and very few people want to take the path of 'no one has the power' in the case of lost credentials.
Re:Microsoft Edge stores all passwords in memory in clear te... by alterom on Monday May 04, 2026 @04:12PM (#48014334)
>your hardware dies

Or your backpack gets stolen.

Oops.

I swear, people who idolize passkey security must never travel anywhere.

PS: "just have more devices with passkeys", they invariably say.

Yeah right because people are made of money, everyone has the forethought, and a 2nd laptop in the US is a great asset when you're in Poland and can't login anywhere.

Re:Microsoft Edge stores all passwords in memory in clear te... by StilesCrisis on Monday May 04, 2026 @04:28PM (#48014518)
I've been avoiding passkeys but more and more websites are trying to push them, and one website I use now requires them. I've already got a password manager! I don't need to change everything again!
Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Monday May 04, 2026 @05:25PM (#48015214)
Your password manager almost certainly already has baked-in passkey support.
Re:Microsoft Edge stores all passwords in memory in clear te... by StilesCrisis on Monday May 04, 2026 @05:39PM (#48015389)
It does, but what's your point? Why should I redo everything?
Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Monday May 04, 2026 @06:15PM (#48015692)
Nobody is asking you to?
Re:Microsoft Edge stores all passwords in memory in clear te... by crazygringo on Monday May 04, 2026 @06:22PM (#48015735)
The subject here is literally websites trying to push passkeys on users. That is who is asking us to.

About every week now Amazon tries to trick me into creating a passkey. It doesn't even ask, it just goes ahead and triggers my browser passkey creation mechanism without my consent. PayPal recently tried to force me to create one too and I had to kill and restart the app because that was the only way to skip it. I'll stick to my password with 2FA, thanks.

Re:Microsoft Edge stores all passwords in memory in clear te... by Marsymars on Monday May 04, 2026 @08:22PM (#48016618)
It's wildly obnoxious that browsers don't let you generally suppress these prompts.

And if you take the nuclear option and strip your browser of WebAuthn support, then you obviously can't use any passkeys, which doesn't work for me - I have two sites where I do want to use passkeys (because it's the only way to avoid SMS-based MFA on every login), but I never want to see passkey prompts for any other sites.

Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Tuesday May 05, 2026 @12:39AM (#48018094)
We have now gone from having to “redo everything” to being asked to switch to a passkey by a grand total of one website.

I’ll be honest I’ve heard a lot of griping about passkeys but I have gone out of my way to switch over to them and have had precisely zero issues over the dozens of sites that I’ve bothered to make the switch on. Login flow is simpler and doesn’t rely on a browser extension guessing at login fields or trying to figure out when passwords change.

Sometimes the new thing really is just better.

Re:Microsoft Edge stores all passwords in memory in clear te... by alterom on Tuesday May 05, 2026 @01:34AM (#48018454)
>We have now gone from having to “redo everything” to being asked to switch to a passkey by a grand total of one website.

Yeah right.

When passkeys were rolled out, I was told it's OK because "passwords are always going to be required to be an available alternative".

Now we've moved the goalposts to "it's just one website".

>Sometimes the new thing really is just better.

And sometimes your backpack is stolen when you're traveling, with your phone and laptop (happened to me in Poland), and you need to log into your accounts while having none of your devices or your phone number available.

Pray tell then what.

Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Tuesday May 05, 2026 @01:44PM (#48025908)
What if I told you I was not one of the people saying that? You can’t take two different people with two different opinions and say “Look! You’ve moved the goalposts!”

If passkeys are significantly better, passwords will gradually stop existing. If passwords are, passkeys probably won’t catch on.

> And sometimes your backpack is stolen when you're traveling, with your phone and laptop (happened to me in Poland), and you need to log into your accounts while having none of your devices or your phone number available.

I personally keep a separate YubiKey that—along with a memorized password—is sufficient for me to retrieve my password manager database and unlock it. If this is a sufficiently motivating use-case for you, you too can take these kinds of steps to mitigate the risk.

But since we’re playing the “what if” game, what happens if you get early onset dementia and forget your passwords? Pray tell then what?

Re:Microsoft Edge stores all passwords in memory in clear te... by alterom on Tuesday May 05, 2026 @03:32PM (#48027376)
>along with a memorized password—

So, your solution is passwords with extra steps.

Thanks but no thanks.

>I personally keep a separate YubiKey that—along with a memorized password—is sufficient for me to retrieve my password manager database and unlock it.

So, basically, having to create and maintain a backup device to keep separately from my laptop/phone in case they get stolen, make sure I don't lose it, but carry it with me everywhere like a crucifix.

That, and still having to remember and use a password, because otherwise the thieves get control of everything once they steal my device.

Sure. That's not objectively better than passwords which don't require this sort of hassle.

At the very least because it still requires a password.

>you too can take these kinds of steps to mitigate the risk.

OK. I can. I don't want to have to do these kind of steps, or any other dance to mitigate the real risks that passwords already protect me from.

Passkeys mitigate risks which I don't run into (”what if someone learns my password?”), while introducing others.

They are a convenience for people who run the system because they off-load those risks onto users.

>But since we’re playing the “what if” game

You're playing games with contrived hypotheticals.

I've had my laptop, phone, and wallet stolen on an overseas trip.

>what happens if you [...] forget your passwords?

I click the "forgot your password?" link which every website that uses passwords has.

Having a notebook in a vault with passwords also solves this problem.

I don't get a sudden onset of dementia which causes amnesia when I travel.

But I've lost my devices and had them stolen from me overseas.

It was a big enough hassle even though I did have the passwords.

Re:Microsoft Edge stores all passwords in memory in clear te... by jazzyjackson on Thursday May 07, 2026 @12:19AM (#48045340)
If a website only supports one passkey on one device, it's a shitty implementation. To be fair many websites have shitty implementations, so I ended up using my yubikeys to store the secret for OTP codes.

Having only one device that has authority to log into your accounts is obviously not a good security model.

Re:Microsoft Edge stores all passwords in memory in clear te... by crazygringo on Tuesday May 05, 2026 @10:52AM (#48023330)
You claimed "Nobody is asking you to".

Me giving an example of one major website (actually, I gave two) is all that is needed to disprove your claim. I could provide plenty more examples of major websites asking me to, but I don't need to. I could provide plenty of examples of people telling people to "redo everything" with passkeys, but your own comment is literally advocating the same thing...

Please don't mischaracterize the conversation that is plainly visible for all to see. Just accept that you tried to suggest that nobody is asking users to switch to passkeys, and you were wrong. It seems like your error is that you just haven't been seeing it personally, since you switched on your own before the nagging started, and so you weren't aware of it. Well, now you are.

Re:Microsoft Edge stores all passwords in memory in clear te... by stouset on Tuesday May 05, 2026 @01:32PM (#48025761)
> > Why should I redo everything?

> Nobody is asking you to?

Nobody is in fact asking you to change everything.

Re:Microsoft Edge stores all passwords in memory in clear te... by crazygringo on Tuesday May 05, 2026 @03:41PM (#48027473)
They literally are. You can easily google articles telling people to use passkeys for all their supported accounts. I'm not going to google it for you.

Why you are trying to claim the opposite is beyond me.

Re:Microsoft Edge stores all passwords in memory in clear te... by jazzyjackson on Thursday May 07, 2026 @12:17AM (#48045331)
Hey Crazy Gringo, you may be schizophrenic. An article recommending a security update is not, in fact, telling you to do something.
Re:Microsoft Edge stores all passwords in memory in clear te... by bartvk on Tuesday May 05, 2026 @01:44AM (#48018525)
Of course they are. Lots of websites are pushing it, including while using dark patterns. You need to sometimes explicitly cancel an onboarding flow to avoid Passkeys.
Re:Microsoft Edge stores all passwords in memory in clear te... by fragmede on Wednesday May 06, 2026 @01:15AM (#48032474)
"redo" just press yes when the site offers and your password manager asks you to.
Re:Microsoft Edge stores all passwords in memory in clear te... by dboreham on Monday May 04, 2026 @10:51PM (#48017545)
The good thing about this is they thereby also support FIDO2 hard tokens such as Yubikey. The UI is often confusing but you can always tell it to provision the key to your Yubikey rather than the OS enclave.
Re:Microsoft Edge stores all passwords in memory in clear te... by Arainach on Monday May 04, 2026 @10:59PM (#48017594)
That doesn't help if my machine (with only a few USB ports) gets stolen/lost with the token in it. It doesn't help if some of my devices only have USB-C and some only have USB-A. It's absolutely more annoying than letting my password manager fill things in or typing in a 6 digit code from my authenticator app.
Re:Microsoft Edge stores all passwords in memory in clear te... by nightski on Tuesday May 05, 2026 @05:21AM (#48020003)
Get a better password manager? Most store passkeys.
Re:Microsoft Edge stores all passwords in memory in clear te... by Arainach on Tuesday May 05, 2026 @09:56AM (#48022603)
If the passkey can be stored in the password manager, then there's no second factor and what's the point?
Re:Microsoft Edge stores all passwords in memory in clear te... by nightski on Tuesday May 05, 2026 @11:01AM (#48023477)
Passkeys are password replacements that can't be breached/leaked/etc... I don't think they are necessarily supposed to replace 2-factor, however it's probably more secure than some of the weaker forms of 2-factor auth.

Given that in order to access your password manager's vault often requires 2-factor (or should at least) it's a level of security that I am comfortable with.

I take it a step further and host the password manager vault within my home network. My home network does not expose anything publicly except a WireGuard port, it's completely locked down. I have to VPN in to access the vault.

Re:Microsoft Edge stores all passwords in memory in clear te... by slau on Monday May 04, 2026 @04:46PM (#48014750)
I travel a lot. By train, plane, and car. I also use passkeys when possible. I have multiple Yubikeys, stored in different locations. I also have a password manager, where I typically keep track of which logins aren’t yet backed up across physical tokens.

It takes a bit of effort, but it’s not impossible.

Yes, it means that in the event of catastrophic failure I might not be able to log in to some services until I get to one of the backups. I haven’t been able to imagine a scenario where that would be truly problematic.

Re:Microsoft Edge stores all passwords in memory in clear te... by Joker_vD on Monday May 04, 2026 @10:03PM (#48017267)
> It takes a bit of effort

That's a wild understatement. For most users, having a password manager is already very near to the upper bound of acceptable friction.

Re:Microsoft Edge stores all passwords in memory in clear te... by alterom on Tuesday May 05, 2026 @02:18AM (#48018741)
>Yes, it means that in the event of catastrophic failure I might not be able to log in to some services until I get to one of the backups. I haven’t been able to imagine a scenario where that would be truly problematic.

No need to imagine!

Remove all passkeys from your phone and laptop, then go somewhere overseas without any of those Yubikeys.

Have fun enjoy a "not truly problematic" scenario of getting your Yibikeys from "multiple locations" you don't have access to, while being cut off from your messengers, email, bank account, etc.

Bonus points for having your card locked or stolen at the same time.

Or, imagine the backpack with your passkeys devices being stolen on an overseas trip.

Again: pray tell, then what?

Re:Microsoft Edge stores all passwords in memory in clear te... by slau on Tuesday May 05, 2026 @09:19AM (#48022181)
> Remove all passkeys from your phone and laptop

I don't have any passkeys on my phone or laptop. They're all on the Yubikeys.

I don't really see a difference with (some) password managers, though. If you use one of the keepasses, and you lose access to the file, you're in the same situation right?

And yeah, you're right, there is a risk of inconvenience. I'm not debating that. I just choose to organise my life in such a way that it is just an inconvenience.

Re:Microsoft Edge stores all passwords in memory in clear te... by Joker_vD on Wednesday May 06, 2026 @01:09AM (#48032431)
> and you lose access to the file,

It's literally at https://github.com/Joker-vD/keepassdb/raw/refs/heads/master/... in my case, plus a couple of other free hosting sites that support easy updates/reuploads, so losing access to it requires losing access to Internet — in which case you don't really need any (alright, most) of your passwords because you need Internet to connect to the services that require those passwords.

Re:Microsoft Edge stores all passwords in memory in clear te... by slau on Wednesday May 06, 2026 @07:59AM (#48035215)
OK, fair, I never left my keepass file exposed like that when I used keepass.

If I remember correctly, 1Password still requires a "vault key" in addition to your username and password, and it was definitely too long and not used often enough for me to remember.

Re:Microsoft Edge stores all passwords in memory in clear te... by Barbing on Monday May 04, 2026 @05:35PM (#48015325)
>"just have more devices with passkeys"

Confirms that strategy then

For people who only use passwords having an extra device can help too. Google does not necessarily permit a login with a backup code, so to me it seems ideal to grab a spare phone, log into important accounts, and store it with a trusted party/friend.

It could be very difficult to login to an account like Gmail from overseas in the event of PC+phone[+hardware key] theft. Maybe no big deal if you can port your number to a new phone right away. Or maybe the trusted friend can help (unless Google still finds the login suspicious after all, no idea there)

Re:Microsoft Edge stores all passwords in memory in clear te... by alterom on Tuesday May 05, 2026 @01:59AM (#48018615)
>It could be very difficult to login to an account like Gmail from overseas in the event of PC+phone[+hardware key] theft

Literally happened to me in Poland, which is why I avoid passkeys like the plague.

(The thief got caught months later. That didn't help me.)

>Maybe no big deal if you can port your number to a new phone right away.

T-Mobile won't mail a SIM card overseas, and I doubt others will either. There is no "maybe", it's a certainty that you won't be able to.

>Or maybe the trusted friend can help

Yeah, my wife literally mailed me SIM card to Poland.

It took over week.

And a "trusted friend" would first have had to get it somehow.

>Or maybe the trusted friend can help (unless Google still finds the login suspicious after all, no idea there)

At least I logged into my accounts from that city before the laptop and phone were stolen, so my logins were not "suspicious".

That's with a password.

_____

PS: screw Citibank's mandatory phone -based "2FA".

Re:Microsoft Edge stores all passwords in memory in clear te... by Barbing on Tuesday May 05, 2026 @12:21PM (#48024654)
Oh my goodness, what are we supposed to do?!

Edit: and near 0 customer support too

Re:Microsoft Edge stores all passwords in memory in clear te... by Barbing on Monday May 04, 2026 @05:27PM (#48015238)
>It is objectively good security, but has a ton of usability headaches yet to be really solved.

Thank you, then this is still true today?

Disappointing the rollout was botched (recall cross platform and password manager difficulties). Haven’t done research since but even with some new UIs and flows promoting passkeys in the past couple months, haven’t regained my trust either.

Re:Microsoft Edge stores all passwords in memory in clear te... by themaninthedark on Monday May 04, 2026 @06:10PM (#48015657)
At my work we required a complex password <15 characters lower + cap, number and symbols.

Updated to Windows Hello and passkey.

Now I can use a 4 digit pin to login.

Re:Microsoft Edge stores all passwords in memory in clear te... by mjmas on Monday May 04, 2026 @10:53PM (#48017563)
Yes, but the pin uses the TPM which allows other things like only ever allowing a low number of guesses before requiring a reset of the pin (using a password or other mechanism)
Re:Microsoft Edge stores all passwords in memory in clear te... by themaninthedark on Tuesday May 12, 2026 @01:24PM (#48111364)
Thanks, didn't know that!
Re:Microsoft Edge stores all passwords in memory in clear te... by kenniskrag on Tuesday May 05, 2026 @01:40AM (#48018498)
> But then your hardware dies

A lot of services have password reset email features. If the email account has passkey you're screwed. But restore by snail mail can be possible but slow (for paid services). More secure? Don't know but same category of problems already known due to sim swapping attacks in mobile sector. But for sure the Mail account is a high value target.

Storing passkeys in a database may be possible but complex to do it right e.g. backup verification, avoiding to leak while backup etc.

Re:Microsoft Edge stores all passwords in memory in clear te... by kenniskrag on Tuesday May 05, 2026 @01:42AM (#48018515)
Edit:

Banking has no selfservice password reset. A lot of work for customer support due to identification. Nobody wants to do that for free and if the accounts are freenyou may get DOSed by bots which trigger passwort resets.

Re:Microsoft Edge stores all passwords in memory in clear te... by oasisaimlessly on Monday May 04, 2026 @09:40PM (#48017096)
No, that is actually very rare, not typical. Do you have any examples of password managers that do that?
Re:Microsoft Edge stores all passwords in memory in clear te... by solidasparagus on Monday May 04, 2026 @05:29PM (#48015260)
I think we've moved away from the secure perimeter thinking and towards defense in depth - if that list of passwords helps you get somewhere other than the vault, removing the post-it improves security. Vaults get infiltrated all the time - and often in partial ways like being able to see into the vault but not reach in.
Re:Microsoft Edge stores all passwords in memory in clear te... by dwattttt on Monday May 04, 2026 @06:50PM (#48015996)
Defence in depth matters, but an analysis here shows that the same mechanism used to breach the outer layers (getting administrative access) can be used to breach the next layer (more thoroughly prodding Edge or Chrome to give up passwords).
Re:Microsoft Edge stores all passwords in memory in clear te... by gruez on Monday May 04, 2026 @03:18PM (#48013605)
> If i leave a post-it note of my logins on my monitor, that's definitely less safe than in a unlocked drawer, and so on.

Having passwords on post-it notes does make certain types of attacks much easier. For instance, coworkers hacking other coworkers, or people burglarizing the office. None of which really apply to the "If an attacker gains administrative access on a terminal server" scenario.

Continuing the analogy, what Edge is doing is like leaving cash in unlocked cabinets inside a vault, and what Chrome's doing is locking those cabinets with a padlock. Sure, having the padlocks makes the cash more secure, but if someone went through all the effort into breaking the vault (terminal server), a padlock probably isn't going to stop them. This is especially true nowadays with AI coding agents and ready-made stealers available for sale online.

Re:Microsoft Edge stores all passwords in memory in clear te... by forgotaccount3 on Monday May 04, 2026 @03:41PM (#48013906)
> Having passwords on post-it notes does make certain types of attacks much easier.

It also makes other attacks much harder. Namely I don't need to worry about some zero-day in my password manager.

Re:Microsoft Edge stores all passwords in memory in clear te... by RajT88 on Monday May 04, 2026 @03:44PM (#48013948)
The way to think about security is as a system of layers, each of which filters out ever more sophisticated attackers.

We should care about all kinds of attackers, and not assume that the protections against the most sophisticated will obviate the protections against the least sophisticated.

Re:Microsoft Edge stores all passwords in memory in clear te... by cachius on Monday May 04, 2026 @04:45PM (#48014729)
The Swiss cheese model. Each single layer has holes, but when stacked the combined hole area is minimized https://en.wikipedia.org/wiki/Swiss_cheese_model
Re:Microsoft Edge stores all passwords in memory in clear te... by slow_typist on Monday May 04, 2026 @04:55PM (#48014846)
The Swiss cheese model is what people use to sell you more 'security' related software systems that inherently involve more problems. (Also cheese is not very durable, even the kind without holes.)
Re:Microsoft Edge stores all passwords in memory in clear te... by LorenPechtel on Monday May 04, 2026 @08:40PM (#48016704)
Swiss cheese applies to more than just security systems.

Hiking with two GPS-capable devices is Swiss cheese.

Re:Microsoft Edge stores all passwords in memory in clear te... by slow_typist on Tuesday May 05, 2026 @12:52AM (#48018187)
That is redundancy in my book. I don’t expect holes in my GNSS devices. And if you want to be sure, bring three, because two GNSS units with different readings are not very helpful.
Re:Microsoft Edge stores all passwords in memory in clear te... by LorenPechtel on Wednesday May 06, 2026 @06:13PM (#48042602)
I don't expect holes. But both devices are exposed--something could happen to one of them. And since I like going out in the middle of nowhere I assume I either have to get myself out, or if that's impossible summon help. I don't want a single point of failure on either of these.
Re:Microsoft Edge stores all passwords in memory in clear te... by slow_typist on Friday May 08, 2026 @05:21PM (#48068927)
Fair enough. A paper map and the ability to navigate offline would be a nice backup, too. Not that I wouldn’t use GPS in distress.
Re:Microsoft Edge stores all passwords in memory in clear te... by ButlerianJihad on Monday May 04, 2026 @04:50PM (#48014782)
That was an enlightening read, considering the colloquial meaning of "your firewall security is like Swiss cheese"

https://en.wiktionary.org/wiki/Swiss_cheese#Noun

What's next? A system so secure that you can drive a truck through it? A honeypot in the center of a wasp nest?

Re:Microsoft Edge stores all passwords in memory in clear te... by yjftsjthsd-h on Monday May 04, 2026 @03:45PM (#48013960)
Okay. Can you describe an attack / threat model where it would matter in this particular case?
Re:Microsoft Edge stores all passwords in memory in clear te... by keithnz on Monday May 04, 2026 @03:49PM (#48014013)
isn't it at risk of any code pathway that somehow allows you exceed a buffer and read memory unbounded? Then a nefarious web page could capture that? That's a huge exposure surface.
Re:Microsoft Edge stores all passwords in memory in clear te... by Dylan16807 on Monday May 04, 2026 @04:05PM (#48014241)
I'm pretty sure a read exploit in a web page wouldn't be in the same process as the passwords.

If you can cross over to the main Edge process, you can probably get it to remove any encryption it applied itself.

Re:Microsoft Edge stores all passwords in memory in clear te... by wat10000 on Monday May 04, 2026 @06:25PM (#48015761)
Re:Microsoft Edge stores all passwords in memory in clear te... by tardedmeme on Monday May 04, 2026 @03:51PM (#48014048)
They want obscurity and think it's security. Everything needed to get the passwords must be present in memory but they don't want to be able to actually see the passwords directly.
Re:Microsoft Edge stores all passwords in memory in clear te... by Dwedit on Monday May 04, 2026 @03:12PM (#48013525)
Reading arbitrary process memory can be done as a standard user. No admin needed. Any Win32 program can do it. You just can't access the memory from processes that are admin-level.
Re:Microsoft Edge stores all passwords in memory in clear te... by dvt on Monday May 04, 2026 @03:18PM (#48013617)
This is not true. The canonical way to prevent access is via PAGE_NOACCESS[1]. Obviously, running as admin or in kernel mode breaks the whole thing since you can re-call `VirtualProtect` on that page and open it up.

[1] https://learn.microsoft.com/en-us/windows/win32/memory/memor...

Re:Microsoft Edge stores all passwords in memory in clear te... by Someone1234 on Monday May 04, 2026 @03:43PM (#48013926)
This is accurate as far as page protection goes. The problem is the largest threat model.

If Process A and Process B are running in the same user context on a desktop OS, PAGE_NOACCESS is not a strong boundary by itself. Process B may be able to obtain PROCESS_VM_OPERATION/PROCESS_VM_READ, change the page protection with VirtualProtectEx, inject code that calls VirtualProtect inside Process A, load a DLL, attach as a debugger, duplicate useful handles, or tamper with the executable. That's the problem with same-user process isolation, it is a hugely leaky abstraction. There is no magical "just set this bit" fix.

On a desktop OS, once an evil process runs under the same user context, you are relying on process DACLs, integrity levels, code-signing, anti-injection hardening, and file-system protections. You can plug one path and still have several others.

Re:Microsoft Edge stores all passwords in memory in clear te... by dvt on Monday May 04, 2026 @03:50PM (#48014020)
This comment feels like it's written by AI. Anyway, PAGE_GUARD helps you get around VirtualProtectEx, which is a very common way of detecting userspace cheats.
Re:Microsoft Edge stores all passwords in memory in clear te... by Someone1234 on Monday May 04, 2026 @05:01PM (#48014947)
> This comment feels like it's written by AI.

Why exactly? I'm genuinely asking, because I feel like I get this a lot, and it is pretty frustrating.

Re:Microsoft Edge stores all passwords in memory in clear te... by BalinKing on Monday May 04, 2026 @05:23PM (#48015191)
I'm not the other commenter (and I believe you that it's not AI), but I'd guess it's mostly the first line: a short affirmation followed by "The problem is ...." feels like the sort of formula the LLMs love to use. (Not trying to imply that there's anything inherently wrong with it, of course.)

While we're at it, I'm under the impression that the recent LLMs have also co-opted "genuinely", which I'll never forgive them for—first they stole my em-dashes, and now they're stealing my adverbs too?!

Re:Microsoft Edge stores all passwords in memory in clear te... by Someone1234 on Monday May 04, 2026 @05:28PM (#48015245)
Thanks for the explanation. Yeah, I use "genuinely" and "honestly" far too much; and often in odd places. It is a bad habit.

As to that comment's tone, my entire comment history is visible going back years. I'd invite people to peruse it.

Re:Microsoft Edge stores all passwords in memory in clear te... by verall on Monday May 04, 2026 @07:03PM (#48016104)
I do see how your comment is similar to AI writing (a couple other comments explain) but it did NOT set off my AI trigger. I think it's just clear writing.
Re:Microsoft Edge stores all passwords in memory in clear te... by dvt on Monday May 04, 2026 @07:05PM (#48016122)
> The problem is the largest threat model.

Without context, sentences like this mean nothing. So it's borderline a non sequitur. A threat model can be literally anything. Me giving my PC to someone at Best Buy, letting my grandma write assembly, or throwing my PC out the window can be a "large threat model." Nonsense sentence.

> If Process A and Process B are running in the same user context on a desktop OS, PAGE_NOACCESS is not a strong boundary by itself. Process B may be able to obtain PROCESS_VM_OPERATION/PROCESS_VM_READ, change the page protection with VirtualProtectEx, inject code that calls VirtualProtect inside Process A, load a DLL, attach as a debugger, duplicate useful handles, or tamper with the executable.

To the uninitiated this seems right, but really there's so much glossing over, it feels written by a non-expert that just read the first chapter of a "hacking for dummies" book. I've written anti-cheats and have even done some some hardware stuff, so I say this with some degree of experience: writing a userspace hack/cheat is pretty hard without a zero-day. Most stuff won't easily get PROCESS_VM_OPERATION permissions, also those are (afaik) logged by the kernel, so you can easily see if some weird "DefinitelyNotACheat.exe" executable or "NotABadLibrary.dll" requested them, so it's a pretty janky way of getting access to memory you shouldn't.

> That's the problem with same-user process isolation, it is a hugely leaky abstraction. There is no magical "just set this bit" fix.

Again, this is a non sequitur. No one said (or at least I didn't) that there's a "magical" bit. You're not even arguing against a strawman, it's almost like we're having two different conversations.

> On a desktop OS, once an evil process runs under the same user context, you are relying on process DACLs, integrity levels, code-signing, anti-injection hardening, and file-system protections. You can plug one path and still have several others.

Also seems right, and it kinda' is, but code signing is notoriously easy to circumvent, "anti-injection hardening" can mean like three million different things, etc. I dunno, just sounds like someone that's never done this stuff before. Like, not bringing up Detours[1] when talking about "anti-injection" just seems like weirdly avoiding the ONE canonical way of doing this, which just about every single hacking/cracking book covers. Idk, weird omission.

Also, no one in their right mind would attach a debugger, as that's trivial to detect[2]. I guess it could be a decent proof of concept, but no serious hacker would ever go that route. (Also, if I remember correctly, you also need to ship some special DLLs that have the actual debugging helpers—and same with Detours, so might as well do that).

Just wanted to give my justification for the accusation. Maybe I'm wrong and maybe that's why I'm getting the downvotes, so my bad.

[1] https://github.com/microsoft/detours

[2] https://learn.microsoft.com/en-us/windows/win32/api/debugapi...

Re:Microsoft Edge stores all passwords in memory in clear te... by Hikikomori on Tuesday May 05, 2026 @04:14AM (#48019446)
I think you are viewing this with your anti cheat experience where detection is key. Can a regular process protect against another regular process reading its memory through PROCESS_VM_READ or can it at best only detect that it happened?
Re:Microsoft Edge stores all passwords in memory in clear te... by itemize123 on Monday May 04, 2026 @11:49PM (#48017845)
basically very verbose and detailed but also very indirect. didn't get to the point till the end.
Re:Microsoft Edge stores all passwords in memory in clear te... by Dwedit on Monday May 04, 2026 @05:43PM (#48015426)
Guard pages are one-shot exceptions used for growing the stack.
Re:Microsoft Edge stores all passwords in memory in clear te... by dvt on Monday May 04, 2026 @07:21PM (#48016237)
They also act as access alarms[1]. Why even comment if you didn't bother to read the docs?

> The PAGE_GUARD protection modifier establishes guard pages. Guard pages act as one-shot access alarms. For more information, see Creating Guard Pages.

[1] https://learn.microsoft.com/en-us/windows/win32/api/memoryap...

Re:Microsoft Edge stores all passwords in memory in clear te... by Dwedit on Monday May 04, 2026 @09:48PM (#48017150)
Guard pages are for the process that creates them, they're not for the other processes that try to read the memory.
Re:Microsoft Edge stores all passwords in memory in clear te... by dvt on Tuesday May 05, 2026 @01:08AM (#48018291)
Absolutely wrong. Are we writing the same code here? Page guards are for all userspace access. (In fact, I think kernel space might also trigger them, but can be circumvented. PS: I'm being polite :) Kernel space 100% triggers them, but can be cleverly circumvented by fucking with logs.)
Re:Microsoft Edge stores all passwords in memory in clear te... by Hikikomori on Tuesday May 05, 2026 @04:10AM (#48019419)
Could you not use VirtualProtectEx to strip PAGE_GUARD?

Even so, none if these methods offer protection, at best you can get some detection, but that doesn't matter when they got your passwords already.

Re:Microsoft Edge stores all passwords in memory in clear te... by LtdJorge on Monday May 04, 2026 @03:42PM (#48013910)
And if the malware is running as admin, you’re pretty fucked either way
Re:Microsoft Edge stores all passwords in memory in clear te... by munk-a on Monday May 04, 2026 @04:38PM (#48014639)
Thankfully our recent experiences with OpenClaw have given us all a lot of faith that users are extremely diligent in what processes they allow access to what information.
Re:Microsoft Edge stores all passwords in memory in clear te... by wat10000 on Monday May 04, 2026 @03:14PM (#48013553)
There's little hope of protecting against a snooper seeing the passwords you actually use, since they have to exist in plaintext at some point. But there's no reason to expose the entire password database when no passwords are even being used.
Re:Microsoft Edge stores all passwords in memory in clear te... by hWuxH on Tuesday May 05, 2026 @06:22PM (#48029536)
What's the threat model where not storing them all at once provides any benefit? If someone has admin it's already game over. Can just hook the browser to retrieve all passwords on demand.
Re:Microsoft Edge stores all passwords in memory in clear te... by wat10000 on Wednesday May 06, 2026 @10:45AM (#48036893)
An attacker might only have read access. Could be a read buffer overflow like Heartbleed, a partial sandbox escape, a sophisticated Spectre-type vulnerability, a cold boot attack, or something mundane like a core file taken from a crashed process that gets into the wrong hands.
Re:Microsoft Edge stores all passwords in memory in clear te... by dvt on Monday May 04, 2026 @03:08PM (#48013460)
This is 100% that case. Basically every form (like this very one I'm typing in) is held in userspace memory un-encrypted. And yet lawyers and doctors and CIA operatives all use forms to type very sensitive stuff in.

It would be stupid, wasteful, and overly-complex to encrypt forms just in case some malicious process somehow got ring0 access. In that case, a keylogger is likely more useful anyway. And you're fucked even if you are encrypting stuff (as keys are likely also somewhere in memory[1] and they need to be—gasp—unencrypted). There's no free lunch.

Stupid Twitter thread meant to rage-bait for engagement.

[1] They could also be on disk or on some peripheral, but still fully readable by a motivated-enough hacker.

Re:Microsoft Edge stores all passwords in memory in clear te... by mintplant on Monday May 04, 2026 @04:21PM (#48014440)
Have we already forgotten Cloudbleed [0]?

[0] https://en.wikipedia.org/wiki/Cloudbleed

Re:Microsoft Edge stores all passwords in memory in clear te... by Lorkki on Monday May 04, 2026 @04:54PM (#48014838)
In recent years we've also had browser-exploitable vulnerabilities that allowed reading arbitrary memory as a regular user, but slowly or without full control over the locations. I think wiping credentials as soon as possible after use is a very sensible precaution, even if it's only a moat.
Re:Microsoft Edge stores all passwords in memory in clear te... by giancarlostoro on Monday May 04, 2026 @07:05PM (#48016121)
I wonder about those kinds of exploits that sit on a webpage, but what stops someone from injecting their payload on a sites login page? JS can grab the password in plaintext in such a scenario, at which point the password manager does not save you. Can we normalize Passkey more?
Re:Microsoft Edge stores all passwords in memory in clear te... by IgorPartola on Monday May 04, 2026 @07:51PM (#48016444)
I think the point is that you can have arbitrary website read the browser’s memory so example.com can read the password for example.org and example.net.
Re:Microsoft Edge stores all passwords in memory in clear te... by traderj0e on Monday May 04, 2026 @10:26PM (#48017421)
Or the computer's memory via Meltdown and Spectre-like attacks
Re:Microsoft Edge stores all passwords in memory in clear te... by anthk on Tuesday May 05, 2026 @05:16AM (#48019963)
That's why I disable JS by default with UBlock Origin. And OFC never allow JS to acces your clipbaord.
Re:Microsoft Edge stores all passwords in memory in clear te... by avereveard on Monday May 04, 2026 @06:36PM (#48015865)
It's surprisingly hard to do the compiler or cpu may see a write without a read and optimize it away. Windows has a SecureZeroMemory and a few other barrier primitives but not all languages reach to it
Re:Microsoft Edge stores all passwords in memory in clear te... by slow_typist on Monday May 04, 2026 @04:59PM (#48014907)
All true, but it is still bad style. There is no need to keep decrypted passwords in memory the user hasn’t even used in the session (or after they logged in to a certain website).
Re:Microsoft Edge stores all passwords in memory in clear te... by netrap on Tuesday May 05, 2026 @11:14AM (#48023663)
So you decrypt each time you need it? What is the difference in the attack surface?
Re:Microsoft Edge stores all passwords in memory in clear te... by slow_typist on Friday May 08, 2026 @05:18PM (#48068898)
What I don’t need doesn’t need to live unencrypted in my RAM. Of course I do. It is standard behaviour of iOS, and of a lot of password managers. If someone grabs my laptop and runs, at least they can’t capture my hn account.
Re:Microsoft Edge stores all passwords in memory in clear te... by pibaker on Monday May 04, 2026 @05:51PM (#48015497)
Agreed. I keep seeing "high priority" "vulns" that require so much system access to actually exploit that they become pointless. If an untrusted process can read your memory or run as an administrator you have already lost.

It honestly feels like more and more "security" people and businesses have less interest in actually securing systems and more in marketing themselves and their business hence the tendency to make every niche attack into a five alarm fire.

Re:Microsoft Edge stores all passwords in memory in clear te... by userbinator on Monday May 04, 2026 @08:26PM (#48016632)
Many of them also have vested interests in furthering corporate authoritarianism, which is why letting users have full control over their devices is considered a security risk to them.
Re:Microsoft Edge stores all passwords in memory in clear te... by asdfman123 on Monday May 04, 2026 @05:55PM (#48015528)
So you're saying it's an Edge case?
Re:Microsoft Edge stores all passwords in memory in clear te... by maxloh on Monday May 04, 2026 @06:02PM (#48015596)
This logic is perfectly aligned with the Chromium threat model. Once an attacker gains administrator access, it is game over by definition.

I doubt this is an Edge-specific issue. Microsoft has no interest in making their browser less secure than its upstream.

> Why aren‘t physically-local attacks in Chrome’s threat model?

> We consider these attacks outside Chrome's threat model, because there is no way for Chrome (or any application) to defend against a malicious user who has managed to log into your device as you, or who can run software with the privileges of your operating system user account. Such an attacker can modify executables and DLLs, change environment variables like PATH, change configuration files, read any data your user account owns, email it to themselves, and so on. Such an attacker has total control over your device, and nothing Chrome can do would provide a serious guarantee of defense. This problem is not special to Chrome ­— all applications must trust the physically-local user.

https://chromium.googlesource.com/chromium/src/+/148.0.7778....

Re:Microsoft Edge stores all passwords in memory in clear te... by yellowapple on Monday May 04, 2026 @06:37PM (#48015881)
> I doubt this is an Edge-specific issue.

It absolutely ain't Edge-specific. Firefox (AFAICT) also keeps stored passwords in clear-text unless encrypted with a passphrase (which is not the default on desktop; on Android there's a fingerprint/PIN check to access them, but I don't know offhand if there's any encryption involved with that).

Really this is true of most credentials stored within applications; unless you're providing a decryption key on open (whether explicitly or on OS-level login using some keychain mechanism), the stored credentials are probably plaintext.

Re:Microsoft Edge stores all passwords in memory in clear te... by cromka on Monday May 04, 2026 @07:04PM (#48016110)
Or unless you need to reenter password/offer fingerprint after certain amount of time. Which, I think, should be the actual standard, and typically is with the apps like Bitwarden.
Re:Microsoft Edge stores all passwords in memory in clear te... by NewsaHackO on Monday May 04, 2026 @06:32PM (#48015831)
Come on, they could still get a blood sample to really verify that its the user
Re:Microsoft Edge stores all passwords in memory in clear te... by formerly_proven on Monday May 04, 2026 @06:38PM (#48015886)
It's a very standard defense-in-depth technique to put secrets between guard pages and only make the secret page readable when needed. That way any inadvertent access, be it programming error or exploit, simply causes a segfault, unless it's raced with a valid access (in a multithreaded or shm context) or the exploit explicitly changed the permission bits. Most memory disclosure vulnerabilities don't allow you to do that.

That being said any single password, when used, passes through so many layers and components that it's likely impossible to even just wipe the contaminated memory locations. But that's fine, the password database is opened for most of the browser's lifetime, any given password actively being used is a rare event in comparison.

Re:Microsoft Edge stores all passwords in memory in clear te... by BobbyTables2 on Monday May 04, 2026 @07:02PM (#48016095)
Wouldn’t a guard page be readable in Linux with /proc/self/mem ? (at least read only pages are writable with it)
Re:Microsoft Edge stores all passwords in memory in clear te... by widelyusygas on Monday May 04, 2026 @09:28PM (#48017000)
> It's a very standard defense-in-depth technique

Is there any software we’d be aware of which uses this technique

Re:Microsoft Edge stores all passwords in memory in clear te... by slurmz on Monday May 04, 2026 @09:55PM (#48017205)
Windows and OpenSSL both do this
Re:Microsoft Edge stores all passwords in memory in clear te... by sandworm101 on Monday May 04, 2026 @11:23PM (#48017715)
>> Microsoft has no interest in making their browser less secure than its upstream.

Microsoft has every interest in spending as little money as possible on edge, just enough to keep people swalling the tripe. User privacy is not a thing at MS and hasnt been for decades. Plaintext passwords in a MS product is just another monday. It will take decades more to convince me they have changed.

Re:Microsoft Edge stores all passwords in memory in clear te... by stackghost on Tuesday May 05, 2026 @12:21AM (#48018004)
Look, Ihate Microsoft too but Edge is just Chrome with a different skin, so they'd have to have gone out of their way (and spent money paying engineers) to make Edge less secure than Chrome/ium.
Re:Microsoft Edge stores all passwords in memory in clear te... by wolvoleo on Tuesday May 05, 2026 @06:12AM (#48020397)
The whole point of them using chromium shows how little they care.

The old edge wasn't used much no but that wasn't due to its engine. Most people don't even know what a browser engine is.

They just didn't want to bother making a browser. But they want to benefit from the marketing advantages of having a browser so now they just lift along with chrome.

Re:Microsoft Edge stores all passwords in memory in clear te... by thewebguyd on Tuesday May 05, 2026 @10:42AM (#48023165)
> shows how little they care.

I think they do care, but they care about relevance, not browser monoculture. Doesn't matter how good Trident was, no one was ever going to use it. Even Firefox is barely hanging on, and the only reason Safari is still somewhat relevant is because it's the only choice on iOS.

And my relevance I mean their bread and butter, enterprise, not consumers. Edge is what lets MS give enterprise IT departments maximum control without the grumbling of "we'd rather have Chrome" from the end users.

Re:Microsoft Edge stores all passwords in memory in clear te... by wolvoleo on Wednesday May 06, 2026 @12:23PM (#48038064)
Well that's the thing. I don't think anybody didn't use Edge because it was a different engine. The majority of users have no idea that edge is just chrome now.

It's just when they moved to chromium they also stepped up the marketing around it and all the lock-in in Windows and that's really what got people to use it. Basically the same thing they did to make IE a monopoly.

They also really heavily pushed companies to start using it. Every time we had a call with a MS consultant and we shared a screen they had to bitch about us not using edge, as if they were on commission or something. Eventually they manipulated our leadership into mandating edge to all employees. It's totally locked down now too, it's terrible for the users.

But my point is, they could have done this with the trident version of edge too. I've never heard anyone complain about compatibility. Whenever people didn't want to use edge it was because of a (totally justified) distrust of Microsoft. We should never give control over the internet to them again after what they did with IE (making it a monopoly through illegal means and then leaving it to wither away full of security holes). But unfortunately at work they have got them to remove all other browsers :(

Re:Microsoft Edge stores all passwords in memory in clear te... by angry_octet on Monday May 04, 2026 @06:44PM (#48015948)
This is a fallacious belief. While there is not point in obscurity, there is much value in not making it trivially easy to read passwords, as most exploits (especially of chromium) are not full user compromise, but the ability to massage some memory structures and read/write specific interesting bytes.

Additionally, the passwords could be kept encrypted in another process, and decrypted on demand, essentially a password vault. This lets you use techniques like biometric or physical button approval for password use, and reduces the likelihood of a browser memory dump containing passwords.

File audit capabilities in the OS can also be tuned so that only the vault application should be reading the vault file. Make info stealers job difficult.

Re:Microsoft Edge stores all passwords in memory in clear te... by cush on Monday May 04, 2026 @07:00PM (#48016077)
So as a user, when I go to paste any password, I first need to log in with biometrics, yet any random user process can just snag the password from memory?

What am I missing here?

Re:Microsoft Edge stores all passwords in memory in clear te... by colechristensen on Monday May 04, 2026 @07:49PM (#48016428)
>If you can read arbitrary process memory, you're probably also in a position to just dump out the passwords by pretending to be the user in question.

This is the load bearing argument and it is false.

There are plenty of circumstances were you can grab a piece of process memory but not all of it.

There are plenty more circumstances where you can grab process memory but not kernel memory.

There are plenty more (almost all) where you can dump kernel and process memory but you can't access the keys stored in the TPM module.

Leaving the door open for anyone with the smallest exploit is stupid and bad security.

Re:Microsoft Edge stores all passwords in memory in clear te... by jurf on Tuesday May 05, 2026 @02:03AM (#48018642)
Yeah because Meltdown and Spectre [0] weren't a thing.

[0] https://spectreattack.com/

Re:Microsoft Edge stores all passwords in memory in clear te... by hWuxH on Tuesday May 05, 2026 @06:19PM (#48029507)
If passwords are fetched remotely on-demand, you steal the account API key from memory. If they're encrypted, you steal the master password or decryption key. ... So what's your solution?
Re:Microsoft Edge stores all passwords in memory in clear te... by jurf on Monday May 11, 2026 @06:28AM (#48093180)
I think it’s more about layers of defense being always better than relying on a single point of failure.

IIRC those bugs could only steal data, not do remote execution. If you did not store even the encrypted passwords in memory, getting the password/key to them compromised would still keep you safe, or at least upgrade it to a timing attack.