MAL-2026-3716 Malicious code in truffle-helper (npm)
- Package
- truffle-helper
- Registry
- npm
What is MAL-2026-3716?
MAL-2026-3716 is a malicious package in truffle-helper, published on 13 May 2026.
Official description
package.json line 7 invokes require('child_process') and execSync('curl…') from an npm lifecycle script. This causes the installer's machine to fetch and execute remote content at install time, without user consent and without any visible integrity check. The package's declared purpose (a Truffle helper) has no legitimate need to pipe curl output through a shell during install. Any installer running npm install truffle-helper runs attacker-controlled commands on their host.
The OpenSSF Package Analysis project identified 'truffle-helper' @ 2.0.0 (npm) as malicious.
It is considered malicious because:
- The package executes one or more commands associated with malicious behavior.
What should I do about MAL-2026-3716?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.