Critical Malicious Code Vulnerability in @accordproject/concerto-analysis Package
Summary
MAL-2025-191171: Malicious code in @accordproject/concerto-analysis (npm). Affects @accordproject/concerto-analysis versions 3.24.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 @accordproject/concerto-analysis package is part of the Accord Project, which provides tools for smart legal contracts and related technologies. This package is designed to analyze Concerto models, enabling users to work with legal documents in a structured manner. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability stems from a malicious code injection in the @accordproject/concerto-analysis package, specifically version 3.24.1. This package was compromised by the Sha1-Hulud: The Second Coming NPM worm, which steals tokens and credentials, publishing them to GitHub. The worm can propagate itself to other NPM packages owned by the user and may also destroy the user's home directory. Any system running this package is considered fully compromised, necessitating immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @accordproject/concerto-analysis
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 workaround, it is recommended to avoid using the compromised package altogether until a secure version is released. Monitor your systems for any unauthorized access or changes, and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The @accordproject/concerto-analysis package has been compromised, posing serious security risks to users. Immediate action is required to remove the package and secure any sensitive information. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.
See every vulnerability recorded for @accordproject/concerto-analysis →
FAQ
Immediately uninstall the package and rotate any secrets or keys stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Failure to address this vulnerability could lead to unauthorized access to sensitive information, loss of data, and potential damage to your system.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review the code of third-party packages before installation.
The malicious code originated from the Sha1-Hulud: The Second Coming NPM worm, which targeted the @accordproject/concerto-analysis package.