upvote
Apparently it's possible to create access tokens that bypass 2FA. Might've been this.

https://docs.npmjs.com/creating-and-viewing-access-tokens

reply
Correct, for CI/CD systems that want to push releases.
reply
If GitHub, gitlab, or circleci, trusted publishing is available. No access token whatsoever.
reply