Malicious Code Vulnerability in mfaatest Package

mfaatest Updated 01 Sep 2026

Summary

31/08/2026
CRITICAL
No i
Critical
Not published

MAL-2026-15629: Malicious code in mfaatest (npm). Affects mfaatest versions 1.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The mfaatest package is an npm module designed for multi-factor authentication testing. It is intended to provide developers with tools to simulate and test various MFA scenarios. However, this package has been found to contain a critical vulnerability that allows the execution of arbitrary code from an untrusted source, posing significant security risks to users.

Vulnerability Detail

The vulnerability originates from the mfaatest package's dependency on node-net-pool, which is declared with an arbitrary HTTPS tarball URL instead of a version range from a trusted registry. During the npm install process, this allows the package to fetch and execute any code returned by the specified URL, which is controlled by an unrelated domain. This means that malicious actors can alter the content at the URL, leading to potential execution of harmful scripts on the user's system. The package's description falsely claims to have 'zero runtime dependencies', which contradicts the presence of this off-registry dependency, indicating a serious oversight in security practices.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall mfaatest

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can manually remove the dependency on node-net-pool from the package.json file and replace it with a secure alternative or a specific version from a trusted registry. This can be done by editing the package.json file to remove the line that specifies the dependency and then running npm install to update your package lock.

Conclusion

The mfaatest package contains a serious vulnerability that allows for the execution of malicious code from an untrusted source. It is essential for developers to be vigilant about the dependencies they include in their projects and to take immediate action to mitigate risks by updating or replacing vulnerable packages.

See every vulnerability recorded for mfaatest →

Share this vulnerability

FAQ

The mfaatest package is used for testing multi-factor authentication scenarios in applications.

This vulnerability allows malicious code to be executed on your system, potentially compromising sensitive data and application integrity.

Check for updates to the mfaatest package using npm. If a patched version is available, it is recommended to update immediately.

You can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without needing to access the code.

As a temporary measure, consider removing the vulnerable dependency or replacing it with a secure alternative until you can update.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall mfaatest

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback