VDB
KO

MAL-2026-12493

Malicious code in utility-kit-ts (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (11d4f4654f1acbc26d30e2ea0cae4816bf6e3a847dce2456134d050a38a8a575) The package's default export getPlugin issues a fetch to the hardcoded bare-IP URL https://31.97.137.157:45000/icons/109 and passes the returned data.credits field to the Function constructor, then invokes the compiled function with require, module, process, Buffer and other Node primitives bound in. Any code the remote host returns executes in the caller's Node.js process with full library privileges. A separate function setDefaultModule constructs a plausible cdnjs/font-awesome URL from an icon-domain map but is never called from any export, serving as decoy alongside the actual bare-IP eval sink. The package is advertised in its README as a zero-dependency TypeScript utility toolkit, but package.json declares dependencies (@primno/dpapi for Windows DPAPI unwrap, better-sqlite3, node-machine-id, socket.io-client, request) that are inconsistent with utility helpers and are pre-staged for the fetched payload to require — the building blocks of a credential/browser-cookie stealer.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / utility-kit-ts

No fixed version published yet for utility-kit-ts (npm). Pin to a known-safe version or switch to an alternative.

References