@finxsecdemo/utils (npm) · Malicious Code
Affects @finxsecdemo/utilsSource GCVE Database
Malicious package : remove @finxsecdemo/utils and rotate any secrets on hosts that installed it.
Data as of 15 Aug 2026, 05:26 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| npm@finxsecdemo/utils | Affected
| 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.'