fund-calculator
Affected
- Versions:
999.9.12
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in fund-calculator (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (52c5f9f0536151a173aa211b9b5f2972e68aee3043132adccdb3695947b16672)
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.
Not rated by the source.
999.9.12None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0