Critical Malicious Code Vulnerability in @wxi-dev/serverless-tsc-config Package

Summary

02/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191536: Malicious code in @wxi-dev/serverless-tsc-config (npm). Affects @wxi-dev/serverless-tsc-config versions 1.0.0 – 1.0.5. 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 @wxi-dev/serverless-tsc-config package is an npm library designed to provide configuration settings for TypeScript projects in serverless environments. It aims to simplify the setup and management of TypeScript configurations, making it easier for developers to integrate TypeScript into their serverless applications. However, this package has been identified as containing malicious code, posing significant security risks to any system that has it installed.

Vulnerability Detail

The vulnerability originates from the presence of embedded malicious code within the @wxi-dev/serverless-tsc-config package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it could lead to full control of the affected system by an external entity. Users are advised to treat any system running this package as fully compromised.

How To Fix

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

npm uninstall @wxi-dev/serverless-tsc-config

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 and rotating any compromised secrets. Ensure that you do not run any applications that depend on this package until it has been completely removed.

Conclusion

The @wxi-dev/serverless-tsc-config package has been identified as containing malicious code, posing a significant security risk. Users must take immediate action to remove the package and secure their systems. Regular monitoring of dependencies using tools like Vulert can help prevent future vulnerabilities.

See every vulnerability recorded for @wxi-dev/serverless-tsc-config →

Share this vulnerability

FAQ

Immediately remove the package and rotate all secrets and keys stored on the affected system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.

Currently, there is no patched version available. The best course of action is to remove the package entirely.

Failure to address this vulnerability could lead to unauthorized access to sensitive information and complete control of your system by malicious actors.

It is advisable to review other packages from the same developer carefully and monitor them for any reported vulnerabilities before use.

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 @wxi-dev/serverless-tsc-config

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