Malicious Code Vulnerability in resethp Package
Summary
MAL-2025-192858: Malicious code in resethp (npm). Affects resethp versions 1.0.0 – 1.0.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 resethp package is a Node.js library designed for resetting HP printer settings. It provides users with a straightforward interface to manage printer configurations. However, this package has been identified as containing malicious code, which poses significant security risks to users and their systems.
Vulnerability Detail
The vulnerability in the resethp package stems from the inclusion of malicious code that can compromise user systems. This code can lead to unauthorized access, data theft, or system manipulation. The affected versions, 1.0.0 and 1.0.1, were flagged by security researchers from ReversingLabs, who discovered the malicious behavior during routine package audits. Users of this package are at risk of severe consequences if they do not take immediate action to mitigate the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall resethp
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 avoid using the resethp package and look for alternative libraries that provide similar functionality without the associated risks. Additionally, ensure that your environment is secure and monitor for any unusual activity.
Conclusion
The resethp package has been identified as containing malicious code, posing a significant threat to users. It is crucial to update to a patched version or remove the package entirely to safeguard your systems. Regular monitoring and using tools like Vulert can help maintain security in your applications.
See every vulnerability recorded for resethp →
FAQ
resethp is a Node.js library used for managing HP printer settings.
The affected versions are 1.0.0 and 1.0.1.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package, consider removing it from your project and using alternative libraries until a secure version is available.
The vulnerability was discovered by security researchers at ReversingLabs.