Skip to main content
MalwarePublished

solidity-hold (npm) · Malicious Code

Affects solidity-holdSource GCVE Database

0

Malicious package : remove solidity-hold and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:37 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14220

What to do

Remove solidity-hold 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
npmsolidity-holdAffected
  • =2.0.1
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 solidity-hold@2.0.1 impersonates the popular pino logger by copying its README badges and source tree but replaces a key module with a heavily obfuscated ~4 MB payload. This payload executes automatically when the package is required, while the advertised middleware export is a no-op. The package also declares an unnecessary axios dependency, enabling potential network communication. The publisher metadata is unrelated to the genuine pino project, indicating malicious intent to deceive users and deliver hidden code execution.

References

Community reviews

Loading reviews…