OpenSSF/OSV advisory MAL-2026-15851 confirms this npm version as malicious. The package's preinstall lifecycle script iterates process.env and filters keys for credential-shaped substrings (key, secret, token, pass, mnemonic, seed, private, wallet, rpc, infura, alchemy, api), attaches os.hostname(), process.cwd() and process.version, and POSTs the resulting JSON to a hardcoded remote host. The destination is written as an integer literal (759017974, decoding to 45.61.177.246) on port 61289...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @quantixfinance/contracts (npm)
Details
The package's preinstall lifecycle script iterates process.env and filters keys for credential-shaped substrings (key, secret, token, pass, mnemonic, seed, private, wallet, rpc, infura, alchemy, api), attaches os.hostname(), process.cwd() and process.version, and POSTs the resulting JSON to a hardcoded remote host. The destination is written as an integer literal (759017974, decoding to 45.61.177.246) on port 61289 to evade string-based scanners. The package advertises itself as a contracts/ABI library and has no legitimate need to read or transmit environment secrets or host identifiers.
Decision reason
OpenSSF Malicious Packages via OSV confirms @quantixfinance/contracts@1.0.0 as malicious (MAL-2026-15851): Malicious code in @quantixfinance/contracts (npm)