# GHSA-8GP5-G9JM-CFPF: Malicious code in mfasolver (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-08
- Modified: 2026-10-08

## Affected versions

- mfasolver (npm): 1.0.0

## Description

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/1f0efa038b4952b6f39151f24f216b7f464d67c4/osv/malicious/npm/mfasolver/MAL-2026-17663.json))

## References

- https://github.com/ossf/malicious-packages/blob/1f0efa038b4952b6f39151f24f216b7f464d67c4/osv/malicious/npm/mfasolver/MAL-2026-17663.json
- https://www.npmjs.com/package/mfasolver/v/1.0.0
- https://github.com/advisories/GHSA-8gp5-g9jm-cfpf

Page: https://cve.now/GHSA-8GP5-G9JM-CFPF

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
