Earlier quoted context omitted.
PGP/SSH is surely the usable here as a 2fa. Have maintainers (or at the least owners) demonstrate their identity with both email and a key.
People will lose their GPG/SSH keys. That would cause great havoc with thousands of projects being re-published under new names every year because their authors did not back up his ssh key. The only proper way to handle that is to ask for national IDs, full names, document numbers. And in case of uncertainty ask photo with those docs and have human support to check it. Of course it should not be required, but just sh…
Compromising Angular via expired NPM publisher email domains
31–40 of 82 posts
Re: Compromising Angular via expired NPM publisher email domains
#32Re: Compromising Angular via expired NPM publisher email domains
#33A tangential issue related to this since Github is involved: Github pages. If you point a DNS entry to a Github page and then delete the page without deleting the entry on you DNS table someone can create a new page with the same name and hijack your DNS entry for malicious purposes. I've written to Github already about this, if they want to let you point your DNS to the page they should give you a unique entry to po…
Re: Compromising Angular via expired NPM publisher email domains
#34Re: Compromising Angular via expired NPM publisher email domains
#35What about checking the whois expiration of every email domain and locking out all the expired ones?
Re: Compromising Angular via expired NPM publisher email domains
#36> Their response seemed to indicate that the account was flagged due to previous issues sending emails, which would be expected with the domain having expired.
It's entirely possible that the domain could have been re-registered long before their next attempt to send an email to it.
I wonder if it's safer (and plausible) to run a daily whois audit job for all maintainer email domains and block anything that enters the redemptionPeriod status?
Re: Compromising Angular via expired NPM publisher email domains
#37Re: Compromising Angular via expired NPM publisher email domains
#38Is there a good reason for making NPM profile emails public? I have an unique email address on NPM, and it receives a considerable amount of phishing emails that target NPM and Mailgun.
Re: Compromising Angular via expired NPM publisher email domains
#39The NPM registry's API documentation seems to be wrong, or deliberately semi-vague, as well. It states (emphasis mine) > maintainers: and array of objects containing author objects as listed in package.json > author: object with name, email, and or url of author as listed in package.json However, the email address against the user's profile gets listed even if your package.json does not contain an email address. Exam…
Re: Compromising Angular via expired NPM publisher email domains
#40I just so happen to have a dataset of every single email address in the NPM registry (and any publicly accessible email addresses for associated GitHub repo users). It wouldn't take long for me to stream those records using that domain lookup command to discover which were no longer registered. I wonder if that would have any intrinsic value to the community at large?