Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Nicholas Zakas

๐Ÿ‘ค Speaker
455 total appearances

Appearances Over Time

Podcast Appearances

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

You have to go in individually to each package and go through multiple two-factor authentication approvals as well just to do it for one package.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

And I've been told that there's going to be a batching tool coming out.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

I'm still not there yet.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

But in the meantime, they still rolled out these changes fairly quickly to people to kind of force changing over to the granular tokens with shorter TTLs and the trusted publishing.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

And so there were just a lot of maintainers that were like, you're just throwing a ton of work onto our plate and the tools to help us

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

do that work aren't even there yet.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

Yeah, so it's trusted because it is known ahead of time that that is the one location

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

that you can publish from.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

Like any other workflow that you add, you can ask to get the ID token and publish to NPM, but that workflow is untrusted.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

So it can't actually use a token to publish to NPM.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

So it ends up being just a form of validation between that workflow and NPM to validate that it is allowed to publish that package.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

Yeah, which again, is actually a nice system.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

If you're on GitHub or GitLab and you don't worry too much about needing two-factor authentication, it's a decent system, but...

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

To me, and it's still GitHub and NPM saying, like, okay, maintainers, you need to do more to protect everybody from you being a victim of...

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

your credentials being stolen, which is why in my post, I use the analogy of credit cards where like there's a lot of fraud using credit cards.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

And that's why credit card companies keep introducing new ways of validating that you are the authorized user of the card that you're using, whether that be the CVC number on the back or the chip that is in the card or

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

or in Europe needing to add a pin in addition to your chip.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

They do all of that stuff to hopefully prevent people from using your credit card number without your permission.

The Changelog: Software Development, Open Source
Securing npm is table stakes (Interview)

We should do that.