News for hackers. Stuff that matters.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by cr125rider on Tuesday September 09, 2025 @08:02AM (#45180762)
How is that different?
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by semiquaver on Tuesday September 09, 2025 @08:07AM (#45180801)
Passkeys are unphishable because there is nothing to type in. And they are locked to an origin by design, so you can’t accidentally use one on the wrong domain because the browser simply won’t do it.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by jve on Tuesday September 09, 2025 @09:02AM (#45181379)
... and they are not transferrable, tied to BigCorp & Friends.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by Semaphor on Tuesday September 09, 2025 @09:10AM (#45181467)
I use a hardware key as passkey where supported, nothing ties me to anything but those keys. Also there are OSS software managers that support them, like KeePass and friends.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by wavemode on Tuesday September 09, 2025 @09:58AM (#45182004)
does your hardware key work on mobile? or do you now need to maintain two keys for every service?
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by vel0city on Tuesday September 09, 2025 @10:18AM (#45182285)
Yes, my hardware keys work on my mobile devices as well.

> do you now need to maintain two keys for every service?

I do maintain multiple keys for every service. I wouldn't say it's a lot of maintenance, any more than a far more secure "remember me" box is "maintenance".

When I register for a new service, I add my hardware token on my keychain as a passkey. I sign in on my laptop for the first time for a service I'll use there more than once, I make a passkey. I sign in on my desktop for the first time, I make a passkey, maybe make a spare in my password manager. Maybe if it's something I use on my phone, I'll make a passkey there as well when I sign in for the first time. When I get around to it, I'll add the spare hardware token I keep in a drawer. But its not like "I just signed up for a new service, now I must go around to every device and make a new passkey immediately. As long as I've got a couple of passkeys at registration time, I'm probably fine.

Lose my laptop? Its ok, I've got other passkeys. Lose my keys? Its ok, I've got other passkeys. My laptop and keys get stolen at the same time? Its ok, I've got other passkeys.

Its really not that hard.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by Semaphor on Wednesday September 10, 2025 @02:48AM (#45194144)
> does your hardware key work on mobile?

Yes, they support NFC

> or do you now need to maintain two keys for every service?

I maintain 4 keys so I have backups. In most cases registering additional keys is no problem, and this is only needed when signing up.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by udev4096 on Tuesday September 09, 2025 @11:22AM (#45183223)
It is on majority of selfhosted pw managers. Vaultwarden, most popular, can transfer passkeys
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by koakuma-chan on Tuesday September 09, 2025 @08:05AM (#45180785)
Passkey only works when you're on the correct website
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Tuesday September 09, 2025 @08:07AM (#45180804)
Use a password manager (that isn't too buggy and/or suck) and you get the same thing for both TOTP and passwords.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by koakuma-chan on Tuesday September 09, 2025 @08:11AM (#45180837)
Npm can't force people to use password manager
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Tuesday September 09, 2025 @08:18AM (#45180920)
Nor does TOTP+password lock you to one authentication provider indefinitely. Tradeoffs :)
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by maltee on Tuesday September 09, 2025 @08:31AM (#45181056)
You can always register a new passkey with the site if you want to switch authentication providers, can’t you?
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Tuesday September 09, 2025 @10:20AM (#45182306)
Yeah, I guess that'd work if I had a couple of accounts, but since there a bunch of them, I really need proper import/export to feel comfortable with moving to it. I just know I'd punt the task of migrating everything if I have to go account-by-account to migrate away.

Considering that today it'd add work for me today, and future work, with no additional security benefits compared to my current approach, it just don't seem worth it.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by vel0city on Tuesday September 09, 2025 @10:19AM (#45182300)
I've got passkeys from multiple "authentication providers" available on all of my devices. This isn't a tradeoff.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by ljlolel on Tuesday September 09, 2025 @08:19AM (#45180934)
You can if you just force passwords longer than people can memorize or even want to write down (assigned 24+ characters)
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by koakuma-chan on Tuesday September 09, 2025 @08:26AM (#45181014)
It's just gonna be on a sticky note hanging on the screen or under keyboard
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by hu3 on Tuesday September 09, 2025 @09:20AM (#45181568)
careless people just copy paste those
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by ApolloFortyNine on Tuesday September 09, 2025 @10:50AM (#45182720)
As mentioned elsewhere in this thread, the password manager failing to autofill is hardly unheard of.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Tuesday September 09, 2025 @12:01PM (#45183929)
As also mentioned elsewhere in this submission, it doesn't matter how often autofill breaks/works. There are two cases where it breaks: The accounts not showing up in the password manager modal, and the website autofill not working. The first is what prevents phishing, the second doesn't really matter to prevent phishing or not.

The idea is that if your password manager doesn't show the usual list of accounts (regardless if the actual autofill after clicking the account works or not), you double-check the domain.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by yawaramin on Tuesday September 09, 2025 @09:38PM (#45192015)
Yes, the idea you are presenting is that the human being must manually check for mistakes. As should be clear by now, this idea does not work at scale. Passkeys will automate and enforce the check, removing human error from the equation.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Wednesday September 10, 2025 @04:13AM (#45194742)
> Yes, the idea you are presenting is that the human being must manually check for mistakes.

Not at all? The password manager handles that automatically, have you never used a password manager before?

> Passkeys will automate and enforce the check

What happens to the passkey when the origin changes, is it automatically recognising it as the new domain without any manual input? Curious to see what magic is responsible for that

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by yawaramin on Wednesday September 10, 2025 @12:26PM (#45200031)
> Not at all?

Yes: '...you double-check the domain.' That's manually checking for mistakes.

> What happens to the passkey when the origin changes,

The passkey won't work at all. You will just have to create a new one.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Wednesday September 10, 2025 @03:16PM (#45202343)
> Yes: '...you double-check the domain.' That's manually checking for mistakes.

Yes, but that's only when the origin changed compared to when you added it to the password manager. Same thing for Passkeys, won't work if the origin is different, so you double-check that the domain in your browser address bar is the correct one.

Obviously normally you don't do anything except click on the account that shows up, since the domain matches.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by yawaramin on Wednesday September 10, 2025 @07:51PM (#45205783)
With passkeys there is nothing to check manually. If it works, you know it's the domain you registered on. If it doesn't work, you log in with a non-phishable auth method like emailed magic link, then register a new passkey.

You could claim that a phishing site could set up their own passkey registration system–but that still wouldn't give them access to the target's real account.

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by diggan on Thursday September 11, 2025 @02:56AM (#45208622)
> With passkeys there is nothing to check manually. If it works, you know it's the domain you registered on. If it doesn't work,

So exactly the same as password managers, there is no functional difference if you were using a password manager...

Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by 243423443 on Tuesday September 09, 2025 @08:06AM (#45180797)
Care to explain?
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by vladvasiliu on Tuesday September 09, 2025 @08:10AM (#45180829)
The actual URL in the browser is part of what the passkey signs. So if you go to totallynotascam.com which turns out to be some dude intercepting and passing the connection to npm, the signature would be refused by npm since it wouldn't be for the correct domain.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by codedokode on Tuesday September 09, 2025 @08:42AM (#45181173)
Unlike humans.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal... by operator-name on Tuesday September 09, 2025 @08:06AM (#45180795)
The browser ensures that a passkey can only be used on the correct site.