Malicious Code Detected in npmdeco Package: Version 5.188.1 Compromised
Summary
MAL-2025-5983: Malicious code in npmdeco (npm). Affects npmdeco versions 5.188.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
npmdeco is an npm package designed for enhancing the functionality of Node.js applications. It provides various utilities for developers, making it easier to manage dependencies and streamline workflows. However, version 5.188.1 of npmdeco has been identified as malicious, posing significant risks to users who have integrated it into their projects.
Vulnerability Detail
The vulnerability stems from the malicious behavior exhibited by the npmdeco package version 5.188.1. It has been reported that this version communicates with a domain associated with malicious activities, potentially leading to data breaches, unauthorized access, or other security incidents. This behavior raises serious concerns about the integrity and security of applications utilizing this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall npmdeco
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
If you cannot immediately update the package, consider removing npmdeco from your project and replacing it with an alternative package that provides similar functionality without the associated risks. Review your package-lock.json file to ensure that no vulnerable versions are present.
Conclusion
The npmdeco package version 5.188.1 has been identified as malicious, posing significant risks to users. It is essential to update to a secure version or remove the package entirely to protect your applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for npmdeco →
FAQ
The vulnerability involves malicious code that communicates with a domain linked to harmful activities, jeopardizing application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without needing to sign up.
As a temporary measure, consider removing npmdeco from your project and using an alternative package until you can safely update.
Always check the official npm repository or the package's GitHub page for release notes and security advisories before updating.
Using the compromised version may lead to data breaches, unauthorized access to sensitive information, and other security vulnerabilities in your application.