Critical Malicious Code Vulnerability in argonnode Package
Summary
MAL-2026-1656: Malicious code in argonnode (npm). Affects argonnode versions 2.4.5. 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 argonnode package is a Node.js library designed for cryptographic hashing, specifically implementing the Argon2 algorithm. It is widely used for secure password hashing and data protection in various applications. However, the package has been identified to contain malicious code that can compromise the security of applications relying on it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the argonnode package, specifically in version 2.4.5. This code can potentially allow unauthorized access to sensitive data or enable remote code execution, posing significant risks to applications using this package. The malicious code was reported by ReversingLabs and is documented in the Open Source Vulnerability database.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall argonnode
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 argonnode package from your project until a secure version is confirmed. Use the following command to uninstall the package: npm uninstall argonnode.
Conclusion
The argonnode package has been found to contain malicious code that poses significant security risks. It is crucial for developers using this package to update to the latest version or remove it from their projects to protect their applications from potential threats.
See every vulnerability recorded for argonnode →
FAQ
The argonnode package is used for implementing the Argon2 password hashing algorithm in Node.js applications.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
The risks include unauthorized access to sensitive data and potential remote code execution, which can compromise the integrity and security of your application.
Yes, updating to the latest version of the argonnode package will address the vulnerability. Use 'npm install argonnode@latest' to update.
If immediate updates are not possible, consider uninstalling the argonnode package as a temporary measure to mitigate risks.