Malicious Code Vulnerability in chain-argon Package

chain-argon Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1686: Malicious code in chain-argon (npm). Affects chain-argon versions 2.4.5. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The chain-argon package is a Node.js library designed for cryptographic hashing using the Argon2 algorithm. It is commonly used for securely hashing passwords and other sensitive data. However, this package has been identified to contain malicious code that can compromise the integrity of applications relying on it, making it crucial for developers to be aware of this vulnerability.

Vulnerability Detail

The vulnerability in the chain-argon package stems from the inclusion of malicious code that can execute unauthorized actions within the application. This code can lead to data breaches, unauthorized access, and potential exploitation of the system. The malicious code was identified in version 2.4.5 of the package, and it is critical for users to understand the risks associated with using this compromised version.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall chain-argon

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 remove the chain-argon package from their project until a secure version is confirmed. This can be done using the command: 'npm uninstall chain-argon'. Alternatively, consider using a different hashing library that does not have known vulnerabilities.

Conclusion

The chain-argon package has been identified to contain malicious code that poses significant risks to applications using it. It is essential for developers to update to the latest version or consider alternative solutions to mitigate these risks. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for chain-argon →

Share this vulnerability

FAQ

The chain-argon package is used for cryptographic hashing, specifically for securely hashing passwords and sensitive data using the Argon2 algorithm.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

The risks include data breaches, unauthorized access to sensitive information, and potential exploitation of the system, which can lead to severe security incidents.

Regularly updating dependencies, using tools like Vulert for monitoring vulnerabilities, and conducting security audits can help prevent such issues.

If immediate updates are not possible, consider removing the package or using an alternative library until a secure version is available.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall chain-argon

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback