Advisory

MAL-2026-14290

Also known as: GHSA-7fvf-fgwq-85q6

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in anhn-cli (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (7b0f11f74231c27bd3e3ac41dea5290466f042224f64547d88a328d6b87cf657)
bin/install/install.js appends a heavily obfuscated top-level IIFE (obfuscator.io-style rotated string array _0x240a/_0x4963 with arithmetic index decoding) after the benign install() helper. The payload queries public Ethereum RPCs and etherscan.io for transactions from the hardcoded sender address 0xa322E5f3..., decodes the transaction to field as an IPv4 address, fetches an XOR-encrypted body from that host, and executes it via eval(prefix+xor(body)) and a detached spawn('node', ['-e',...], {detached:true}).unref(). The package's main entry (bin/index.js) unconditionally requires./install/install, so the IIFE runs whenever the package is required or the CLI is invoked. The attacker controls the fetched payload by publishing new Ethereum transactions from the sender address; there is no version pinning, no signature check, and the destination host rotates on-chain. Decoded strings inside the string array include eth_getBlockByNumber, etherscan.io, eval, and spawn.

Source: ghsa-malware (a8979748c94e778d47d8dbcb6df6c726c12f8a6200827263e7d425e5f0781ba5)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Severity

Not rated by the source.

Dates

Published
2026-08-19 08:37 UTC
Modified
2026-09-23 01:00 UTC

Affected packages and fixes

anhn-cli

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences