Malicious Code Injection in cat-sudo-node-decrypt-analyze Package
Summary
MAL-2025-186033: Malicious code in cat-sudo-node-decrypt-analyze (npm). Affected versions are not published. 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 cat-sudo-node-decrypt-analyze package is part of the npm ecosystem, typically used for decrypting and analyzing data in Node.js applications. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts designed to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the cat-sudo-node-decrypt-analyze package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of variants. The ramifications include potential exposure of sensitive data, pollution of the npm registry, and a compromised development environment, making it critical for developers to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cat-sudo-node-decrypt-analyze
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, you can remove the affected package from your project by executing the following command: npm uninstall cat-sudo-node-decrypt-analyze. This will prevent any malicious code from executing while you seek a safer alternative.
Conclusion
The cat-sudo-node-decrypt-analyze package has been identified as containing malicious code that can compromise your application. It is essential to take immediate action by updating or removing the package to safeguard your development environment and maintain the integrity of your projects.
See every vulnerability recorded for cat-sudo-node-decrypt-analyze →
FAQ
It is an npm package used for decrypting and analyzing data in Node.js applications, but it has been compromised with malicious code.
The malicious code can alter your package metadata, potentially exposing sensitive information and affecting the integrity of your application.
You should uninstall the package immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.