Critical Malicious Code Vulnerability in googleapis-node Package

googleapis-node Updated 02 Oct 2025

Summary

22/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6164: Malicious code in googleapis-node (npm). Affects googleapis-node versions 0.0.0 – 1.0.1. 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 googleapis-node package is a widely used library in the Node.js ecosystem that provides access to Google APIs. It allows developers to integrate various Google services into their applications seamlessly. However, this package has been found to contain malicious code, posing a significant security risk to any system that has it installed.

Vulnerability Detail

The vulnerability stems from embedded malicious code within the googleapis-node package. This code can compromise the entire system where the package is installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that even after removal of the package, there is no guarantee that all traces of the malware will be eliminated, potentially leaving the system vulnerable to further attacks.

How To Fix

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

npm uninstall googleapis-node

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

Currently, the only effective workaround is to uninstall the googleapis-node package. You can do this by running the following command in your terminal: npm uninstall googleapis-node. After uninstalling, check for any remaining malicious components and take necessary actions to secure your system.

Conclusion

The googleapis-node package contains embedded malicious code that poses a severe security risk. Immediate action is required to uninstall the package and secure any compromised systems. Regular monitoring for vulnerabilities, such as using Vulert, can help prevent future incidents.

See every vulnerability recorded for googleapis-node →

Share this vulnerability

FAQ

The googleapis-node package is a library that allows developers to interact with various Google APIs in their Node.js applications.

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

You should immediately uninstall the googleapis-node package and rotate any secrets or keys stored on the affected system.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

While removing the package is essential, there is no guarantee that all malicious software will be removed. It is recommended to take additional security measures.

How To Fix

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

npm uninstall googleapis-node

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