Critical Security Breach in @voiceflow/pino-pretty: Malicious Code Detected

@voiceflow/pino-pretty Updated 25 Nov 2025

Summary

25/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191365: Malicious code in @voiceflow/pino-pretty (npm). Affects @voiceflow/pino-pretty versions 4.4.1 – 4.4.2. 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 @voiceflow/pino-pretty package is a popular utility in the Node.js ecosystem, designed to enhance the logging experience by providing pretty-printing capabilities for logs generated by the Pino logger. It is widely used in applications that require structured logging for better readability and debugging. However, this package has recently been compromised, exposing users to significant security risks.

Vulnerability Detail

The vulnerability originates from a malicious NPM worm known as Sha1-Hulud: The Second Coming, which has infected the @voiceflow/pino-pretty package. This worm is capable of stealing sensitive tokens and credentials from users' environments and publishing them to GitHub. Additionally, it can propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. The worm poses a severe threat as it may also delete the user's home directory, leading to potential data loss.

How To Fix

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

npm uninstall @voiceflow/pino-pretty

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

As a temporary workaround, users can remove the @voiceflow/pino-pretty package from their project until a secure version is confirmed. This can be done using the command: npm uninstall @voiceflow/pino-pretty. Additionally, users should review their environment for any unauthorized access or changes made by the worm.

Conclusion

The @voiceflow/pino-pretty package has been compromised by a malicious NPM worm, posing significant security risks to users. Immediate action is required to update or remove the package to protect sensitive information and maintain the integrity of your applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in the future.

See every vulnerability recorded for @voiceflow/pino-pretty →

Share this vulnerability

FAQ

Immediately uninstall the @voiceflow/pino-pretty package and check your environment for any unauthorized access or changes.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.

The worm can steal sensitive tokens and credentials, propagate to other packages, and potentially delete your home directory, leading to data loss and unauthorized access.

Regularly update your dependencies, monitor your packages for vulnerabilities using tools like Vulert, and review your code for any suspicious changes.

Detailed information can be found in the vulnerability report on GitHub and through security advisories related to the @voiceflow/pino-pretty package.

How To Fix

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

npm uninstall @voiceflow/pino-pretty

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