Skip to main content
MalwarePublished

solidity-testing-utils (npm) · Malicious Code

Affects solidity-testing-utilsSource GCVE Database

0

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

Data as of 23 Aug 2026, 13:50 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14375

What to do

Remove solidity-testing-utils 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-testing-utilsAffected
  • =1.2.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 solidity-testing-utils version 1.2.0 contains malicious code that silently executes attacker-controlled JavaScript code during installation. It spawns a detached Node.js process that fetches a payload from a mutable attacker-controlled JSON endpoint, enabling arbitrary code execution with require access in the installer's environment. The package's name and README misrepresent its true behavior.

References

Community reviews

Loading reviews…