Lurker News

Comments (149) 35 threads

Show all comments

Showing thread 4 of 35

gruez2 replies#
>How does it work?

>[...]
>LoginWithHN generates a unique one-time-use code that the user must then put into their profile within 5 minutes
I like the implementation, but shouldn't the code be something more explicit? Otherwise it might be easy to social engineer someone into putting in the code. Currently it's
>Put the token below in your HackerNews Profile ↗
>[random letters]
I think Keybase does something more explicit, with something like "my keybase verification code is xyz"

colinclerk1 reply#
I agree this is a concern, though more with phishing than social engineering.

An attacker site pretends to have their own "Login with HN" implementation, but asks users to put in a code generated from LoginWithHN.com itself.
If the user adds the code, then the attacker can impersonate the victim on any service that supports LoginWithHN.com (because of the special second-time login handling)
If the string was more explicit that it's for LoginWithHN.com, the victim is more likely to recognize that something phishy is going on.

hardwaresofton#
Thanks for the suggestion, this is a great idea. The phishing angle is not one I had considered
hardwaresofton#
You're right -- I will make this more explicit to hopefully prevent some phishing attempts