Malicious Code Injection in Troubleshooting Package - npm Vulnerability

troubleshooting Updated 07 Oct 2026

Summary

07/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17641: Malicious code in troubleshooting (npm). Affects troubleshooting versions 0.1.0 – 99.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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The 'troubleshooting' package is a dependency-confusion tool designed to act as a compatibility shim for various npm packages. It claims to facilitate authorized dependency-confusion tests. However, it has been found to contain malicious code that compromises user data by sending sensitive information over an unsecured HTTP connection.

Vulnerability Detail

The vulnerability arises from the 'troubleshooting' package containing a postinstall script that executes a malicious file, 'beacon.cjs', upon installation. This script sends the hostname, installation path, and current working directory to a remote server (http://185.158.107.175:8787/_ah/dc) in plain HTTP. This poses a significant risk as it can lead to data leakage and unauthorized access to sensitive information. The malicious code is embedded in multiple versions of the package, making it imperative for users to be vigilant about the versions they are using.

How To Fix

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

npm uninstall troubleshooting

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, users can remove the 'troubleshooting' package from their project if it is not essential. This can be done using the command: npm uninstall troubleshooting. Additionally, avoid using any versions of the package that are known to be compromised.

Conclusion

The 'troubleshooting' package has been identified as containing malicious code that poses a significant risk to users. It is crucial to update or remove the package to safeguard your application from potential data leaks and unauthorized access. Regular monitoring of your dependencies using tools like Vulert can help maintain the security of your software.

See every vulnerability recorded for troubleshooting →

Share this vulnerability

FAQ

The 'troubleshooting' package is an npm dependency designed to serve as a compatibility shim for other packages, but it has been found to contain malicious code.

The malicious code executes a script that sends sensitive information to a remote server upon installation and when the package is imported.

You should immediately update the package to the latest version or uninstall it if it is not necessary for your project.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.

Using compromised packages can lead to data breaches, unauthorized access to sensitive information, and potential exploitation of your application.

How To Fix

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

npm uninstall troubleshooting

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