Critical Malicious Code Vulnerability in testinghs Package

testinghs Updated 02 Oct 2025

Summary

25/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6318: Malicious code in testinghs (npm). Affects testinghs 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The testinghs package is an npm library that is utilized for various testing purposes in JavaScript applications. It is designed to facilitate testing workflows and enhance the development process. However, this package has been identified as containing malicious code that communicates with a domain associated with harmful activities, posing significant risks to users and their systems.

Vulnerability Detail

The vulnerability originates from the testinghs package, which has been found to include embedded malicious code. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it can lead to complete system compromise and data breaches.

How To Fix

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

npm uninstall testinghs

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 workaround, you can replace the functionality provided by the testinghs package with alternative libraries that do not have known vulnerabilities. Always ensure to review the security status of any new packages before integrating them into your project.

Conclusion

The testinghs package contains a critical vulnerability due to embedded malicious code that can compromise systems. Users are advised to uninstall the package immediately and monitor their systems for any unauthorized access. Utilizing tools like Vulert can help in maintaining the security of your applications.

See every vulnerability recorded for testinghs →

Share this vulnerability

FAQ

The testinghs package is an npm library used for testing purposes in JavaScript applications, aimed at improving testing workflows.

The malicious code can compromise your system, allowing unauthorized access to sensitive data and potentially leading to data breaches.

You should immediately uninstall the testinghs package using 'npm uninstall testinghs' and rotate any sensitive keys or secrets stored on your system.

Currently, there is no patched version of the testinghs package available, so removal is the only option.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall testinghs

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