Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

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

  1. Require passkeys or FIDO2 keys for package registries, source control, cloud consoles and the AI platform admin.
  2. Enforce it for every maintainer of a package your organization publishes, and prefer trusted publishing over long-lived tokens.
  3. Treat 'update your 2FA' emails as phishing until proven otherwise.

Sources

Check your own AI plan against the practices: Plan check