OpenSSF/OSV advisory MAL-2026-3716 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in truffle-helper (npm)
Details
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.
## Source: ossf-package-analysis (a7ffc14f56f1b088e2835429bbdd7f07020e022594b7f123c7c58c2c12602996) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms truffle-helper@2.0.0 as malicious (MAL-2026-3716): Malicious code in truffle-helper (npm)