Malicious Code Detected in xk6-top Package - Version 10.1.1

xk6-top Updated 02 Oct 2025

Summary

24/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6225: Malicious code in xk6-top (npm). Affects xk6-top versions >= 7.1.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The xk6-top package is an npm module designed to enhance the capabilities of the k6 load testing tool by providing additional metrics and functionalities. It is widely used in performance testing scenarios to simulate user traffic and analyze system performance. However, version 10.1.1 of this package has been flagged for malicious behavior, which poses a significant risk to users relying on its functionalities.

Vulnerability Detail

The vulnerability originates from the xk6-top package version 10.1.1, which has been identified as malicious by the OpenSSF Package Analysis project. The package communicates with a domain associated with malicious activity, potentially leading to data breaches, unauthorized access, or other security incidents. Users of this package may unknowingly expose their systems to threats, making it critical to address this issue promptly.

How To Fix

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

npm uninstall xk6-top

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 measure, users can avoid using the xk6-top package altogether until a secure version is confirmed. Alternatively, consider using other load testing tools that do not exhibit such vulnerabilities.

Conclusion

The xk6-top package version 10.1.1 has been identified as malicious, posing significant security risks to users. It is crucial to update to a secure version or consider alternative solutions to mitigate potential threats. Regular monitoring of dependencies using tools like Vulert can help maintain application security.

See every vulnerability recorded for xk6-top →

Share this vulnerability

FAQ

xk6-top is an npm module that extends the k6 load testing tool by providing additional metrics and functionalities for performance testing.

Version 10.1.1 has been flagged for communicating with a domain linked to malicious activities, posing security risks to users.

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

As a workaround, consider avoiding the use of the xk6-top package until a secure version is released or explore alternative load testing tools.

Utilize tools like Vulert, which can monitor your package-lock.json file to alert you of any vulnerabilities in your open-source dependencies.

How To Fix

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

npm uninstall xk6-top

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