Skip to main content
MalwarePublished

utility-kit-ts (npm) · Malicious Code

Affects utility-kit-tsSource GCVE Database

0

Malicious package : remove utility-kit-ts and rotate any secrets on hosts that installed it.

Data as of 6 Aug 2026, 18:24 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12493

What to do

Remove utility-kit-ts from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmutility-kit-tsAffected
  • =1.3.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

--- _-= 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. ## Source: ghsa-malware (e4d47d251f81b0696dd32c48deec7ce497f8f72b3681dd774ea4446e11d0336e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

References

Community reviews

Loading reviews…