Protet Intel / npm / contracts-upgradeable

contracts-upgradeable 1.0.0

confirmed malicious PROTET-NPM-2026-172

Every version of this package that Protet Intel names: Is contracts-upgradeable malicious?

Details

contracts-upgradeable takes the unscoped name of @openzeppelin/contracts-upgradeable. Its preinstall script runs 'node preinstall.js' on npm install, which sends the machine's hostname, the OS user name and the local time by HTTPS POST to a hardcoded Discord webhook. It has no functional code. Remove the package and treat the hostnames and user names of affected machines as disclosed. Also listed as MAL-2026-18451.

Records

Status history

  • 2026-11-07: named as a Protet finding

Want to know if your own builds pull packages like this? Add the Protet GitHub Action.

Think this is wrong? Write to hello@protet.io and we will look at it.