Critical Malicious Code Injection in log-sink-testmetest Package

log-sink-testmetest Updated 22 Oct 2026

Summary

21/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-18179: Malicious code in log-sink-testmetest (npm). Affects log-sink-testmetest 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 log-sink-testmetest package, available on npm, is designed for logging and data handling within JavaScript applications. However, version 1.0.1 of this package has been found to contain malicious code that executes during installation, posing a significant security risk to users. This vulnerability allows attackers to potentially steal sensitive data from affected systems.

Vulnerability Detail

The vulnerability stems from the presence of a binding.gyp file in the log-sink-testmetest package, which uses GYP command expansion to execute an obfuscated JavaScript file (index.js) during the npm install process. This file decrypts an encrypted payload (data.bin) and executes it, which can lead to unauthorized access to sensitive information. The malicious code is designed to evade detection by using multiple layers of obfuscation and can execute in an alternate runtime environment (Bun), making it particularly dangerous.

How To Fix

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

npm uninstall log-sink-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 log-sink-testmetest package until a patched version is released. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.

Conclusion

The log-sink-testmetest package has a critical vulnerability that allows for malicious code execution during installation. Users are advised to update to a patched version or remove the package until a fix is available. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for log-sink-testmetest →

Share this vulnerability

FAQ

log-sink-testmetest is an npm package used for logging and data handling in JavaScript applications.

The vulnerability executes malicious code during the installation of the package, which can lead to data theft.

You should immediately update the package to a patched version or remove it from your project.

Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using just your package-lock.json.

Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.

How To Fix

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

npm uninstall log-sink-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