Unofficial Hacker News companion — get notified on comment replies, and more.

Nearly 2B credentials exposed in a publicly accessible database (opens external site)

310 points by basilgohar 2 days ago | www.expressvpn.com | 173 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (6)

  1. I use myemail+#{service_name}@mydomain.com but that might just be a feature of Google email
    Replies (2)
    1. I wouldn't trust +tag as a security feature. It's nice for basic filtering, but it's trivial to detect, strip, reverse engineer. Use a proper catch-all domain and at the very least throw in some random numbers on each address.
      Replies (3)
      1. Why do I care if Amazon knows to strip the “+amazon.com” from my email address? First, you still need the whole thing to use it as a login. Second, they don’t actually do that. Stripping away the suffix is an entirely hypothetical form of abuse that I haven’t seen once in over 20 years of diligently providing obviously-uniquified addresses.
      2. > it's trivial to detect, strip, reverse engineer.

        Depends on the threat model. Simply dropping all messages that arrive at the base (ie untagged) address prevents blindly stripping it and protects you from the vast majority of spam.

        Agreed that reverse engineering (ie inferring that bob+amazon implies bob+microsoft) means this isn't going to offer any meaningful security against an attacker with even half a brain. But if you're using a password manager then using a properly randomized unique password for each account renders that largely irrelevant.

        If you're worried about some sort of password reset attack then simply randomize the tags in addition to the passwords since you're storing the email alongside the password anyway.

      3. It's fine if "myemail" is not your primary email address, reputable services will not strip it, and then everything without the suffix only needs occasional review.
    2. Have you had bad email regex fail to accept these?