Malicious Code Execution Vulnerability in testmgkregme Package

testmgkregme Updated 21 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16317: Malicious code in testmgkregme (npm). Affects testmgkregme versions 1.0.1. 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 testmgkregme package is an npm module designed for specific functionalities within JavaScript applications. However, it has been identified to contain a serious vulnerability that allows for malicious code execution during the installation process. This vulnerability arises from the package's use of a binding.gyp file that triggers code execution without proper safeguards, exposing users to potential security risks.

Vulnerability Detail

The vulnerability in the testmgkregme package stems from its binding.gyp file, which employs GYP command-expansion to execute arbitrary JavaScript code during the installation process. Specifically, the command '<!(env node index.js...; echo stub.c)' runs 'node index.js' when 'node-gyp rebuild' is invoked by npm. This results in the execution of a 2.9 MB obfuscated JavaScript file that uses multiple layers of encoding and encryption to conceal its true intent, ultimately executing malicious code on the user's machine with their privileges. The absence of legitimate native source files indicates that the binding.gyp is solely designed to facilitate this malicious behavior.

How To Fix

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

npm uninstall testmgkregme

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 installing the testmgkregme package altogether. If it is already installed, you should uninstall it using the command: npm uninstall testmgkregme. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The testmgkregme package contains a significant vulnerability that allows for the execution of malicious code during installation. Users are advised to uninstall the package and monitor for updates. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities in your projects.

See every vulnerability recorded for testmgkregme →

Share this vulnerability

FAQ

The testmgkregme package is an npm module that is intended for use in JavaScript applications, but it has been found to contain malicious code.

The vulnerability allows for arbitrary code execution during the installation of the package, which can lead to malicious actions being performed on the user's machine.

If you have installed the testmgkregme package, you should uninstall it immediately and check for any updates or patches from the package maintainers.

Yes, tools like Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

How To Fix

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

npm uninstall testmgkregme

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