Malicious Code Detected in @modals/blockchain Package - Critical Vulnerability Alert
Summary
MAL-2026-2018: Malicious code in @modals/blockchain (npm). Affects @modals/blockchain versions 99999.0.0 – 99999.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 @modals/blockchain package is an npm library designed for blockchain-related functionalities. It is utilized in various applications to facilitate interactions with blockchain networks. However, this package has been flagged for malicious behavior, raising significant security concerns for developers and users relying on its functionality.
Vulnerability Detail
The vulnerability originates from the @modals/blockchain package version 99999.0.1, which has been identified as malicious by the OpenSSF Package Analysis project. This package communicates with a domain known for malicious activities and executes commands that are associated with harmful behavior. The ramifications of using this package include potential data breaches, unauthorized access to sensitive information, and compromise of the host application.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @modals/blockchain
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 avoid using the @modals/blockchain package altogether and explore alternative libraries that provide similar functionalities without the associated risks. Review your application's dependencies and remove any references to this package.
Conclusion
The @modals/blockchain package has been identified as malicious, posing significant risks to applications that utilize it. Developers are urged to remove this package and seek alternatives to safeguard their applications. Continuous monitoring and timely updates are crucial in maintaining application security.
See every vulnerability recorded for @modals/blockchain →
FAQ
The package communicates with a domain linked to malicious activities and executes harmful commands.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Immediately remove the @modals/blockchain package from your project and consider using a secure alternative.
Yes, there are several other npm packages available that offer similar blockchain functionalities without the associated risks. Research and select a reputable package.
Regularly check for updates in your dependencies and utilize tools like Vulert to monitor for vulnerabilities in real-time.