fund-calculatornpm
Advisory published Updated
fund-calculator is a confirmed malicious npm package (MAL-2026-14391) that executes malicious code on install (malicious version 999.9.12). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in fund-calculator (npm)
What this malware does
Package declares a preinstall script (node index.js) that fires unconditionally on npm install. index.js reads installer-side identifiers via os.hostname(), os.userInfo(), INIT_CWD, home directory, and the parent project's package.json (name/author/repository/homepage), and additionally resolves the installer's public IP via https requests to api.ipify.org, icanhazip.com, and ifconfig.me. The collected data is transmitted to the hardcoded callback da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun over three channels: HTTP POST to port 80, HTTPS POST to port 443 on path /poc/${uuid}, and DNS resolution of hex-encoded payload chunks (Buffer.from(body).toString('hex') split into 60-character labels) emitted as subdomains under the callback host to bypass egress filters that permit DNS but block outbound HTTP. The 999.9.12 version number and package name are consistent with a dependency-confusion name-squat designed to win resolution against a private internal package of the same name.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for fund-calculator (version 999.9.12).
If you installed it — respond
Remove fund-calculator from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If fund-calculator was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks fund-calculator-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.