Malicious Code in test262-runner (npm)

test262-runner Updated 02 Oct 2025

Summary

01/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8414: Malicious code in test262-runner (npm). Affects test262-runner versions 1.0.0 – 1.0.10. 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

test262-runner is an npm package used for running the official ECMAScript test suite, Test262. It provides a convenient way to execute the tests and validate the compliance of JavaScript engines. The package is widely used by developers and organizations to ensure the correctness of their JavaScript implementations. However, a vulnerability has been identified in version 1.0.0 of test262-runner, which makes it susceptible to malicious activity.

Vulnerability Detail

The OpenSSF Package Analysis project has flagged test262-runner version 1.0.0 as malicious due to the following reasons:

  • The package communicates with a domain associated with malicious activity.
  • The package executes one or more commands associated with malicious behavior.

This vulnerability poses a significant risk to the security and integrity of systems using test262-runner. Attackers could potentially exploit this vulnerability to execute arbitrary code, compromise the host system, or exfiltrate sensitive information.

How To Fix

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

npm uninstall test262-runner

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

There is no known workaround for this vulnerability. It is crucial to update to a non-malicious version of test262-runner as soon as possible.

Conclusion

The presence of malicious code in test262-runner version 1.0.0 poses a significant security risk to systems using this package. It is crucial to update to a non-malicious version and conduct a thorough security audit to ensure the integrity of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for test262-runner →

Share this vulnerability

FAQ

test262-runner is an npm package used for running the official ECMAScript test suite, Test262. It helps developers validate the compliance of JavaScript engines.

The malicious code in test262-runner can lead to unauthorized execution of commands, communication with malicious domains, and potential compromise of the host system.

Version 1.0.0 of test262-runner is identified as malicious and should be avoided.

No, there are no known workarounds for this vulnerability. Updating to a non-malicious version is the recommended solution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

How To Fix

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

npm uninstall test262-runner

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