Skip to main content
Menu
Advisories

Malicious code in mfasolver (npm)

MAL-2026-17663Published Updated OpenSSFMalware

Description

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

Source: amazon-inspector (6f583d18816b977d3e721da8423405533e9915ad13631d8114e40e54aefd9152)

package.json at line 41 declares the only runtime dependency node-net-pool as https://github.com/trktgq0wbre1/node-net-pool/archive/refs/heads/main.tar.gz — an off-registry HTTP source pointing at the mutable main branch of a GitHub account unrelated to the mfasolver publisher, with no commit pin and no integrity hash. npm install mfasolver fetches whatever bytes that URL returns at install time and runs any lifecycle scripts contained in the fetched archive. The dependency is additionally force-loaded on require: lib/cache.js top-level calls module['require']('node-net-pool') inside a try/catch, so importing mfasolver also executes the attacker-controllable code. Separately, index.js opens TLS connections to discord.com with rejectUnauthorized: false, disabling certificate validation on the package's own Discord traffic.

Affected versions

References