Skip to main content
MalwarePublished

fund-calculator (npm) · Malicious Code

Affects fund-calculatorSource GCVE Database

0

Malicious package : remove fund-calculator and rotate any secrets on hosts that installed it.

Data as of 24 Aug 2026, 14:29 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14391

What to do

Remove fund-calculator 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
npmfund-calculatorAffected
  • =999.9.12
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 'fund-calculator' version 999.9.12 contains malicious code that executes a preinstall script during installation. This script collects various installer environment details including hostname, user info, home directory, and public IP address by querying external services. The collected data is exfiltrated to a hardcoded callback server using multiple channels including HTTP, HTTPS, and DNS queries to evade network egress filtering. The package is likely a dependency confusion name-squatting attempt targeting private internal packages with the same name.

References

Community reviews

Loading reviews…