Skip to main content
MalwarePublished

contracts-upgradeable (npm) · Malicious Code

Affects contracts-upgradeableSource GCVE Database

0

Malicious package : remove contracts-upgradeable and rotate any secrets on hosts that installed it.

Data as of 2 Nov 2026, 08:45 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18451

What to do

Remove contracts-upgradeable from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmcontracts-upgradeableAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'contracts-upgradeable' is a malicious package impersonating '@openzeppelin/contracts-upgradeable'. It contains no functional code but executes a preinstall script that sends the machine's hostname, OS username, and local time to a Discord webhook, potentially leaking sensitive environment information. The package was published on 2026-11-02 by the npm account 'bigdevin55', which also published another package with the same malicious behavior. Another account 'cutekitten05' used the same webhook in packages published the day before.

References

Community reviews

Loading reviews…