Don't Get Rekt

All scam types / Asked to install, run or verify something

Phished package maintainers and poisoned packages

A fake "reset your 2FA" email takes over an npm or PyPI maintainer's account. The attacker publishes a version that steals crypto from every user.

Targets: Open-source maintainers and every developer who installs their packages · Last seen Oct 22, 2026

Red flags

  • An email about your package registry account from a domain that is not npmjs.com or pypi.org.
  • A deadline: "your account will be locked".
  • For users: a new version of a popular package that nobody announced.

How it works

  1. A maintainer gets an email from a look-alike domain (for example npmjs.help) that asks to reset 2FA.
  2. The link takes the password and the 2FA code, and the attacker logs in.
  3. The attacker publishes a new version with code that changes wallet addresses or steals keys.
  4. Projects that install the newest version ship the malware to their users.

Protect yourself

  • Maintainers: use a hardware security key (passkey) for the registry account. Go to the registry yourself, not by email links.
  • Use trusted publishing from CI, so a stolen password cannot publish.
  • Users: pin versions with a lockfile and wait a few days before you install new releases.

If it happened to you

  1. Maintainers: reset the account, remove the bad versions and tell the registry and your users.
  2. Users: go back to a safe version. If the code ran in a wallet app, treat the keys as exposed.

Take the quiz for this scam 3 questions, about one minute

Real examples (5)

Send a new scam

Describe what happened, or paste a link to the post. Do not include seed phrases, keys or passwords.

Open the post ↗