Critical Malicious Code Vulnerability in rpc-validate Package

rpc-validate Updated 23 Dec 2025

Summary

23/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192749: Malicious code in rpc-validate (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 rpc-validate package is a Node.js library designed for validating RPC (Remote Procedure Call) parameters. It is commonly used in applications that require structured data validation to ensure that inputs conform to expected formats. However, this package has been found to contain malicious code that compromises the security of any system where it is installed.

Vulnerability Detail

The rpc-validate package has been identified as containing embedded malicious code, which poses a significant security risk. This vulnerability originated from a malicious actor who injected harmful code into the package, allowing unauthorized access to systems that utilize it. The ramifications of this vulnerability are severe, as it can lead to full system compromise, data breaches, and unauthorized control over the affected machines. Users are advised to treat any system with this package installed as fully compromised.

How To Fix

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

npm uninstall rpc-validate

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 rpc-validate package and ensuring that the system is secure. Users should also consider implementing additional security measures to monitor for any unauthorized access.

Conclusion

The rpc-validate package has been compromised with malicious code, posing a significant threat to any system utilizing it. Immediate removal of the package and rotation of sensitive information is necessary to mitigate the risks. Users are encouraged to utilize tools like Vulert for ongoing monitoring of open-source vulnerabilities.

See every vulnerability recorded for rpc-validate →

Share this vulnerability

FAQ

Immediately remove the rpc-validate package and rotate any secrets or keys stored on the affected system.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.

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

Failure to address this vulnerability can lead to full system compromise, data breaches, and unauthorized control over your systems.

While many npm packages are safe, it is essential to monitor for vulnerabilities and use tools like Vulert to stay informed about potential risks.

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 rpc-validate

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