Skip to main content
MalwarePublished Updated

@finxsecdemo/utils (npm) · Malicious Code

Affects @finxsecdemo/utilsSource GCVE Database

0

Malicious package : remove @finxsecdemo/utils and rotate any secrets on hosts that installed it.

Data as of 15 Aug 2026, 05:26 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-11170

What to do

Remove @finxsecdemo/utils 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
npm@finxsecdemo/utilsAffected
  • =1.0.2
  • =1.0.3
Fixed in–

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

Description

The npm package '@finxsecdemo/utils' versions 1.0.2 and 1.0.3 contain malicious code that executes during installation. The postinstall.js script performs an HTTPS GET request and DNS resolution to a hardcoded external domain, sending system information such as hostname, user info, and environment variables. This behavior effectively leaks the installer's source IP and DNS resolver IP to an attacker-controlled server. Additionally, the package's main function returns corrupted output that can disrupt consumers displaying formatted currency. This malicious activity occurs regardless of the package's labeling as a 'dependency confusion PoC.'

References

Community reviews

Loading reviews…