Critical Malicious Code Vulnerability in typescript-urql Package

typescript-urql Updated 13 Mar 2026

Summary

11/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1337: Malicious code in typescript-urql (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 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 typescript-urql package is a popular library used for building GraphQL applications in TypeScript. It provides a set of tools for managing GraphQL queries and state management in a TypeScript environment. However, this package has been identified to contain malicious code that compromises the security of any system it is installed on, making it crucial for users to be aware of this vulnerability.

Vulnerability Detail

The vulnerability originates from the presence of malicious code within the typescript-urql package, identified by the alias GHSA-g7m7-vfxq-49jh. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it may lead to data breaches and loss of control over the affected systems.

How To Fix

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

npm uninstall typescript-urql

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 are no effective workarounds for this vulnerability other than removing the package entirely. Users should ensure that they do not use any functionality provided by the typescript-urql package until it has been confirmed safe.

Conclusion

The typescript-urql package has been identified as containing malicious code that poses a significant security risk. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Continuous monitoring for vulnerabilities is recommended to maintain the integrity of your applications.

See every vulnerability recorded for typescript-urql →

Share this vulnerability

FAQ

typescript-urql is a library for building GraphQL applications in TypeScript, providing tools for query management and state handling.

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

No, there is currently no patched version of the typescript-urql package available. The only solution is to uninstall the package.

After uninstalling, rotate all secrets and keys stored on the affected computer from a secure machine to prevent unauthorized access.

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

How To Fix

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

npm uninstall typescript-urql

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