ts-utility-plus
Affected
- Versions:
1.3.2
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 ts-utility-plus (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (75e338acac1218e74bb44a4141ac9eb195da36f48eef6f4b1d11c84fe92a96ef)
The package's default export getPlugin performs an HTTPS request to a hardcoded bare-IP endpoint at https://31.97.137.157:45000/icons/109 and passes the response field data.credits into new Function('require','module',...) with require, process, Buffer, and other Node globals injected as arguments, then invokes the constructed function. This gives the operator of that IP arbitrary code execution inside the installer's Node process whenever the package is required and its default export is called. A cover-story of Font Awesome / icon CDN naming (IconProvider, iconDomain, /ajax/libs/font-awesome/..., bearrtoken:"logo") surrounds the real payload URL, which is assembled by concatenating protocol+separator+domain+path where domain is the bare IP. The declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with a follow-on credential/browser-secret stealer delivered through this channel.
Not rated by the source.
1.3.2None 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