Critical Malicious Code Vulnerability in protobufjs-protify-example Package
Summary
MAL-2025-5720: Malicious code in protobufjs-protify-example (npm). Affects protobufjs-protify-example versions >= 55.3.1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The protobufjs-protify-example package is an npm library designed to facilitate the use of Protocol Buffers in JavaScript applications. It allows developers to serialize structured data efficiently. However, this package has been identified to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of embedded malicious code within the protobufjs-protify-example package. This code can fully compromise any computer running the package, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications are severe, as attackers may gain complete control over the affected systems, leading to potential data breaches and loss of integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall protobufjs-protify-example
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 workaround, it is recommended to rotate all secrets and keys stored on the compromised computer from a different, secure machine. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The protobufjs-protify-example package contains a critical vulnerability due to embedded malicious code, posing significant risks to any system using it. Immediate action is required to remove the package and secure sensitive information. Regular monitoring for updates and using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for protobufjs-protify-example →
FAQ
The vulnerability involves embedded malicious code that compromises the security of any system using the package.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Immediately remove the protobufjs-protify-example package from your system and rotate any sensitive information stored on the affected machine.
Currently, there is no patched version available. It is essential to monitor the package for updates and apply them as soon as they are released.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.