Critical Security Breach in selenium-session-client: Malicious Code Injection

selenium-session-client Updated 25 Nov 2025

Summary

25/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191422: Malicious code in selenium-session-client (npm). Affects selenium-session-client versions 1.0.4. 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 selenium-session-client is an npm package designed to facilitate the management of Selenium sessions in web automation tasks. It provides developers with tools to create, manage, and terminate Selenium sessions efficiently. However, this package has been compromised, making it vulnerable to severe security threats that can affect users' credentials and system integrity.

Vulnerability Detail

The vulnerability originates from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials from users, subsequently publishing this sensitive information to GitHub. Additionally, it can propagate itself to other npm packages owned by the user and establish persistence through a GitHub action. The malicious code poses a significant risk as it may also lead to the destruction of the user's home directory, compromising both data and system security.

How To Fix

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

npm uninstall selenium-session-client

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 should consider removing the compromised package from their project and avoid using it until a secure version is released. You can remove the package using the following command: npm uninstall selenium-session-client.

Conclusion

The selenium-session-client package has been compromised by a malicious worm that poses significant security risks to users. Immediate action is required to update or remove the package to safeguard sensitive information and maintain system integrity. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.

See every vulnerability recorded for selenium-session-client →

Share this vulnerability

FAQ

The primary risk is the theft of sensitive tokens and credentials, which can lead to unauthorized access to user accounts and data.

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

If you suspect that you have been compromised, immediately change your credentials and review your security settings. Consider consulting a security professional.

Regularly update your dependencies, use tools like Vulert for monitoring vulnerabilities, and conduct security audits on your codebase.

If the worm propagates to other npm packages, it can compromise additional projects, leading to widespread security issues across multiple applications.

How To Fix

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

npm uninstall selenium-session-client

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.