Critical Malicious Code Vulnerability in gate-context-client Package

gate-context-client Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-21200: Malicious code in gate-context-client (npm). Affected versions are not published. 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 gate-context-client package is a JavaScript library used in Node.js applications to manage context and state in client-server interactions. It is designed to simplify the handling of contextual data across various components. However, this package has been identified to contain malicious code that can compromise the security of applications utilizing it.

Vulnerability Detail

The vulnerability stems from the inclusion of malicious code within the gate-context-client package. This code can potentially allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, posing a significant risk to any application that relies on this package.

How To Fix

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

npm uninstall gate-context-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

If an immediate update is not feasible, consider removing the gate-context-client package from your project and replacing it with an alternative library that offers similar functionality without the associated risks. Additionally, you can monitor your application for any suspicious activity until the package is updated.

Conclusion

The gate-context-client package has been identified as containing malicious code, posing a serious security threat to applications that utilize it. Immediate action is required to update or replace the package to mitigate potential risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for gate-context-client →

Share this vulnerability

FAQ

The gate-context-client package is a JavaScript library used for managing context and state in client-server applications.

The malicious code can potentially allow unauthorized access to sensitive data and execute arbitrary commands, posing a significant security risk.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Simply upload your package-lock.json file to Vulert's playground at Vulert Scanner to check for vulnerabilities.

Yes, you can remove the gate-context-client package and replace it with a safer alternative while monitoring your application for any suspicious activity.

Regularly check for updates in your dependencies and consider using tools like Vulert to receive real-time alerts for any vulnerabilities.

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 gate-context-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