MAL-2026-13617
Malicious code in ts-utility-plus (npm)
Details
--- _-= 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for ts-utility-plus (npm). Pin to a known-safe version or switch to an alternative.