Best practiceGovernance and people
Use phishing-resistant MFA for maintainers and admins
OWASP ASI03OWASP ASI04
The chalk and debug compromise, which reached billions of weekly downloads, started with one maintainer entering a code on a fake npm page. Codes and push notifications are phishable; passkeys and hardware keys are not.
What to do
- Require passkeys or FIDO2 keys for package registries, source control, cloud consoles and the AI platform admin.
- Enforce it for every maintainer of a package your organization publishes, and prefer trusted publishing over long-lived tokens.
- Treat 'update your 2FA' emails as phishing until proven otherwise.