Critical Malicious Code Vulnerability in test-brotli-testmetest Package

test-brotli-testmetest Updated 22 Oct 2026

Summary

21/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-18181: Malicious code in test-brotli-testmetest (npm). Affects test-brotli-testmetest 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The test-brotli-testmetest package, version 1.0.0, is an npm package that is intended for testing Brotli compression. However, it has been found to contain malicious code that compromises the security of applications using it. This package executes a script during installation that runs an obfuscated loader, which can lead to unauthorized access and data theft.

Vulnerability Detail

The vulnerability originates from the package's install script, which utilizes node-gyp to run an obfuscated JavaScript file (index.js) that decrypts a malicious payload. This payload is a credential stealer that can execute arbitrary code on the user's machine when the package is installed. The use of command expansion in the binding.gyp file allows the attacker to execute the malicious code without the user's knowledge, posing significant risks to data security and application integrity.

How To Fix

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

npm uninstall test-brotli-testmetest

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 avoid using the test-brotli-testmetest package altogether. If you have already installed it, remove it from your project and monitor your application for any unusual behavior or unauthorized access.

Conclusion

The test-brotli-testmetest package contains a critical vulnerability that allows for the execution of malicious code during installation. It is crucial to remove this package from your project and monitor for any potential security breaches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.

See every vulnerability recorded for test-brotli-testmetest →

Share this vulnerability

FAQ

It is an npm package designed for testing Brotli compression, but it has been compromised with malicious code.

The vulnerability allows an attacker to execute malicious code on your machine, potentially leading to data theft and unauthorized access.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Immediately uninstall the test-brotli-testmetest package and monitor your application for any suspicious activity.

Yes, consider using well-known and trusted packages for Brotli compression that do not have known vulnerabilities.

How To Fix

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

npm uninstall test-brotli-testmetest

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